Security Policy Errors

How to Fix Microsoft Defender Configuration Enforcement Connectivity Errors

Chanuka GeekiyanageChanuka Geekiyanage Oct 12, 2026 869 views

Question details

The user needs to resolve a connectivity error preventing a newly onboarded device from communicating with required Microsoft cloud endpoints.

How to Fix Microsoft Defender Configuration Enforcement Connectivity Errors
Product
Microsoft Defender for Endpoint
Device & OS
not provided
Scenario
Onboarding a device to Microsoft Defender and attempting to synchronize security configuration policies.
Observed behavior
A configuration enforcement error is triggered because the device is unable to reach required cloud endpoints, such as *.dm.microsoft.com, likely due to network blockages.
Before you start

Ensure you have administrative privileges on the affected device and access to your corporate firewall, proxy, or VPN configuration settings before making network changes.

Solution 1Recommended

Allow Outbound Traffic to Microsoft Cloud Endpoints

Create or modify an outbound firewall rule to permit TCP port 443 traffic to Microsoft Defender domains, resolving the primary cause of connectivity failures.

Microsoft Defender for Endpoint requires uninterrupted access to specific cloud endpoints to enforce security configurations. If these endpoints are blocked by a local or network firewall, the device cannot receive policy updates.

1
Open Firewall Settings

Access your network firewall configuration interface or open Windows Defender Firewall with Advanced Security on the local device.

2
Create a New Outbound Rule

Navigate to Outbound Rules and select 'New Rule'. Choose 'Custom' to specify precise network conditions.

3
Configure Port and Domain

Set the protocol to TCP and the remote port to 443 (HTTPS). In the scope section, specify the remote domain as *.dm.microsoft.com.

4
Apply and Restart

Set the action to 'Allow the connection', apply the rule to the appropriate network profiles, and restart the device to trigger a new connection attempt.

Allow Outbound Traffic to Microsoft Cloud Endpoints
Corporate Environments: If you are operating within a managed corporate network, you may lack the permissions to change these settings locally. Contact your network administrator to whitelist the required endpoints on the enterprise firewall or proxy.
Free Microsoft Office alternative

Looking for a Reliable and Secure Office Suite? Try WPS Office

While you troubleshoot system network configurations and security policies, consider WPS Office as a lightweight, secure, and completely free alternative to Microsoft Office. It offers a familiar interface and seamless compatibility with all your important documents.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded executable file and follow the simple on-screen instructions to complete the setup.
  3. 3. Open Your Documents: Launch WPS Office and instantly open your existing Microsoft Office files with perfect formatting preservation.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation that consumes minimal system resources and operates securely.Familiar user interface for a seamless transition with zero learning curve.Built-in robust PDF editing tools for comprehensive document management.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Defender need access to *.dm.microsoft.com?

This endpoint is required for device management and configuration enforcement. Without access to this cloud endpoint, the device cannot receive security policy updates or report its status back to the Microsoft cloud.

How can I test if a proxy or firewall is blocking the connection?

You can test connectivity by opening PowerShell as an administrator and running the command 'Test-NetConnection -ComputerName dm.microsoft.com -Port 443'. If the connection fails, your network is likely blocking the traffic.

Should these firewall rules be configured in Microsoft Intune or locally?

If you are managing devices centrally, it is best to deploy these network rules via Intune or your organization's centralized firewall management system. For unmanaged or isolated devices, configuring the local Windows Defender Firewall is sufficient.