Skip to main content

Overview: direct onboarding vs Defender for Cloud

Microsoft documentedDefender for Servers · Source checked 2026-10-22 · Not yet verified in tenant · Sources: [1][2][3][4][5][6][7][8][9][10][11][12][13][14]

What it is​

Defender for Endpoint is the sensor on every server, whichever way you buy it. MDE Plan 1 and Plan 2 user licences do not cover servers. Learn lists three server licences: Defender for Servers Plan 1 or Plan 2 through Defender for Cloud, the standalone Defender for Endpoint Server licence, and Defender for Business servers for SMB. That leaves two operating models.

Model A is standalone MDE. You buy a per-device server licence, onboard the server with a script, GPO, ConfigMgr or a Linux config tool, and manage it in the Defender portal like any other device. No Azure subscription is involved. You get MDE Plan 2 features on the server and nothing from Defender for Cloud.

Model B is Defender for Servers. You enable the plan on an Azure subscription in Defender for Cloud. Defender for Cloud pushes the MDE.Windows or MDE.Linux extension to Azure VMs and to non-Azure machines you have connected through Azure Arc. The MDE licence is included and billed per server-hour on the subscription. Plan 2 adds agentless scanning, FIM, JIT, OS baseline assessment, compliance posture and the 500 MB data ingestion benefit. This is the model Microsoft recommends for most organisations.

Direct onboarding sits between the two. It is a Defender for Cloud setting that takes servers onboarded to MDE by any method, no Arc, and bills them to a chosen subscription under Defender for Servers. They appear in Defender for Cloud with Plan 1 features, plus premium MDVM if Plan 2 is on. It is a licensing and visibility bridge, not an agent.

The rest of this folder goes deeper on each piece: licensing, direct onboarding, onboarding through Defender for Cloud, Linux onboarding, Plan 2 features, response actions and live response, Defender for SQL and Defender for Identity. For the client side see the MDE overview.

Licensing and prerequisites​

Licences, from the minimum requirements page and the server onboarding page:

LicenceModelUnitNotes
Defender for Endpoint ServerAPer deviceStandalone. Learn names it as an alternative when you do not use Defender for Cloud.
Defender for Business serversAPer deviceSMB only.
Defender for Servers Plan 1BPer server-hourEDR focus. Can be enabled per resource.
Defender for Servers Plan 2BPer server-hourEverything in P1 plus agentless, FIM, JIT, posture, 500 MB ingestion. Subscription level only, but can be disabled per resource.

Prerequisites by model:

  • Model A: a Defender portal with the data location already chosen (EU, UK or US, cannot be changed later), Security Administrator to deploy, supported OS, outbound access to the MDE service URLs. Windows Server 2012 R2 and 2016 need the modern unified solution package, SSU from 2021-09-14 or later, LCU from 2018-09-20 or later, and KB5005292 approved for sensor updates. Windows Server 2019 and later have the sensor built in.
  • Model B: an Azure subscription with Defender for Cloud. Non-Azure machines connected as Azure Arc-enabled servers, running the Connected Machine agent. Linux machines need Python 3 on RHEL 8.x and Ubuntu 20.04 or later, and /opt/microsoft/mdatp must not be on a noexec mount. The Endpoint protection setting on the subscription must be On (it is by default when you enable the plan). Plan 2 OS assessment also needs the Azure Policy machine configuration extension. FIM and the ingestion benefit need a Log Analytics workspace.
  • Direct onboarding: Subscription Owner on the chosen subscription and Entra Security Administrator or higher on the tenant. Agent minimums to avoid duplicate billing: Windows Server 2019 and later 10.8555, Windows Server 2016 and 2012 R2 unified solution 10.8560, Linux AMD64 30.101.23052.009, Linux ARM64 30.101.25022.004.

Platform coverage is the same in both models. Direct onboarding supports every Windows Server and Linux server version MDE supports.

How it works​

Model A, standalone MDE​

The sensor is installed and onboarded with an onboarding package from the Defender portal. On Windows Server 2019 and later the Sense service is already present and the script activates it. On 2016 and 2012 R2 the unified solution installer adds the EDR sensor, and on 2012 R2 also adds Defender Antivirus. Linux uses the installer script or Ansible, Chef, Puppet, Saltstack or a manual package install. Policy comes from GPO, ConfigMgr, PowerShell or MDE security settings management. The server is a device in the Defender portal. There is no Azure resource, no Defender for Cloud recommendation, no Azure Policy.

Model B, Defender for Servers​

Enabling the plan on a subscription turns on the Defender for Endpoint integration by default. Defender for Cloud then provisions the MDE.Windows or MDE.Linux extension on supported machines. The extension runs the same onboarding the script does. If a sensor already exists and belongs to the same MDE tenant, Defender for Cloud uses it. If it belongs to another tenant, nothing happens until you offboard it. First subscription in a tenant takes up to 12 hours; later machines and subscriptions up to one hour.

Defender for Cloud discovers Azure, Arc and connected AWS and GCP machines before the sensor lands, so they can appear in the MDE device inventory as Can be onboarded with Defender for Cloud as the discovery source. On Windows, the integration writes AzureResourceId, SecurityWorkspaceId and SecurityAgentId under HKLM\SOFTWARE\Microsoft\Windows Advanced Threat Protection\DeviceTags, which is how the device is tied back to its Azure resource. Linux servers onboarded this way start with Defender Antivirus in passive mode. Linux auto-update is on by default through the extension; tag the machine ExcludeMdeAutoUpdate=true to manage it yourself.

Plan 2 features that do not come from the sensor come from Defender for Cloud itself. Agentless scanning snapshots the disk from the platform side. JIT works through NSG and firewall rules on Azure and AWS. OS updates and MCSB baseline assessment need Arc for non-Azure machines. FIM needs Arc for AWS and GCP machines. That is why Arc matters: these features need an Azure resource to attach to.

Direct onboarding​

Environment settings > Direct onboarding, toggle On, pick a subscription. From then on every server in the same Entra tenant that reports to MDE, existing and new, is attached to that subscription for licensing, billing, alerts and insights. The subscription gets no Azure management capabilities for those machines: no Azure Policy, no guest configuration. Security settings stay with MDE security settings management, GPO, ConfigMgr, PowerShell or WMI. Servers can take up to 24 hours to appear. It is tenant-wide and cannot be piloted on a subset. Servers reached both through Arc and through direct onboarding are correlated automatically if the agent meets the minimum versions above; older agents can be billed twice. With Plan 1 on the subscription a directly onboarded server gets every Plan 1 feature. With Plan 2 it gets Plan 1 plus premium MDVM and nothing else from Plan 2.

What direct onboarding and Model A give up​

From the overview feature table and the direct onboarding limits page, a server without an Azure or Arc resource cannot get:

  • Agentless vulnerability, malware and secrets scanning
  • Just-in-time VM access
  • File integrity monitoring
  • OS updates assessment and MCSB OS baseline assessment
  • Azure network layer threat detection and network map
  • Defender for Cloud regulatory compliance posture on the machine
  • Azure Policy and guest configuration

Model A also loses per-hour billing, Defender for Cloud alerts and inventory, and the free data ingestion benefit. What it gains is simple: no Arc agent, no Azure subscription, no Connected Machine agent heartbeat to keep healthy, and a licence you can count per device.

Configure​

This article covers the model decision. Step-by-step onboarding is in onboarding-direct and onboarding-defender-for-cloud. The steps below are the subscription-level switches.

Model B, enable the plan:

  1. Azure portal > Microsoft Defender for Cloud > Environment settings > pick the subscription.
  2. Toggle Servers to On. This selects Plan 2 by default and starts a 30-day trial that cannot be stopped or extended.
  3. Change plans to pick Plan 1 if that is the intent. Confirm, then Save.
Defender plans page with the Servers toggle. On means Plan 2 unless you change it. Source: Microsoft Learn, CC BY 4.0.
Defender plans page with the Servers toggle. On means Plan 2 unless you change it. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
Plan selection popup, Plan 1 or Plan 2. Source: Microsoft Learn, CC BY 4.0.
Plan selection popup, Plan 1 or Plan 2. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. Settings and monitoring > Endpoint protection. Confirm Status is On. This is the switch that lets Defender for Cloud provision the MDE extension.
Endpoint protection Status toggle under Settings and monitoring. Source: Microsoft Learn, CC BY 4.0.
Endpoint protection Status toggle under Settings and monitoring. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. On subscriptions created before spring 2022 the component may show Partial. Fix > Missing components > Unified solution > Enable covers Windows Server 2012 R2 and 2016. Subscriptions from before summer 2021 have a similar Linux machines opt-in.
Legacy subscription: enabling the unified solution for Windows Server 2012 R2 and 2016. Source: Microsoft Learn, CC BY 4.0.
Legacy subscription: enabling the unified solution for Windows Server 2012 R2 and 2016. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. Non-Azure machines: connect them as Azure Arc-enabled servers first (single machine quickstart or service principal at scale). They become Azure resources and pick up the extension.

Direct onboarding:

  1. Defender for Cloud > Environment settings > Direct onboarding.
  2. Toggle On, select the subscription that will carry licensing and billing, Save.
  3. Deploy MDE on the servers the normal way, with or without this setting.
Direct onboarding toggle and subscription picker. Tenant-wide once saved. Source: Microsoft Learn, CC BY 4.0.
Direct onboarding toggle and subscription picker. Tenant-wide once saved. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22

Model A: there is no Azure step. Defender portal > Settings > Endpoints > Onboarding, pick the OS and method, deploy the package. Buy the per-device server licence through your licensing channel.

Verify​

  • Model B: Azure portal > VM > Extensions > MDE.Windows or MDE.Linux shows Provisioning succeeded. Defender portal > Assets > Devices lists the server. On Linux mdatp health returns healthy : true and licensed : true.
  • Direct onboarding: Defender for Cloud > Inventory, filter by resource type, the server shows as a non-Azure machine under the chosen subscription within 24 hours.
  • Model A: Defender portal device inventory, sensor health, then run the EDR detection test. sc.exe query sense reports RUNNING. sc.exe query Windefend tells you whether Defender AV is installed where you expect active mode.
  • Defender for Cloud health status (needs Plan 2, or Defender CSPM plus Plan 1): Security Explorer queries for unhealthy, healthy and not-applicable VMs. Status refreshes every four hours.
  • Coverage workbook in Azure Workbooks shows which plan is on per subscription and resource.
