Skip to main content

Permissions

WindowsCloudPC uses delegated Microsoft Graph scopes. Connect-CloudPC handles the read scopes most commands need, and write-action commands request additional scopes only when required.

Default scopes

  • CloudPC.Read.All
  • DeviceManagementManagedDevices.Read.All
  • User.Read.All
  • Group.Read.All

These cover Cloud PC inventory, assigned users, provisioning policies, groups, regions, settings, usage reporting, launch details, snapshots, and remote action history.

On-demand scopes

ScopeUsed by
CloudPC.ReadWrite.AllStart-CloudPC, Restart-CloudPC, Invoke-CloudPCReprovision, Invoke-CloudPCPolicyReprovision, New-CloudPCSnapshot
DeviceManagementManagedDevices.PrivilegedOperations.AllSync-CloudPC, Reset-CloudPCLocalAdminPassword
CloudLicensing.ReadGet-CloudPCLicensingAllotment

Command scope guide

AreaCommandsTypical scopes
ConnectConnect-CloudPCRead scopes listed above
InventoryGet-CloudPC, Get-CloudPCByProvisioningPolicy, Get-CloudPCProvisioningPolicy, Get-CloudPCSupportedRegion, Get-CloudPCSettingProfile, Get-CloudPCUserSettingCloudPC.Read.All, plus user and group read scopes
Usage and actionsGet-CloudPCUsage, Get-CloudPCConnectivityHistory, Get-CloudPCLaunchDetail, Get-CloudPCRemoteActionResultCloudPC.Read.All, DeviceManagementManagedDevices.Read.All
SnapshotsGet-CloudPCSnapshot, New-CloudPCSnapshotRead for viewing, CloudPC.ReadWrite.All for creating
Power and provisioning actionsStart-CloudPC, Restart-CloudPC, Invoke-CloudPCReprovision, Invoke-CloudPCPolicyReprovisionCloudPC.ReadWrite.All
Managed device actionsSync-CloudPC, Reset-CloudPCLocalAdminPasswordDeviceManagementManagedDevices.PrivilegedOperations.All
LicensingGet-CloudPCLicensingAllotmentCloudLicensing.Read

Some tenants require administrator consent before delegated Graph scopes can be used. If a command fails with a consent error, have an administrator approve the requested scopes for the Microsoft Graph PowerShell application or connect with an account that can grant consent.

Least privilege notes

  • Read-only inventory commands do not require CloudPC.ReadWrite.All.
  • Write commands support -WhatIf where practical so you can preview targets before making a change.
  • Fleet-wide commands should be paired with filters, policy IDs, user scoping, or explicit exclusions when possible.