← cd ~/licences
// licences · sku
MCOPSTN5Skype for Business PSTN Calling Domestic Small
MCOPSTN5 is the SKU part number Microsoft uses for Skype for Business PSTN Calling Domestic Small. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Skype for Business PSTN Calling Domestic Small |
|---|---|
| String ID (SkuPartNumber) | MCOPSTN5 |
| GUID (SkuId) | d43177b5-475b-4880-92d4-d54c27b5efbd |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
SkypeforBusinessPSTNCallingDomesticSmall | Skype for Business PSTN Calling Domestic Small | 9a0125a5-c8f8-4526-b231-49e2abe0ebce |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "MCOPSTN5" |
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 = "d43177b5-475b-4880-92d4-d54c27b5efbd" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq d43177b5-475b-4880-92d4-d54c27b5efbd)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName