← cd ~/licences
// licences · sku
EXCHANGEENTERPRISE_GOVExchange Online (Plan 2) for GCC
EXCHANGEENTERPRISE_GOV is the SKU part number Microsoft uses for Exchange Online (Plan 2) for GCC. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Exchange Online (Plan 2) for GCC |
|---|---|
| String ID (SkuPartNumber) | EXCHANGEENTERPRISE_GOV |
| GUID (SkuId) | 7be8dc28-4da4-4e6d-b9b9-c60f2806df8a |
| Service plans | 2 |
Service plans included (2)
| Service plan | Name | ID |
|---|---|---|
EXCHANGE_S_ENTERPRISE_GOV | Exchange Online (Plan 2) for Government | 8c3069c0-ccdb-44be-ab77-986203a67df2 |
INTUNE_O365 | Mobile Device Management for Office 365 | 882e1d05-acd1-4ccb-8708-6ee03664b117 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "EXCHANGEENTERPRISE_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 = "7be8dc28-4da4-4e6d-b9b9-c60f2806df8a" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 7be8dc28-4da4-4e6d-b9b9-c60f2806df8a)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalNameSimilar licences
These share the most service plans with EXCHANGEENTERPRISE_GOV.
EXCHANGESTANDARD_GOVExchange Online (Plan 1) for GCC · 33% overlap