Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 539 Bytes

File metadata and controls

26 lines (20 loc) · 539 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const sharePointGroupMember = {
  '@odata.type': '#microsoft.graph.sharePointGroupMember',
  identity: {
    user: {
      userPrincipalName: 'john.smith@contoso.com'
    }
  }
};

await client.api('/storage/fileStorage/containers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/sharePointGroups/10/members')
	.version('beta')
	.post(sharePointGroupMember);