← cd ~/licences
// licences · sku
MCOPSTNCCommunications Credits
MCOPSTNC is the SKU part number Microsoft uses for Communications Credits. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Communications Credits |
|---|---|
| String ID (SkuPartNumber) | MCOPSTNC |
| GUID (SkuId) | 47794cd0-f0e5-45c5-9033-2eb6b5fc84e0 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
MCOPSTNC | COMMUNICATIONS CREDITS | 505e180f-f7e0-4b65-91d4-00d670bbd18c |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "MCOPSTNC" |
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.
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
-AddLicenses @{ SkuId = "47794cd0-f0e5-45c5-9033-2eb6b5fc84e0" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 47794cd0-f0e5-45c5-9033-2eb6b5fc84e0)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName