Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 502 Bytes

File metadata and controls

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

const client = Client.init(options);

const targetDeviceGroup = {
  '@odata.type': '#microsoft.graph.targetDeviceGroup',
  id: 'b9e4eae4-b781-45a1-ce65-f2dd8ac3b696',
  displayName: 'Device Group A'
};

await client.api('/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/targetDeviceGroups')
	.version('beta')
	.post(targetDeviceGroup);