Skip to main content

Update-CloudPCOrganizationSetting

Updates Windows 365 Cloud PC organization settings.

Description

Calls Microsoft Graph beta https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/organizationSettings to update tenant-wide Cloud PC organization settings.

Only supplied parameters are sent in the PATCH body. Use -WhatIf to preview changes before updating tenant defaults.

Syntax


Update-CloudPCOrganizationSetting [[-OsVersion] <string>] [[-UserAccountType] <string>] [[-EnableMEMAutoEnroll] <bool>] [[-EnableSingleSignOn] <bool>] [[-WindowsLanguage] <string>] [-Force] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters

NameTypeRequiredAliasesDescription
EnableMEMAutoEnrollBooleanNoWhether new Cloud PCs should automatically enroll in Microsoft Endpoint Manager.
EnableSingleSignOnBooleanNoWhether new Cloud PCs support single sign-on.
ForceSwitchParameterNoSuppress confirmation prompts. Equivalent to -Confirm:$false.
OsVersionStringNoDefault operating system version for new Cloud PCs: windows10 or windows11.
PassThruSwitchParameterNoEmit a WindowsCloudPC.OrganizationSettingUpdateResult object describing the request.
UserAccountTypeStringNoDefault user account type for new Cloud PCs: standardUser or administrator.
WindowsLanguageStringNoWindows language to apply while creating Cloud PCs, such as en-US.

Output

Status : Accepted
RequestedAt : 6/19/2026 3:30:00 PM
Body : {[@odata.type, #microsoft.graph.cloudPcOrganizationSettings], [osVersion, windows11], [userAccountType, standardUser]}
ErrorMessage :

Graph endpoints

/beta/deviceManagement/virtualEndpoint/organizationSettings

Example 1

Update-CloudPCOrganizationSetting -EnableSingleSignOn $true -WhatIf

Example 2

Update-CloudPCOrganizationSetting -OsVersion windows11 -UserAccountType standardUser -WindowsLanguage en-US -Force -PassThru

Source

View Update-CloudPCOrganizationSetting.ps1 on GitHub