Listen to this Post
Microsoft Defender for Endpoint (MDE) is a critical component of modern enterprise security, but licensing can be complex, especially in mixed-mode environments. This article explores key considerations for staying compliant while leveraging MDE’s capabilities.
🔗 Reference: Microsoft Defender for Endpoint Licensing Guide
What You Should Know:
1. Mixed Mode vs. Dedicated Licensing
- Mixed Mode: Allows combining per-user and per-device licensing.
- Dedicated Mode: Requires consistent licensing (all users or all devices).
Verify Licensing Status (PowerShell):
Get-MsolAccountSku | Where-Object {$_.SkuPartNumber -eq "DEFENDERENDPTP"}
2. Compliance Checks
- Audit license assignments with:
Get-MsolUser -All | Where-Object {($_.Licenses).AccountSkuId -match "DEFENDERENDPTP"} - For shared devices (e.g., AVD hosts), ensure per-device licensing:
Get-MsolDevice -All | Where-Object {$_.IsLicensed -eq $true}
3. Automating Compliance
Use Microsoft Graph API to monitor licensing:
curl -X GET "https://graph.microsoft.com/v1.0/subscribedSkus" -H "Authorization: Bearer <token>"
4. Linux & Windows Defender Commands
- Check Defender Status (Linux):
mdatp health
- Onboard Linux Devices:
sudo apt install mdatp && sudo mdatp onboarding --passive
- Windows Defender Scan:
Start-MpScan -ScanType FullScan
What Undercode Say:
Mixed-mode licensing in Defender for Endpoint demands vigilance. Misconfigurations can lead to compliance risks or security gaps. Regularly audit licenses, automate checks, and enforce per-device policies for shared systems. For Linux, integrate `mdatp` into your monitoring pipeline. Always cross-validate licensing with Microsoft’s official docs.
Expected Output:
- PowerShell/MSOL outputs for license verification.
- Graph API JSON responses for license auditing.
- Linux `mdatp` health checks for endpoint status.
References:
Reported By: Shehanperera85 Microsoftsecurity – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅



