Licence SKU
MCOPSTNPPSkype for Business PSTN Usage Calling Plan
MCOPSTNPP is the SKU part number Microsoft uses for Skype for Business PSTN Usage Calling Plan. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Skype for Business PSTN Usage Calling Plan |
|---|---|
| String ID (SkuPartNumber) | MCOPSTNPP |
| GUID (SkuId) | 06b48c5f-01d9-4b18-9015-03b52040f51a |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
MCOPSTN3 | MCOPSTN3 | 6b340437-d6f9-4dc5-8cc2-99163f7f83d6 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "MCOPSTNPP" |
Select-Object SkuPartNumber, ConsumedUnits, @{ n = "Purchased"; e = { $_.PrepaidUnits.Enabled } }What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads subscribed sku details from Microsoft Graph.
- 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.
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
-AddLicenses @{ SkuId = "06b48c5f-01d9-4b18-9015-03b52040f51a" } -RemoveLicenses @()What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Changes a user license in Microsoft Graph. Makes a change.
Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 06b48c5f-01d9-4b18-9015-03b52040f51a)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalNameWhat each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads user details from Microsoft Graph.
- Line 4: Keeps only the properties listed, so the output stays small.
Spotted something out of date or wrong? Tell us and we'll fix it.