← cd ~/licences
// licences · sku
MDE_SMBMicrosoft Defender for Business
MDE_SMB is the SKU part number Microsoft uses for Microsoft Defender for Business. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Microsoft Defender for Business |
|---|---|
| String ID (SkuPartNumber) | MDE_SMB |
| GUID (SkuId) | 5e1e7702-a2b7-4360-8d07-2f515792896f |
| Service plans | 4 |
Service plans included (4)
| Service plan | Name | ID |
|---|---|---|
Intune_Defender | MDE_SecurityManagement | 1689aade-3d6a-4bfc-b017-46d2672df5ad |
M365_LIGHTHOUSE_CUSTOMER_PLAN1 | Microsoft 365 Lighthouse (Plan 1) | 6f23d6a9-adbf-481c-8538-b4c095654487 |
M365_LIGHTHOUSE_PARTNER_PLAN1 | Microsoft 365 Lighthouse (Plan 2) | d55411c9-cfff-40a9-87c7-240f14df7da5 |
MDE_SMB | Microsoft Defender for Business | bfc1bbd9-981b-4f71-9b82-17c35fd0e2a4 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "MDE_SMB" |
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 = "5e1e7702-a2b7-4360-8d07-2f515792896f" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 5e1e7702-a2b7-4360-8d07-2f515792896f)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalNameSimilar licences
These share the most service plans with MDE_SMB.
Microsoft365_LighthouseMicrosoft 365 Lighthouse · 50% overlapCPC_B_1C_2RAM_64GBWindows 365 Business 1 vCPU 2 GB 64 GB · 33% overlapCPC_B_2C_4RAM_128GBWindows 365 Business 2 vCPU 4 GB 128 GB · 33% overlapCPC_B_2C_4RAM_256GBWindows 365 Business 2 vCPU 4 GB 256 GB · 33% overlapCPC_B_2C_4RAM_64GBWindows 365 Business 2 vCPU 4 GB 64 GB · 33% overlapCPC_B_2C_8RAM_128GBWindows 365 Business 2 vCPU 8 GB 128 GB · 33% overlapCPC_B_2C_8RAM_256GBWindows 365 Business 2 vCPU 8 GB 256 GB · 33% overlapCPC_B_4C_16RAM_128GBWindows 365 Business 4 vCPU 16 GB 128 GB · 33% overlap