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

MCOPSTN2Skype for Business PSTN Domestic and International Calling

MCOPSTN2 is the SKU part number Microsoft uses for Skype for Business PSTN Domestic and International Calling. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameSkype for Business PSTN Domestic and International Calling
String ID (SkuPartNumber)MCOPSTN2
GUID (SkuId)d3b4fe1f-9992-4930-8acb-ca6ec609365e
Service plans2

Service plans included (2)

Service planNameID
MCOPSTN2DOMESTIC AND INTERNATIONAL CALLING PLAN5a10155d-f5c1-411a-a8ec-e99aae125390
MCOSMS2DOMESTIC AND INTERNATIONAL CALLING PLANd4009785-b899-4cab-97b6-d06a7c799507

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "MCOPSTN2" |
    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 = "d3b4fe1f-9992-4930-8acb-ca6ec609365e" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq d3b4fe1f-9992-4930-8acb-ca6ec609365e)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Search all 620 SKUs →