← cd ~/licences
// licences · sku
MCOSTANDARDSkype for Business Online (Plan 2)
MCOSTANDARD is the SKU part number Microsoft uses for Skype for Business Online (Plan 2). You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Skype for Business Online (Plan 2) |
|---|---|
| String ID (SkuPartNumber) | MCOSTANDARD |
| GUID (SkuId) | d42c793f-6c78-4f43-92ca-e8f6a02b035f |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
MCOSTANDARD | SKYPE FOR BUSINESS ONLINE (PLAN 2) | 0feaeb32-d00e-4d66-bd5a-43b5b83db82c |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "MCOSTANDARD" |
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 = "d42c793f-6c78-4f43-92ca-e8f6a02b035f" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq d42c793f-6c78-4f43-92ca-e8f6a02b035f)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName