← cd ~/licences
// licences · sku
ATAMicrosoft Defender for Identity
ATA is the SKU part number Microsoft uses for Microsoft Defender for Identity. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Microsoft Defender for Identity |
|---|---|
| String ID (SkuPartNumber) | ATA |
| GUID (SkuId) | 98defdf7-f6c1-44f5-a1f6-943b6764e7a5 |
| Service plans | 3 |
Service plans included (3)
| Service plan | Name | ID |
|---|---|---|
EXCHANGE_S_FOUNDATION | Exchange Foundation | 113feb6c-3fe4-4440-bddc-54d774bf0318 |
ATA | Microsoft Defender for Identity | 14ab5db5-e6c4-4b20-b4bc-13e36fd2227f |
ADALLOM_FOR_AATP | SecOps Investigation for MDI | 61d18b02-6889-479f-8f36-56e6e0fe5792 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "ATA" |
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 = "98defdf7-f6c1-44f5-a1f6-943b6764e7a5" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 98defdf7-f6c1-44f5-a1f6-943b6764e7a5)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName