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

IT_ACADEMY_ADMicrosoft Imagine Academy

IT_ACADEMY_AD is the SKU part number Microsoft uses for Microsoft Imagine Academy. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameMicrosoft Imagine Academy
String ID (SkuPartNumber)IT_ACADEMY_AD
GUID (SkuId)ba9a34de-4489-469d-879c-0f0f145321cd
Service plans1

Service plans included (1)

Service planNameID
IT_ACADEMY_ADMS IMAGINE ACADEMYd736def0-1fde-43f0-a5be-e3f8b2de6e41

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "IT_ACADEMY_AD" |
    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 = "ba9a34de-4489-469d-879c-0f0f145321cd" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq ba9a34de-4489-469d-879c-0f0f145321cd)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Search all 620 SKUs →