← 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 name | Microsoft Teams Phone Resource Account for GCC |
|---|---|
| String ID (SkuPartNumber) | PHONESYSTEM_VIRTUALUSER_GOV |
| GUID (SkuId) | 2cf22bcb-0c9e-4bc6-8daf-7e7654c0f285 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
MCOEV_VIRTUALUSER_GOV | Microsoft 365 Phone Standard Resource Account for Government | 0628a73f-3b4a-4989-bd7b-0f8823144313 |
Is it in your tenant?
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.
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
-AddLicenses @{ SkuId = "2cf22bcb-0c9e-4bc6-8daf-7e7654c0f285" } -RemoveLicenses @()Who has it?
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