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

MDATP_XPLATMicrosoft Defender for Endpoint P2_XPLAT

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

Product nameMicrosoft Defender for Endpoint P2_XPLAT
String ID (SkuPartNumber)MDATP_XPLAT
GUID (SkuId)b126b073-72db-4a9d-87a4-b17afe41d4ab
Service plans3

Service plans included (3)

Service planNameID
EXCHANGE_S_FOUNDATIONExchange Foundation113feb6c-3fe4-4440-bddc-54d774bf0318
Intune_DefenderMDE_SecurityManagement1689aade-3d6a-4bfc-b017-46d2672df5ad
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 "MDATP_XPLAT" |
    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 = "b126b073-72db-4a9d-87a4-b17afe41d4ab" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq b126b073-72db-4a9d-87a4-b17afe41d4ab)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Similar licences

These share the most service plans with MDATP_XPLAT.

Search all 620 SKUs →