Microsoft’s November update to Defender XDR puts on-premises directory activity into the identity tables in advanced hunting. The entry names three placements: IdentityDirectoryEvents for DRSR and GPO update events, IdentityQueryEvents for LDAP search and LDAP ping, IdentityLogonEvents for Kerberos and LDAP bind extended events.1

I read that entry and thought about the identity cases I work. An endpoint alert names a workstation and the question is what that workstation asked the directory. Or an identity alert names an account and the question is which hosts authenticated with it. I answered both from a domain controller’s security log, or from an identity tool with its own query language, in a window separate from the endpoint telemetry that opened the case. Two screens, two clocks, and a conclusion I carried in my head while I switched between them.

Three tables, one query surface

Each table keeps the job it had, and the new events fit inside that job.

IdentityDirectoryEvents covers the domain controller itself: password changes, UPN changes, task scheduling, PowerShell activity.2 DRSR and GPO update records join that list.1

IdentityQueryEvents covers queries against directory objects, with columns for QueryType, QueryTarget, the query string, and the protocol.3 LDAP search and LDAP ping land here.1

IdentityLogonEvents covers authentication against on-premises Active Directory, with a LogonType column whose documented values include Interactive Logon and LDAP Cleartext as logon type 8.4 Kerberos and LDAP bind extended events go here.1

LDAP ping is baseline traffic

LDAP ping is a rootDSE search for the netlogon attribute. A client uses it to check that a domain controller is alive and matches the client’s requirements.5 It runs on connectionless LDAP over UDP 389, and a domain join produces one before any bind happens; Microsoft’s domain join trace shows the CLDAP search request and the response from the DC.6 Every workstation that boots asks that question, so one event tells me nothing.

The pattern tells me something. One account, one source address, and a list of domain controllers collected in a couple of minutes is a different shape from a laptop at logon. A laptop touches the DC its site hands it. A host that pings every DC in the forest is building a map of the directory, and now that map shows up in a table I query in the same session as the endpoint alert.

The DRSR rows line up with an existing alert

DRSR is the replication protocol. Microsoft’s specification describes an RPC protocol for replication and management of Active Directory data, split across two interfaces, drsuapi and dsaop.7 The same protocol carries DCSync, and Defender for Identity ships a detection for it: alert 2006 fires when a replication request comes from a computer that is not a domain controller, and the alert describes the outcome as retrieval of Active Directory data, password hashes included.8

The DRSR rows and the DCSync alert describe one request from two directions. The alert tells me a replication request happened. The table gives me the account, the source device, and the destination DC alongside the rest of the hunt.2 That pairing is what I could not do in one screen before.

What I query first

My first query on any of these tables counts volume, because a single LDAP search does not justify a morning. IdentityQueryEvents carries QueryTarget, so enumeration shows up as a count of distinct targets per account per hour:

IdentityQueryEvents
| where Timestamp > ago(7d)
| summarize Targets = dcount(QueryTarget), Queries = count() by AccountName, DeviceName, bin(Timestamp, 1h)
| where Targets > 200
| sort by Targets desc

That threshold is mine. I tune it against the tenant before I use it in a detection.

LDAP bind events get the same treatment. Clear-text LDAP is a documented logon type in IdentityLogonEvents, so I can filter on it:4

IdentityLogonEvents
| where LogonType == "LDAP Cleartext"
| summarize Attempts = count(), Sources = dcount(IPAddress) by AccountName, bin(Timestamp, 1h)
| where Attempts > 10

A directory whose baseline has no clear-text binds should not start producing them from a service account, and that is the account I check first when it does.

Coverage decides what an empty table means

All three tables draw their directory records from Defender for Identity. Microsoft’s schema pages say so, and they add that the table returns nothing when the service is not deployed.24 Microsoft also recommends a sensor on every domain controller, because its coverage excludes any DC without one.8

The sensor side has its own moving parts. October’s release notes describe automatic sensor v3.x activation and automatic Windows event auditing rolling out to eligible organizations, with a 30-day banner where an administrator can opt out.9 A DC produces these rows when a sensor runs on it, so an empty result has two explanations: nothing happened, or nothing reported. I check the second one before I accept the first.

What this changes on the next case

Microsoft describes the change as additional activity in the identity event tables.1 That is raw data, which suits me. An alert ships with somebody else’s threshold inside it; a table lets me set mine.

The gain is a join I can write in one query: the endpoint alert and the directory request that preceded it, on one time axis. That used to need a second console.

The next case starts with one query and one console.


  1. Microsoft. (2026, November). What’s new in Microsoft Defender XDR. Microsoft Learn. https://learn.microsoft.com/en-us/defender-xdr/whats-new ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  2. Microsoft. (2026, June 26). IdentityDirectoryEvents table in the advanced hunting schema. Microsoft Learn. https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-identitydirectoryevents-table ↩︎ ↩︎ ↩︎

  3. Microsoft. (2026, November 10). IdentityQueryEvents table in the advanced hunting schema. Microsoft Learn. https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-identityqueryevents-table ↩︎

  4. Microsoft. (n.d.). IdentityLogonEvents table in the advanced hunting schema. Microsoft Learn. https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-identitylogonevents-table ↩︎ ↩︎ ↩︎

  5. Microsoft. (n.d.). [MS-ADTS]: LDAP Ping. Microsoft Learn. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/895a7744-aff3-4f64-bcfa-f8c05915d2e9 ↩︎

  6. Microsoft. (n.d.). Domain join log analysis. Microsoft Learn. https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/domain-join-log-analysis ↩︎

  7. Microsoft. (n.d.). [MS-DRSR]: Introduction. Microsoft Learn. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-drsr/06205d97-30da-4fdc-a276-3fd831b272e0 ↩︎

  8. Microsoft. (2026, November 16). Microsoft Defender for Identity classic security alerts. Microsoft Learn. https://learn.microsoft.com/en-us/defender-for-identity/alerts-mdi-classic ↩︎ ↩︎

  9. Microsoft. (2026, November 19). What’s new in Microsoft Defender for Identity. Microsoft Learn. https://learn.microsoft.com/en-us/defender-for-identity/whats-new ↩︎