azureblog.co.uk
← cd ~/licences
// licences · sku

RIGHTSMANAGEMENT_ADHOCRights Management Adhoc

RIGHTSMANAGEMENT_ADHOC is the SKU part number Microsoft uses for Rights Management Adhoc. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameRights Management Adhoc
String ID (SkuPartNumber)RIGHTSMANAGEMENT_ADHOC
GUID (SkuId)8c4ce438-32a7-4ac5-91a6-e22ae08d9c8b
Service plans2

Service plans included (2)

Service planNameID
EXCHANGE_S_FOUNDATIONExchange Foundation113feb6c-3fe4-4440-bddc-54d774bf0318
RMS_S_ADHOCRights Management Adhoc7a39d7dd-e456-4e09-842a-0204ee08187b

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "RIGHTSMANAGEMENT_ADHOC" |
    Select-Object SkuPartNumber, ConsumedUnits, @{ n = "Purchased"; e = { $_.PrepaidUnits.Enabled } }

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 lines
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
    -AddLicenses @{ SkuId = "8c4ce438-32a7-4ac5-91a6-e22ae08d9c8b" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 8c4ce438-32a7-4ac5-91a6-e22ae08d9c8b)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Similar licences

These share the most service plans with RIGHTSMANAGEMENT_ADHOC.

Search all 620 SKUs →