Microsoft Defender for Identity Alerts Not Firing: Troubleshooting Guide
Reach 50,000+ security professionals
Sponsor a newsletter slot and put your brand in front of CISOs, engineers, and IT decision-makers.
Microsoft Defender for Identity sensors on domain controllers frequently fail silently: the MDI portal shows sensors as healthy while packet capture is broken, audit policy gaps block lateral movement detection, and honeytoken alerts never fire. This guide covers every common failure mode with specific diagnostic commands and portal verification steps. For related conditional access policy issues, see the Entra ID conditional access troubleshooting guide.
Checking MDI Sensor Health Status in the Defender Portal
Navigate to security.microsoft.com > Settings > Identities > Sensors. Each domain controller sensor shows a version number, a last communication timestamp, and a health status. A sensor that shows Running but has not communicated in more than 5 minutes is likely stuck. Click the sensor to expand health alerts: common alerts include Directory Services Object Auditing is not configured as required, Sensor failed to retrieve credentials, and Npcap is out of date. Health alerts in the portal are more reliable than the green Running status because the status reflects the last check-in while health alerts reflect real-time packet capture and event log access. For multi-DC environments, check every DC sensor individually; a misconfiguration on one DC can mask gaps in lateral movement detection coverage across the entire domain.
Resolving Npcap Version Conflicts That Break Packet Capture
MDI relies on Npcap for packet capture on domain controllers. When Npcap is at an incompatible version for the installed sensor build, packet capture fails silently: the sensor shows Running but never captures network-based alerts like Pass-the-Ticket or Pass-the-Hash. Check the installed Npcap version in Control Panel > Programs > Programs and Features. MDI specifies a supported Npcap version range in the sensor release notes available at docs.microsoft.com under Microsoft Defender for Identity prerequisites. If the installed version is outside the supported range, uninstall the current Npcap version and reinstall the supported version from the MDI download link in the Defender portal (Settings > Identities > Sensors > Download sensor). The MDI sensor installer includes the correct Npcap version; reinstalling the sensor rather than Npcap alone ensures version alignment. After reinstalling, run a packet capture test: netsh trace start capture=yes and generate a Kerberos authentication event by logging into another domain resource from the DC.
Briefings like this, every morning before 9am.
Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.
Configuring Required Domain Controller Audit Policies for MDI
MDI generates alerts based on Windows event logs. If the required event IDs are not audited on domain controllers, the alerts simply never fire even when the attack occurs. The minimum required audit policy settings for MDI are: Audit Account Logon Events (Success and Failure) for event IDs 4624 and 4625; Audit Kerberos Authentication Service (Success and Failure) for event IDs 4768, 4769, and 4771; Audit Directory Service Access (Success) for event ID 4662; and Audit Security Account Management (Success and Failure) for event ID 4720 and 4728. Verify current audit policy with auditpol.exe /get /category:* on each DC. Apply the MDI Group Policy Object from the MDI documentation to ensure consistent policy across all DCs. Check that the policy is not being overridden by a higher-precedence GPO using gpresult /h gpresult.html on the DC.
Setting Up Honeytoken Accounts for Credential-Based Alerting
MDI honeytoken alerts fire when any account designated as a honeytoken is used for authentication. These are decoy accounts that legitimate users and systems should never touch; any usage indicates compromise or reconnaissance. Configure honeytoken accounts in the Defender portal under Settings > Identities > Honeytoken accounts. Add accounts that have no legitimate purpose but exist in AD (disabled accounts, service accounts with no actual service, accounts with names that look attractive to attackers). The accounts must be Active Directory accounts, not Azure AD accounts. After configuring, test by authenticating with the honeytoken account from a test machine; the MDI alert should fire within 2 to 5 minutes. If no alert fires after 10 minutes, check that the sensor on the DC where the authentication occurred is healthy and that event ID 4624 is being audited with Success.
Enabling RADIUS Accounting for VPN and Remote Access Alert Coverage
MDI can detect lateral movement through VPN and remote access flows when RADIUS accounting data is forwarded to the sensor. Without RADIUS integration, remote users who authenticate via VPN are invisible to MDI's lateral movement detection. Configure RADIUS accounting in your VPN gateway (Palo Alto, Cisco ASA, Fortinet FortiGate) to send RADIUS Accounting-Request packets to the MDI sensor's IP address on UDP port 1813. In the MDI portal under Settings > Identities > the sensor > RADIUS accounting, enable RADIUS accounting integration and add the VPN gateway as a RADIUS client with a shared secret. After enabling, generate a VPN authentication event and verify it appears in MDI's network activity timeline for the authenticating user. RADIUS integration is per-sensor, so configure it on the sensor closest to the VPN termination point.
Using MDI Diagnostic Commands to Verify Sensor Functionality
MDI includes a built-in self-test command that validates connectivity, packet capture, and event log access from the sensor. Navigate to C:\Program Files\Azure Advanced Threat Protection Sensor[version number]\ and run Microsoft.Tri.Sensor.exe selftest from an elevated command prompt. The output reports packet capture status, Kerberos ticket capture status, LDAP connectivity to the domain, and event log access. A PASS result for all checks confirms the sensor is fully functional. For connectivity issues, run Test-NetConnection -ComputerName <MDI-service-endpoint> -Port 443 to verify the DC can reach the MDI cloud service. MDI sensors require outbound HTTPS to *.atp.azure.com on TCP 443. If the self-test reports event log access as FAIL, verify the MDI sensor service account has the Event Log Readers group membership on the DC.
The bottom line
Run the MDI sensor diagnostic command (C:\Program Files\Azure Advanced Threat Protection Sensor[version]\Microsoft.Tri.Sensor.exe selftest) on each domain controller after any sensor update. Set up a Sentinel alert or MDI health notification that fires when any sensor has not reported in 15 minutes during business hours. Treat silent sensor gaps the same as a detection control failure: open an incident and validate coverage before closing.
Frequently asked questions
How do I verify that Microsoft Defender for Identity sensors are capturing events when the portal shows them as healthy?
Run Microsoft.Tri.Sensor.exe selftest from C:\Program Files\Azure Advanced Threat Protection Sensor\[version]\ on the DC as administrator. The command reports packet capture status, LDAP connectivity, and event log access. Also check the MDI health alerts in the Defender portal under Settings > Identities > Sensors, which show real-time issues not reflected in the Running status.
What Npcap version should I install on domain controllers running Microsoft Defender for Identity sensors?
Install the Npcap version bundled with the MDI sensor installer from the Defender portal under Settings > Identities > Sensors > Download sensor. The installer includes the compatible Npcap version for the current sensor build. Do not install Npcap from the Npcap.com website independently, as the version may fall outside the MDI-supported range.
Which Windows event IDs must be audited on domain controllers for Microsoft Defender for Identity to detect lateral movement?
MDI requires audit policies for event IDs 4624 and 4625 (account logon), 4768, 4769, and 4771 (Kerberos authentication), 4662 (directory service access), and 4720 and 4728 (security account management). Verify with auditpol.exe /get /category:* on each DC. Apply the MDI GPO from Microsoft documentation to enforce consistent audit policy across all domain controllers.
How do I configure MDI honeytoken accounts and test that honeytoken alerts fire correctly after configuration?
In the Defender portal, go to Settings > Identities > Honeytoken accounts and add decoy Active Directory accounts that no legitimate user or system should touch. After saving, authenticate with a honeytoken account from a test machine. The MDI alert should appear within 2 to 5 minutes. If no alert fires, verify the DC sensor is healthy and that event ID 4624 is audited with Success on that DC.
Why are Microsoft Defender for Identity alerts for VPN and remote access users not appearing in the investigation timeline?
MDI requires RADIUS accounting integration to detect remote access authentication. Configure your VPN gateway to send RADIUS Accounting-Request packets to the MDI sensor's IP on UDP port 1813. Enable RADIUS accounting in MDI under Settings > Identities > the sensor > RADIUS accounting and add the VPN gateway as a RADIUS client with the shared secret.
What network connectivity requirements must domain controllers meet for Microsoft Defender for Identity sensors to function?
MDI sensors require outbound HTTPS to *.atp.azure.com on TCP port 443. Verify with Test-NetConnection -ComputerName <sensor-endpoint>.atp.azure.com -Port 443 on the DC. Proxy servers must be configured in the sensor settings if direct internet access is blocked. Also verify the sensor service account has Event Log Readers membership on the DC for event log access.
Sources & references
Free resources
Critical CVE Reference Card 2025–2026
25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.
Ransomware Incident Response Playbook
Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.
Daily briefings + Google Top Stories in one step.
Enter your email and we'll subscribe you to the daily briefing and add Decryption Digest to your Google Search feed at the same time.

Founder & Cybersecurity Evangelist, Decryption Digest
Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.
