← cd ~/licences
// licences · sku
AAD_BASICMicrosoft Entra Basic
AAD_BASIC is the SKU part number Microsoft uses for Microsoft Entra Basic. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Microsoft Entra Basic |
|---|---|
| String ID (SkuPartNumber) | AAD_BASIC |
| GUID (SkuId) | 2b9c8e7c-319c-43a2-a2a0-48c5c6161de7 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
AAD_BASIC | Microsoft Entra BASIC | c4da7f8a-5ee2-4c99-a7e1-87d2df57f6fe |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "AAD_BASIC" |
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 = "2b9c8e7c-319c-43a2-a2a0-48c5c6161de7" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 2b9c8e7c-319c-43a2-a2a0-48c5c6161de7)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName