← 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 name | Microsoft Imagine Academy |
|---|---|
| String ID (SkuPartNumber) | IT_ACADEMY_AD |
| GUID (SkuId) | ba9a34de-4489-469d-879c-0f0f145321cd |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
IT_ACADEMY_AD | MS IMAGINE ACADEMY | d736def0-1fde-43f0-a5be-e3f8b2de6e41 |
Is it in your tenant?
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.
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
-AddLicenses @{ SkuId = "ba9a34de-4489-469d-879c-0f0f145321cd" } -RemoveLicenses @()Who has it?
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