← cd ~/licences
// licences · sku
VISIOCLIENT_GOVVisio Plan 2 for GCC
VISIOCLIENT_GOV is the SKU part number Microsoft uses for Visio Plan 2 for GCC. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Visio Plan 2 for GCC |
|---|---|
| String ID (SkuPartNumber) | VISIOCLIENT_GOV |
| GUID (SkuId) | 4ae99959-6b0f-43b0-b1ce-68146001bdba |
| Service plans | 4 |
Service plans included (4)
| Service plan | Name | ID |
|---|---|---|
EXCHANGE_S_FOUNDATION_GOV | EXCHANGE FOUNDATION FOR GOVERNMENT | 922ba911-5694-4e99-a794-73aed9bfeec8 |
ONEDRIVE_BASIC_GOV | ONEDRIVE FOR BUSINESS BASIC FOR GOVERNMENT | 98709c2e-96b5-4244-95f5-a0ebe139fb8a |
VISIO_CLIENT_SUBSCRIPTION_GOV | VISIO DESKTOP APP FOR Government | f85945f4-7a55-4009-bc39-6a5f14a8eac1 |
VISIOONLINE_GOV | VISIO WEB APP FOR GOVERNMENT | 8a9ecb07-cfc0-48ab-866c-f83c4d911576 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "VISIOCLIENT_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 = "4ae99959-6b0f-43b0-b1ce-68146001bdba" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 4ae99959-6b0f-43b0-b1ce-68146001bdba)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName