Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 538 Bytes

File metadata and controls

27 lines (21 loc) · 538 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const cloudPcOrganizationSettings = {
  '@odata.type': '#microsoft.graph.cloudPcOrganizationSettings',
  enableMEMAutoEnroll: true,
  osVersion: 'windows11',
  userAccountType: 'standardUser',
  windowsSettings: {
    language: 'en-US'
  }
};

await client.api('/deviceManagement/virtualEndpoint/organizationSettings')
	.version('beta')
	.update(cloudPcOrganizationSettings);