Security Explorer query for VMs where the MDE extension is unhealthy. Source: Microsoft Learn, CC BY 4.0.
Security Explorer query for VMs where the MDE extension is unhealthy. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
// Which onboarded servers carry an Azure resource ID, meaning they came in through Defender for Cloud
DeviceInfo
| where OSPlatform startswith "WindowsServer" or OSPlatform == "Linux"
| summarize arg_max(Timestamp, *) by DeviceId
| extend AzureResource = tostring(AdditionalFields.AzureResourceId)
| project DeviceName, OSPlatform, OnboardingStatus, AzureResource

TODO: confirm in the dev tenant that AdditionalFields.AzureResourceId is populated for extension-onboarded servers; Learn documents the registry value, not the Advanced Hunting field.

Troubleshoot​

SymptomLikely causeFix
Extension never appears on an Arc machinePlan or Endpoint protection off, machine off, OS unsupported, Arc agent unhealthyCheck Environment settings, azcmagent show, then wait the 12 hour or 1 hour window
Extension Provisioning failedConnectivity, proxy needing user auth, Python missing, noexec on /opt, AV or ELAM disabled by GPOView detailed status, logs under C:\WindowsAzure\Logs\Plugins\...MDE.Windows or /var/log/azure/...MDE.Linux/, run the Client Analyzer
Extension succeeded, device missing in Defender portalSensor onboarded to a different MDE tenantOffboard from the old tenant first. Defender for Cloud never reassigns
Directly onboarded servers not in Defender for CloudSetting just enabled, or server in another Entra tenantAllow 24 hours. The setting only covers the tenant it was enabled in
Server billed twiceReached through Arc and direct onboarding with an old agentUpdate to 10.8555, 10.8560 or 30.101.23052.009 and later so correlation works
Paying Defender for Servers and holding standalone MDE Server licencesDiscount not requestedSupport request from Azure portal with tenant ID, licence count and expiry. Not retroactive
Plan 2 enabled but no agentless, JIT or FIM on a serverServer is directly onboarded, no Azure or Arc resourceConnect through Arc or accept P1 plus premium MDVM
Devices show Can be onboarded in MDE inventoryDiscovered by Defender for Cloud, sensor not yet deployedNormal. Wait for the extension or deploy manually
MDE tenant data location is wrong for the businessTenant was auto-created by Defender for Cloud in the subscription geo, or created earlier by MDECannot be changed. Support request to reset the tenant
Windows 10 or 11 devices billed under Plan 1Pre November 2026 behaviourFrom 2026-11-01 clients stop being billed as servers under P1

Gotchas and limits​

  • Billing is by power state. Azure VMs that are Stopped but not Deallocated are still billed. Arc machines are billed while Connected and stop when the heartbeat drops for 15 to 30 minutes. Directly onboarded servers are billed per hour while the sensor is connected.
  • Direct onboarding is all or nothing for the tenant. Every MDE-onboarded server, existing and new, lands on the chosen subscription and gets billed there. Turn it on only when you want every server on Defender for Servers pricing. Learn says it is not required just to keep an existing MDE deployment working.
  • Moving the MDE tenant data location is impossible. Defender for Cloud creates the MDE tenant in the subscription geo if none exists; if MDE came first, its choice sticks.
  • Plan 2 at resource level cannot be enabled, only disabled. Granular Plan 1 works by script, Azure Policy with a tag, or the Pricings API.
  • Toggling the plan on starts a 30-day trial you cannot pause. Turning the plan off on a subscription now auto-offboards eligible servers from MDE (public preview, October 2026). Moving Plan 2 to Plan 1 does not.
  • The server onboarding page says Linux servers onboarded through Defender for Cloud start with Defender AV in passive mode. Plan for a follow-up policy to switch to active if that is the intent.
  • Server endpoint monitoring through the Defender for Cloud integration is not available for Office 365 GCC.
  • Security settings management for servers still needs at least one MDE user licence in the tenant, even if every server is covered by Defender for Servers. See the MDE-attach article.
  • From 2026-11-01 the billable server check runs multiple times per hour instead of once, and golden-image clones sharing an Arc ID are counted separately. Expect the billed count to move.
  • Microsoft announced a Defender Workload Unit billing model in October 2026. Learn pages used here still describe per server-hour billing. TODO: re-check once the DWU pages land.
  • The MDE planning guide has nothing server-specific; it points at the production deployment and deployment strategy articles. Treat it as the client playbook.

Decision tree​

Further reading​

Only three qualified in the October 2025 to October 2026 window. The best direct onboarding write-ups (Jeffrey Appel, Jakub Fras) predate it.

My notes​

TODO: Sohail's notes after verification.

Changelog​

DateChangeSource
2026-10-22Drafted from Learn, with Learn images and diagrams[1]