Active Directory remains a critical security boundary wherever organisations depend on on-premises authentication. A compromised account can provide access to servers, administrative tools and other identities without introducing an obviously malicious file. Investigating that activity requires visibility into authentication, directory queries and changes to sensitive accounts—not just endpoint malware alerts.

In Part 6 of the Microsoft Defender Deep Dive series, we examine how Microsoft Defender for Identity supplies that visibility and connects identity detections to Microsoft Defender XDR investigations. The operational goal is straightforward: establish reliable coverage, understand what an alert actually demonstrates and respond without unnecessarily disrupting authentication services. By Muhammad Ahsan, Solution Savy.

1. Understand the coverage boundary

Microsoft Defender for Identity is a cloud-based security service that uses signals from your on-premises identity infrastructure to identify suspicious activity. For an Active Directory deployment, sensors on domain controllers provide visibility into authentication and directory activity. The service analyses those signals alongside identity information to detect behaviour associated with reconnaissance, credential compromise, lateral movement and domain compromise.

Its alerts are available in the Microsoft Defender portal and can contribute to incidents in Microsoft Defender XDR. This matters operationally: an identity alert should not be investigated in isolation when the same incident contains related endpoint, email or cloud activity. Correlation supplies context, but analysts must still establish the sequence of events and assess the evidence.

Do not confuse identity monitoring with endpoint protection. Microsoft Defender for Identity examines identity-related activity; Microsoft Defender for Endpoint provides endpoint detection and response capabilities. Deploying one does not remove the need to assess coverage for the other. Similarly, a Defender for Identity sensor is not a substitute for maintaining the Windows security logs required by your investigation and retention policies.

Start with an inventory of domains, domain controllers, sites and administrative dependencies. Include remote sites and less frequently used controllers. A pilot proves installation and connectivity on the selected hosts; it does not establish organisation-wide detection coverage. Check the current Microsoft Learn prerequisites for licensing, supported operating systems, server roles and the sensor deployment method applicable to each host.

2. Deploy sensors as a controlled infrastructure change

Treat sensor deployment as a change to critical identity infrastructure. Confirm that the tenant has the required Microsoft Defender for Identity entitlement, that administrators have appropriate access and that the target servers meet the documented prerequisites. Use the current deployment instructions rather than assuming that an older installation package or procedure remains appropriate for every server.

Build a deployment register. Record each domain controller, its domain and site, operating system, sensor deployment status, responsible team and any outstanding prerequisite. Use this register to distinguish genuinely monitored infrastructure from planned coverage.

Validate capacity before installation. Follow Microsoft's current sizing and prerequisite guidance for the applicable sensor. Review the host's existing workload and resource headroom; successful installation alone does not demonstrate that the server can sustain monitoring under normal and peak authentication loads.

Validate service connectivity. Check the documented service endpoints and proxy requirements from the target host. A network test performed from an administrator's workstation does not prove that the sensor service has the connectivity it requires.

Configure directory access deliberately. Where a Directory Service Account is required, follow Microsoft's permissions guidance and use a group Managed Service Account where supported. Do not grant Domain Admin membership simply to bypass a configuration problem.

Pilot before expanding. Select a manageable group of domain controllers, deploy using the supported method, verify sensor health and review host performance. Then expand in controlled stages until the intended scope is covered.

Document any exclusions rather than allowing them to become invisible exceptions. For example, if a controller cannot yet meet the prerequisites, record the reason, compensating monitoring and remediation owner. This turns deployment progress into a defensible coverage statement instead of a count of installed agents.

Keep operational ownership explicit. The identity team typically controls domain controllers and Group Policy, while the security team investigates detections. Both teams need an agreed process for connectivity failures, permissions changes, maintenance windows and sensor health issues.

3. Configure auditing and verify collection health

Sensor deployment and audit configuration are separate tasks. Microsoft Defender for Identity uses multiple signal sources, and some detections depend on particular Windows events and audit settings. A healthy sensor does not, by itself, demonstrate that every required audit category and object-level auditing entry is configured.

Use Microsoft's Windows event collection guidance as the configuration baseline. Apply the required Advanced Audit Policy settings through the appropriate Group Policy scope, then verify the effective configuration on the target domain controllers. An edited policy is not evidence that the setting has reached every intended host.

Directory Service Access auditing deserves particular attention. Where Microsoft documents a System Access Control List requirement, enabling an audit subcategory alone is insufficient: the relevant objects also need the prescribed auditing entries. Apply the documented configuration rather than enabling broad auditing indiscriminately, which can create unnecessary event volume.

Verify configuration: confirm the relevant policy settings and required object auditing on representative controllers in each deployment scope.

Verify generation: check that the expected Windows events are actually being generated after an appropriate, authorised administrative action.

Verify service health: review sensor status and health issues in the Microsoft Defender portal, investigate the reported cause and confirm recovery after remediation.

Assign ownership for recurring health reviews. Recheck coverage after domain controller replacement, operating system changes, proxy changes and directory permission changes. These are infrastructure lifecycle events, not merely security-product maintenance tasks. An unexplained gap in telemetry should be investigated before the absence of alerts is interpreted as evidence of normal activity.

4. Read detections as evidence of behaviour

Microsoft documents Defender for Identity alerts across multiple attack stages. Examples include suspicious reconnaissance, credential attacks, suspected pass-the-ticket activity and suspicious directory replication associated with DCSync. These examples describe detection coverage, not a guarantee that every execution of a technique will produce an alert.

Reconnaissance requires context. Directory queries can reveal accounts, groups and administrative relationships, but similar operations also occur during inventory, identity governance and support work. Assess the originating device, account, query behaviour and timing. A familiar tool name is not sufficient justification to dismiss activity performed from an unexpected host.

Credential and authentication alerts require a wider timeline. Establish whether the account normally authenticates from that device, whether its privileges recently changed and whether the activity was followed by access to additional systems. A protocol label or a single failed sign-in does not establish credential theft. Conversely, successful authentication does not establish that the legitimate account owner initiated it.

Directory replication detections warrant careful validation because replication permissions can expose sensitive directory data. Identify the source system and account, determine whether they have an approved replication-related function and inspect the alert evidence. Legitimate identity services may need relevant permissions; unfamiliar use from an ordinary workstation requires a different assessment.

Use alert severity, evidence and MITRE ATT&CK mappings to organise the investigation, not to replace judgement. An ATT&CK mapping describes the behaviour a detection relates to; it does not identify an attacker or prove the full attack chain. Before tuning an alert, establish the legitimate business process, responsible owner and narrowest appropriate exception.

5. Investigate through Microsoft Defender XDR

Begin with the incident containing the identity alert. Read the detection details, identify the affected accounts and devices, and build a timeline around the suspicious activity. Distinguish the account used, the source of the activity and the destination or directory object involved. These roles are not interchangeable, and confusing them can lead to containment of the wrong system.

Review related endpoint and identity evidence where it is available. Look for a preceding compromise, unusual administrative activity, access to additional devices and changes that could preserve access. Check the identity's business role and privileges with the directory team rather than relying only on a descriptive account name.

Advanced hunting can help establish surrounding authentication activity. The IdentityLogonEvents table contains authentication information recorded by supported identity-related services, including Microsoft Defender for Identity. It is not a complete export of every domain controller security event, and results depend on available telemetry and your access permissions.

IdentityLogonEvents
| where Timestamp > ago(24h)
| where ActionType == "LogonFailed"
| where isnotempty(AccountName)
| summarize
    FailedAttempts = count(),
    FirstSeen = min(Timestamp),
    LastSeen = max(Timestamp)
    by AccountDomain, AccountName, IPAddress, DeviceName
| order by FailedAttempts desc

This query ranks recorded failed logons by account, IP address and device over the previous 24 hours. It is a triage query, not a brute-force detection rule. Repeated failures can also result from stale credentials, scheduled tasks or application configuration. Absence of results does not prove the absence of failed authentication.

For an incident-specific investigation, narrow the time range and filter to the account or address identified in the alert. Then examine the underlying events and compare failures with successful authentication. Avoid introducing a universal numerical threshold without understanding normal behaviour and how the relevant events are collected.

Containment should follow the evidence and your approved response process. Depending on the findings, this may include disabling a compromised account, resetting credentials, removing unauthorised permissions or containing the originating endpoint. Confirm the permissions and prerequisites for any action performed through the portal. A password reset alone does not demonstrate that an attacker has lost every access path.

Do not isolate a domain controller as a routine first response without evaluating the consequences for authentication and dependent services. Coordinate significant directory changes with the identity team, preserve relevant evidence and document what each action is intended to stop. After remediation, verify account state, affected permissions, sensor health and whether suspicious activity continues.

6. Operational readiness checklist

Coverage: all intended domain controllers are inventoried, deployment status is recorded and exceptions have owners.

Prerequisites: licensing, supported configurations, capacity, connectivity and directory access have been validated.

Auditing: required policies and object-level auditing are effective, with evidence that expected events are generated.

Health: sensor issues are reviewed routinely, with an escalation path shared by security and identity teams.

Investigation: analysts can navigate from an incident to identity evidence and run scoped authentication queries.

Response: account and endpoint containment procedures include approval requirements and domain controller safeguards.

Validation: authorised testing, post-change checks and incident lessons feed back into coverage and configuration improvements.

7. Conclusion: make identity monitoring operational

Microsoft Defender for Identity is most useful when it is deployed as an operational capability, not simply installed as another sensor. Reliable coverage depends on supported deployment, correct auditing, appropriate directory access and sustained attention to health. Effective response depends on analysts understanding what the evidence shows—and what it does not.

Start with a bounded pilot, validate collection and practise the investigation workflow with the identity team. Expand only with a clear view of remaining gaps. The next instalment moves to Microsoft Defender for Cloud Apps, examining shadow IT discovery and session control beyond the on-premises directory.

Microsoft Defender for Identity overview

Microsoft Defender for Identity prerequisites

Configure Windows event collection

Microsoft Defender for Identity health issues

Microsoft Defender for Identity security alerts

IdentityLogonEvents advanced hunting table


Originally published on Solution Savy. Need help with this? Book a consultation.