Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 593 Bytes

File metadata and controls

29 lines (23 loc) · 593 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const appRoleAssignment = {
  '@odata.type': '#microsoft.graph.appRoleAssignment',
  deletedDateTime: 'String (timestamp)',
  appRoleId: 'Guid',
  creationTimestamp: 'String (timestamp)',
  principalDisplayName: 'String',
  principalId: 'Guid',
  principalType: 'String',
  resourceDisplayName: 'String',
  resourceId: 'Guid'
};

await client.api('/users/{usersId}/appRoleAssignments')
	.version('beta')
	.post(appRoleAssignment);