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

WIN_DEF_ATPMicrosoft Defender for Endpoint

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

Product nameMicrosoft Defender for Endpoint
String ID (SkuPartNumber)WIN_DEF_ATP
GUID (SkuId)111046dd-295b-4d6d-9724-d52ac90bd1f2
Service plans2

Service plans included (2)

Service planNameID
EXCHANGE_S_FOUNDATIONExchange Foundation113feb6c-3fe4-4440-bddc-54d774bf0318
WINDEFATPMICROSOFT DEFENDER FOR ENDPOINT871d91ec-ec1a-452b-a83f-bd76c7d770ef

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "WIN_DEF_ATP" |
    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 = "111046dd-295b-4d6d-9724-d52ac90bd1f2" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 111046dd-295b-4d6d-9724-d52ac90bd1f2)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Similar licences

These share the most service plans with WIN_DEF_ATP.

Search all 620 SKUs →