Skip to main content

Security settings management (MDE-attach)

Microsoft documentedDefender for Endpoint · Source checked 2026-10-22 · Not yet verified in tenant · Sources: [1][2][3]

What it is​

Security settings management lets Intune endpoint security policies reach devices that are onboarded to Defender for Endpoint but not enrolled in Intune. The Defender sensor on the device fetches the policy, enforces it, and reports status back to Intune and the Defender portal. You author the policy in the Intune admin center or in the Defender portal. Both write the same object.

It covers the Defender stack only: antivirus, AV exclusions, EDR settings, firewall and firewall rules, ASR rules, update controls, and the Windows Security experience. It is not device management. No apps, no compliance, no configuration profiles, no Conditional Access device compliance signal. If you need any of that, enrol the device in Intune.

Where it fits against the other options:

ScenarioUse
Device is or can be Intune-enrolledIntune. Enrolled devices ignore MDE-attach policy entirely.
ConfigMgr co-managed with Endpoint Protection workload in IntuneIntune, via co-management.
ConfigMgr-managed, workload stays in ConfigMgrConfigMgr, or MDE-attach after turning off the ConfigMgr authority toggle. Not both.
Onboarded to MDE, no MDM at all (servers, Linux, unmanaged macOS, domain-joined legacy fleet)MDE-attach. This is the target case.
Learn's overview of where MDE-attach sits next to Intune and ConfigMgr. Source: Microsoft Learn, CC BY 4.0.
Learn's overview of where MDE-attach sits next to Intune and ConfigMgr. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22

Licensing and prerequisites​

  • An MDE licence that grants the Endpoint security node in Intune. Microsoft 365 bundles or standalone MDE P1/P2 both work. The policies page lists both P1 and P2.
  • Defender for Servers (Defender for Cloud) on its own is not enough. The tenant needs at least one active MDE user licence.
  • GCC, GCC High and DoD tenants are supported.
  • Devices must reach *.dm.microsoft.com in addition to the normal MDE and Entra endpoints.
  • RBAC: Intune Endpoint Security Manager, or Entra Security Administrator. In the Defender portal, Unified RBAC Authorization and settings/Security settings/Core Security settings (manage) or the older Manage security settings in Security Center permission. The policy page is blocked if your role is scoped to specific MDE device groups.

Supported platforms from the Intune page:

PlatformMinimum
Windows 11 Pro/EnterpriseKB5023778 or later
Windows 10 Pro/EnterpriseKB5023773. Windows 10 is out of support since 2025-10-14; still allowed, not guaranteed.
Windows Server 2012 R2 / 2016Modern unified solution (Defender for Down-Level Devices)
Windows Server 2019KB5025229. Server Core also needs the App Compatibility Feature on Demand.
Windows Server 2022 incl. CoreKB5025230
Windows Server 2025No extra KB listed
Domain controllersSupported with restrictions (see Gotchas)
macOSMDE agent 101.23052.0004 or later
LinuxMDE agent 101.23052.0009 or later on a supported distro

Not supported: Server Core 2016 and earlier, non-persistent VDI, Azure Virtual Desktop, 32-bit Windows, devices where PowerShell runs in Constrained Language Mode, MMA-based sensors, Windows 7 SP1 and Server 2008 R2 SP1 except for the AV policy type.

Entra requirements:

  • The device needs an object in Entra ID. If it has none, the service creates a synthetic device registration. Devices with a full registration (hybrid joined, for example) keep it. If a full registration appears later, the synthetic one is removed and management continues under the full object.
  • The Intune page says the hybrid join prerequisite has been dropped. Domain-joined devices that failed hybrid join before can now onboard with a synthetic registration. Domain-joined devices that can hybrid join still do so through the Entra Connect SCP. The troubleshoot page still lists SCP, Entra Connect and tenant-mismatch error codes, so a broken hybrid join setup can still block enrolment.
  • Each synthetic registration counts against the Entra device quota. Matters on All devices scope.

How it works​

  1. The device is onboarded to MDE by any normal method.
  2. The Defender portal enforcement scope decides whether the device is in scope: all devices for that OS, or only devices tagged MDE-Management.
  3. The Intune toggle lets MDE enforce endpoint security configurations.
  4. The Sense client registers the device in Entra (synthetic if needed) and enrols with the MDE management channel. Most devices finish in minutes, but Learn allows up to 24 hours.
  5. Intune resolves policy assignments against Entra device groups. Only device objects work. Users and assignment filters are ignored on this channel.
  6. The device checks in with Intune every 90 minutes and applies policy through the Defender components. Status flows back to the Intune policy report and the Defender portal policy views.
Learn's architecture diagram: the Defender sensor talks to Entra and Intune, Intune and the Defender portal share the policy object. Source: Microsoft Learn, CC BY 4.0.
Learn's architecture diagram: the Defender sensor talks to Entra and Intune, Intune and the Defender portal share the policy object. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22

Synthetic devices show in the Defender device list with MDM = Intune and Join Type blank. For dynamic groups, Learn says target on deviceOSType (recommended) or managementType -eq "MicrosoftSense". The old MDEJoined and MDEManaged tags stopped on 2023-09-25. deviceOSType values are Windows, Windows Server and Linux. equals Windows has excluded servers since May 2023, so use contains or add Windows Server.

Policies for Windows must use the Windows platform. The Windows 10 and later platform is not supported on this channel. Supported profiles:

OSPolicyProfile
WindowsAntivirusMicrosoft Defender Antivirus, AV exclusions, Defender Update controls, Windows Security Experience
WindowsASRAttack Surface Reduction Rules. Device Control is Intune-enrolled only.
WindowsEDREndpoint detection and response
WindowsFirewallFirewall, Firewall Rules
macOSAntivirusMicrosoft Defender Antivirus, AV exclusions
macOSEDREndpoint detection and response
LinuxAntivirusMicrosoft Defender Antivirus, AV exclusions
LinuxEDREndpoint detection and response, Global Exclusions (AV + EDR)

The Defender portal policies page also lists a Microsoft Defender AI agent runtime protection profile for Windows. The Intune page does not list it in the channel support table, so treat its MDE-attach support as unconfirmed.

Defender portal versus Intune authoring: same policy object, same assignments, same reports. The Defender portal wizard cannot set scope tags or assignment filters. Filters do nothing on this channel anyway. The Defender portal lets a security admin manage these policies without an Intune admin role.

Configure​

  1. Defender portal > Settings > Endpoints > Configuration management > Enforcement scope. Enable the OS types you want (Windows, Windows Server, macOS, Linux). For a pilot pick On tagged devices and tag the pilot devices MDE-Management. All devices enrols everything in scope. Dynamic asset rules for the tag were in preview as of 2025-07-03.
