azureblog.co.uk
Licence SKU

Compliance_Program_for_Microsoft_CloudCompliance Program for Microsoft Cloud

Compliance_Program_for_Microsoft_Cloud is the SKU part number Microsoft uses for Compliance Program for Microsoft Cloud. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameCompliance Program for Microsoft Cloud
String ID (SkuPartNumber)Compliance_Program_for_Microsoft_Cloud
GUID (SkuId)10dd46b2-c5ad-4de3-865c-a6fa1363fb51
Service plans1

Service plans included (1)

Service planNameID
CPMCCompliance Program for Microsoft Cloud1265e154-5544-4197-bba1-03ef69c3b180

Is it in your tenant?

powershell3 lineshover a line number for notes
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "Compliance_Program_for_Microsoft_Cloud" |
    Select-Object SkuPartNumber, ConsumedUnits, @{ n = "Purchased"; e = { $_.PrepaidUnits.Enabled } }
What each line does
  1. Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
  2. Line 2: Reads subscribed sku details from Microsoft Graph.
  3. Line 3: Keeps only the properties listed, so the output stays small.

Assign it to a user

For more than a handful of people, use group-based licensing instead. The user needs a usage location set first.

powershell3 lines1 changes something · hover a line number for notes
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
    -AddLicenses @{ SkuId = "10dd46b2-c5ad-4de3-865c-a6fa1363fb51" } -RemoveLicenses @()
What each line does
  1. Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
  2. Line 2: Changes a user license in Microsoft Graph. Makes a change.

Who has it?

powershell4 lineshover a line number for notes
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 10dd46b2-c5ad-4de3-865c-a6fa1363fb51)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName
What each line does
  1. Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
  2. Line 2: Reads user details from Microsoft Graph.
  3. Line 4: Keeps only the properties listed, so the output stays small.

Search all 620 SKUs →

Spotted something out of date or wrong? Tell us and we'll fix it.