Licence SKU
MDATP_ServerMicrosoft Defender for Endpoint Server
MDATP_Server is the SKU part number Microsoft uses for Microsoft Defender for Endpoint Server. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Microsoft Defender for Endpoint Server |
|---|---|
| String ID (SkuPartNumber) | MDATP_Server |
| GUID (SkuId) | 509e8ab6-0274-4cda-bcbd-bd164fd562c4 |
| Service plans | 2 |
Service plans included (2)
| Service plan | Name | ID |
|---|---|---|
WINDEFATP | Microsoft Defender for Endpoint | 871d91ec-ec1a-452b-a83f-bd76c7d770ef |
EXCHANGE_S_FOUNDATION | Exchange Foundation | 113feb6c-3fe4-4440-bddc-54d774bf0318 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "MDATP_Server" |
Select-Object SkuPartNumber, ConsumedUnits, @{ n = "Purchased"; e = { $_.PrepaidUnits.Enabled } }What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads subscribed sku details from Microsoft Graph.
- Line 3: Keeps only the properties listed, so the output stays small.
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 = "509e8ab6-0274-4cda-bcbd-bd164fd562c4" } -RemoveLicenses @()What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Changes a user license in Microsoft Graph. Makes a change.
Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 509e8ab6-0274-4cda-bcbd-bd164fd562c4)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalNameWhat each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads user details from Microsoft Graph.
- Line 4: Keeps only the properties listed, so the output stays small.
Similar licences
These share the most service plans with MDATP_Server.
WIN_DEF_ATPMicrosoft Defender for Endpoint · 100% overlapMDATP_XPLATMicrosoft Defender for Endpoint P2_XPLAT · 67% overlapMicrosoft_Defender_for_Endpoint_F2Microsoft Defender for Endpoint F2 · 50% overlapWIN10_ENT_A5_FACWindows 10/11 Enterprise A5 for faculty · 40% overlapCDSAICAPACITYAI Builder Capacity add-on · 33% overlapSPZA_IWApp Connect IW · 33% overlapCDS_FILE_CAPACITYCommon Data Service for Apps File Capacity · 33% overlapCDS_DB_CAPACITYCommon Data Service Database Capacity · 33% overlap
Spotted something out of date or wrong? Tell us and we'll fix it.