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

EXCHANGEENTERPRISEExchange Online (PLAN 2)

EXCHANGEENTERPRISE is the SKU part number Microsoft uses for Exchange Online (PLAN 2). You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameExchange Online (PLAN 2)
String ID (SkuPartNumber)EXCHANGEENTERPRISE
GUID (SkuId)19ec0d23-8335-4cbd-94ac-6050e30712fa
Service plans1

Service plans included (1)

Service planNameID
EXCHANGE_S_ENTERPRISEEXCHANGE ONLINE (PLAN 2)efb87545-963c-4e0d-99df-69c6916d9eb0

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "EXCHANGEENTERPRISE" |
    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 = "19ec0d23-8335-4cbd-94ac-6050e30712fa" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 19ec0d23-8335-4cbd-94ac-6050e30712fa)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Search all 620 SKUs →