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

PHONESYSTEM_VIRTUALUSER_GOVMicrosoft Teams Phone Resource Account for GCC

PHONESYSTEM_VIRTUALUSER_GOV is the SKU part number Microsoft uses for Microsoft Teams Phone Resource Account for GCC. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameMicrosoft Teams Phone Resource Account for GCC
String ID (SkuPartNumber)PHONESYSTEM_VIRTUALUSER_GOV
GUID (SkuId)2cf22bcb-0c9e-4bc6-8daf-7e7654c0f285
Service plans1

Service plans included (1)

Service planNameID
MCOEV_VIRTUALUSER_GOVMicrosoft 365 Phone Standard Resource Account for Government0628a73f-3b4a-4989-bd7b-0f8823144313

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "PHONESYSTEM_VIRTUALUSER_GOV" |
    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 = "2cf22bcb-0c9e-4bc6-8daf-7e7654c0f285" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 2cf22bcb-0c9e-4bc6-8daf-7e7654c0f285)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Search all 620 SKUs →