Defender portal, Enforcement scope: per-OS toggles for Windows, Windows Server, macOS and Linux. Source: Microsoft Learn, CC BY 4.0.
Defender portal, Enforcement scope: per-OS toggles for Windows, Windows Server, macOS and Linux. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
Pilot mode: On tagged devices, so only devices carrying the MDE-Management tag enrol. Source: Microsoft Learn, CC BY 4.0.
Pilot mode: On tagged devices, so only devices carrying the MDE-Management tag enrol. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. On the same page, if ConfigMgr also manages the fleet, set Manage Security settings using Configuration Manager to Off so there is one control plane. Leave it On only if ConfigMgr keeps the workload.
Manage Security settings using Configuration Manager set to Off. Source: Microsoft Learn, CC BY 4.0.
Manage Security settings using Configuration Manager set to Off. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. Intune admin center > Endpoint security > Microsoft Defender for Endpoint. Set Allow Microsoft Defender for Endpoint to enforce Endpoint Security Configurations to On.
Intune admin center, the MDE enforcement toggle under Endpoint security > Microsoft Defender for Endpoint. Source: Microsoft Learn, CC BY 4.0.
Intune admin center, the MDE enforcement toggle under Endpoint security > Microsoft Defender for Endpoint. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. Tag a test device. Defender portal > Assets > Devices > device > Manage tags > MDE-Management. Wait for MDE Enrollment status on the device page to read Success.
Device page in the Defender portal showing the MDE Enrollment status field. Source: Microsoft Learn, CC BY 4.0.
Device page in the Defender portal showing the MDE Enrollment status field. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. Create an Entra device group holding the test devices. Static for the pilot. Dynamic on deviceOSType or managementType later.
Dynamic group rule for Windows Server devices on deviceOSType. Source: Microsoft Learn, CC BY 4.0.
Dynamic group rule for Windows Server devices on deviceOSType. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. Create the AV policy. Intune: Endpoint security > Antivirus > Create policy > Platform Windows > Profile Microsoft Defender Antivirus. Defender portal: Endpoint security policies (security.microsoft.com/policy-inventory) > Create new policy > Windows > Microsoft Defender Antivirus. Configure settings, assign the device group, create.
Defender portal Endpoint security policies page with OS tabs and the policy list; Create new policy starts the wizard. Source: Microsoft Learn, CC BY 4.0.
Defender portal Endpoint security policies page with OS tabs and the policy list; Create new policy starts the wizard. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
  1. Force a sync instead of waiting 90 minutes: Device inventory > device > More actions > Policy sync. The button only shows on devices that are successfully MDE-managed. Learn says about 10 minutes to apply.
Policy sync in the device actions menu. Source: Microsoft Learn, CC BY 4.0.
Policy sync in the device actions menu. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22

Settings worth knowing: AllowOnAccessProtection and DisableLocalAdminMerge may need a restart. Avoid two policies setting the same value on one device; exclusions merge, most other settings conflict.

Verify​

  • Defender portal > Device inventory: Managed by column = MDE. Device page: MDE Enrollment status = Success. Device page > Configuration management > Security policies tab lists the policies that apply.
  • Intune > Devices > All devices: Managed by = MDE.
  • Entra admin center > Devices > All devices: the object exists. Synthetic objects show no join type.
  • Intune > Endpoint security > policy > View report for per-device state, and Per setting status for success, error and conflict counts.
  • Defender portal > Endpoints > Configuration management > Endpoint security policies: Overview, Policy settings values, Policy settings status, Applied devices, Assigned groups.
  • On the device, Get-MpPreference reflects the values. HKLM\SOFTWARE\Microsoft\SenseCM\EnrollmentStatus exists.
Intune device page with Managed by set to MDE. Source: Microsoft Learn, CC BY 4.0.
Intune device page with Managed by set to MDE. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
Security policies tab on a device page listing the policies applied through this channel. Source: Microsoft Learn, CC BY 4.0.
Security policies tab on a device page listing the policies applied through this channel. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22

Agent version check for macOS and Linux before you blame the channel:

DeviceTvmSoftwareInventory
| where SoftwareName in ("defender_for_linux", "defender_for_mac")
| project DeviceName, OSPlatform, SoftwareName, SoftwareVersion

Troubleshoot​

Error codes are from the troubleshoot page. In every case the device is onboarded to MDE; only the management channel failed. The list is not complete.

Enrollment status and error code on the device page. Source: Microsoft Learn, CC BY 4.0.
Enrollment status and error code on the device page. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
MDE Client Analyzer results with the Device Configuration Management Details section. Source: Microsoft Learn, CC BY 4.0.
MDE Client Analyzer results with the Device Configuration Management Details section. Source: Microsoft Learn, CC BY 4.0. · captured 2026-10-22
CodeStateFix
2Not enrolled, never enrolledDevice is not in enforcement scope or the Intune toggle is off. Check both.
4Managed by SCCM agentTurn off Manage Security settings using Configuration Manager in Enforcement scope.
5-7, 9, 11-12, 26-33General errorPrerequisites not met. Run the Client Analyzer, read Detailed Results.
8, 44Intune configuration issueIntune toggle for MDE enforcement is off.
13-14, 20, 24, 25ConnectivityOpen Entra, Intune and *.dm.microsoft.com endpoints.
10, 42Hybrid join failureStandard hybrid join troubleshooting, dsregcmd /status.
15Tenant mismatchMDE tenant ID differs from the tenant ID in the domain SCP entry.
16, 17SCP errorSCP points to Enterprise DRS or is wrong. Point it at Entra ID.
18Certificate errorDevice certificate belongs to a different tenant. Review trusted certificate profiles.
36, 37Entra Connect misconfigurationRun DSRegTool. Server 2012 R2 follows the legacy hybrid join guide.
38, 41DNSFix client DNS. AD needs domain DNS, not the router.
40Clock syncFix time sync.
43MDE and ConfigMgr both managingPick one control plane.

Other symptoms from the Intune page:

SymptomLikely causeFix
Onboarded, no object in Entra or Intune, no errorEnrolment pendingCheck the SenseCM key. Allow 24 hours. Confirm scope and tag.
Policy sync button missingDevice not MDE-managed yetFix enrolment first.
Policy shows but device ignores itIntune-enrolled, Windows 10 and later platform, or user group targetWindows platform, device groups. Enrolled devices take Intune policy only.
Dynamic group misses serversdeviceOSType equals WindowsAdd Windows Server or use contains.
Linux enrolment fails on 101.23052.0009/sys/class/dmi/id/board_vendor missingKnown issue. Update the agent.
macOS/Linux Entra device ID blank in Defender portalKnown issue for synthetic registrationsRead it from Intune or Entra.
Settings not applied after third-party AV removalLeftover toolReinstall the latest MDE client.
Enrolment fails with locked-down PowerShellConstrained Language ModeNot supported. Lift CLM or manage another way.

Gotchas and limits​

  • Synthetic device objects land in Entra like any other device. Conditional Access device filters, dynamic groups and reports that key on all devices pick them up. They have no join type, no compliance state and no MDM enrolment. Exclude them explicitly in CA device filters and in any dynamic rule that assumes a managed device.
  • Intune-enrolled devices never process MDE-attach policy. Enrolled and tagged means Intune wins. No merge, no fallback.
  • ConfigMgr plus MDE-attach is error 43. The Enforcement scope toggle decides which wins.
  • Controlled Configuration (Device) in the Windows Security Experience profile replaces standalone tamper protection. On, Intune-delivered settings take exclusive precedence over GPO and ConfigMgr. Supported on MDE-attach devices. GPO silently stops applying to Defender on them.
  • Device Control does not work on this channel even though the Defender portal shows the profile.
  • Unsupported, pending deprecation: Expedite telemetry reporting frequency (EDR), AllowIntrusionPreventionSystem, AllowLocalPolicyMerge.
  • Servers: the tenant needs an MDE user licence even if every server is under Defender for Servers. Windows Server must be on in Enforcement scope before DCs can be targeted, and if servers are On tagged devices, DCs are too. Firewall policy is not supported on DCs. Exclude DC groups from general Windows policies. Configuration persists after unenrolment, so set a known state before pulling a DC out.
  • Hybrid join: the hard prerequisite is gone, but SCP, Entra Connect, tenant and certificate error codes are still in the troubleshoot table. A half-configured SCP can still block a domain-joined device. Fix it or remove it.
  • Assignment filters are ignored. Scope tags cannot be set from the Defender portal wizard.
  • Each synthetic registration consumes an Entra device object. Watch the quota on All devices scope with a big server estate.
  • 90 minute check-in. Policy sync on the device page is the only faster path, about 10 minutes.

Further reading​

My notes​

TODO: Sohail's notes after verification.

Changelog​

DateChangeSource
2026-10-22Drafted from Learn[1]
2026-10-22Added Learn images, diagrams, further reading