Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 433 Bytes

File metadata and controls

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

const client = Client.init(options);

const user = {
  '@odata.type': '#microsoft.graph.agentUser',
  accountEnabled: true,
  displayName: 'Adele Vance',
  mailNickname: 'AdeleV',
  userPrincipalName: 'AdeleV@contoso.com',
  identityParentId: ''
};

await client.api('/users')
	.version('beta')
	.post(user);