← cd ~/licences
// licences · sku
EXCHANGEARCHIVE_ADDONExchange Online Archiving for Exchange Online
EXCHANGEARCHIVE_ADDON is the SKU part number Microsoft uses for Exchange Online Archiving for Exchange Online. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Exchange Online Archiving for Exchange Online |
|---|---|
| String ID (SkuPartNumber) | EXCHANGEARCHIVE_ADDON |
| GUID (SkuId) | ee02fd1b-340e-4a4b-b355-4a514e4c8943 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
EXCHANGE_S_ARCHIVE_ADDON | EXCHANGE ONLINE ARCHIVING FOR EXCHANGE ONLINE | 176a09a6-7ec5-4039-ac02-b2791c6ba793 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "EXCHANGEARCHIVE_ADDON" |
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 = "ee02fd1b-340e-4a4b-b355-4a514e4c8943" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq ee02fd1b-340e-4a4b-b355-4a514e4c8943)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName