How Do You Deploy Microsoft Defender for Identity?
How Do You Deploy Microsoft Defender for Identity?
By Michael Branson
Quick Answer
Deploying Microsoft Defender for Identity is a server project, not a license switch: Microsoft’s Microsoft Defender for Identity deployment overview says to install a sensor on every domain controller, including read-only domain controllers, and on the AD FS, AD CS and Microsoft Entra Connect servers that are not domain controllers, and each of those servers has to meet Microsoft’s operating system, auditing, account and connectivity prerequisites. Before the first alert arrives, your organization also has to decide who triages, investigates and responds to what the sensors report, because the product detects and reports and the response is a staffing decision. The scoping question to answer first is how many identity servers you run, on which Windows Server versions, and whether they are already onboarded to Microsoft Defender for Endpoint.
Key Takeaways
- Deploying Defender for Identity is server work: a sensor on every domain controller, including read-only ones, plus AD FS federation servers, online AD CS certificate authority servers and both Entra Connect servers.
- The Windows Server version and Defender for Endpoint status of each server decide which sensor it gets and which paths are still in preview.
- The prerequisites are yours to own: licensing, an admin role, Directory Service accounts for the older sensor, time sync, change windows, audit policy and a workspace region that cannot be moved later.
- The product detects and reports; it is not an auditing or logging solution, and it does not replace your audit trail.
- Name the alert owner in writing before the first sensor goes live.
If you are the IT leader, the request can reach you as one line on a security roadmap: the licenses are already paid for, so turn it on. The product lives in the security team’s portal, but the work lands on servers you own: the domain controllers, the federation farm, the certificate authority and the Entra Connect servers, their change windows and their audit policy. The first decision is made per server: according to Microsoft Learn, servers running Windows Server 2016 or earlier use sensor v2.x, and AD FS, AD CS and Microsoft Entra Connect servers must be onboarded to Defender for Endpoint before activating sensor v3.x. Treating it as a checkbox fails in two predictable ways. Sensors go on some domain controllers and not others, and the gaps are found later. Or the sensors go live cleanly and the first alerts land in a queue no one has agreed to own. This guide sets out the server scope, the prerequisites in Microsoft’s words, the order of work, and the ownership decision to settle before go-live.
What Defender for Identity does, in Microsoft’s words
Microsoft’s Microsoft Defender for Identity overview page describes the product this way: “Microsoft Defender for Identity helps organizations detect, investigate, and respond to identity-based attacks across on-premises, cloud, and hybrid environments.” It describes where the work happens: “Sensors run on your identity infrastructure, capturing and parsing relevant network traffic and Windows events locally.” And where the results go: “Defender for Identity streams identity signals into the Microsoft Defender portal, where they are correlated with data from endpoints, email, SaaS applications, cloud workloads, and other security sources.”
Two consequences follow for the IT leader. The sensors are software on some of your most sensitive servers, so their rollout is change-controlled server work. And the output is a stream of alerts and recommendations in a portal your security function reads, so someone has to be named to read it.
Which servers need a sensor
When you scope the project, coverage is the first decision, and Microsoft states it plainly. Microsoft’s Microsoft Defender for Identity deployment overview page states: “Install Defender for Identity sensors on all domain controllers, including read-only domain controllers (RODCs).” It continues: “Also install sensors on Active Directory Federation Services (AD FS), Active Directory Certificate Services (AD CS), and Microsoft Entra Connect servers that aren’t domain controllers.” Microsoft’s Microsoft Defender for Identity frequently asked questions page repeats the point: “We recommend that you have a Defender for Identity sensor or standalone sensor for each one of your domain controllers.”

For the other identity roles, Microsoft’s Configure sensors for AD FS, AD CS, and Microsoft Entra Connect page narrows the scope server by server:
- AD FS: “For AD FS environments, Defender for Identity sensors are supported only on the federation servers.” and “They’re not required on Web Application Proxy (WAP) servers.”
- AD CS: “For AD CS environments, you don’t need to install sensors on any AD CS servers that are offline.” The same page states that “the Defender for Identity sensor for AD CS supports only AD CS servers with Certification Authority Role Service.”
- Microsoft Entra Connect: “For Microsoft Entra Connect servers, you need to install the sensors on both active and staging servers.”
Two scoping points are easy to miss. The staging Entra Connect server is in scope, not only the active one. And an AD FS farm stays in the sensor scope Microsoft names for as long as it runs, even if its retirement is already planned. Build the inventory before anything is installed: every domain controller in every domain, including read-only ones, every federation server, every online certificate authority server, and both Entra Connect servers.
Sensor v3.x or v2.x, and the Defender for Endpoint dependency
When your estate mixes Windows Server versions, the sensor choice is made server by server: it depends on each server’s version and on whether it is already onboarded to Microsoft Defender for Endpoint. Microsoft’s Microsoft Defender for Identity deployment overview page lists sensor v3.x for “Windows Server 2019 or later with the September 2026 or later cumulative update” and sensor v2.x for “Windows Server 2016 or earlier”. It states: “Defender for Identity supports sensor v3.x and sensor v2.x in the same workspace.” On the endpoint dependency it states: “For eligible domain controllers running Windows Server 2019 or later, sensor v3.x supports onboarding with or without Microsoft Defender for Endpoint deployment.” and “AD FS, AD CS, and Microsoft Entra Connect servers must be onboarded to Defender for Endpoint before activation.” It also names two features only the older sensor has: “If your organization requires VPN integration or syslog notifications, use the v2.x sensor on the applicable domain controllers. These features aren’t supported by the v3.x sensor.”
Preview status matters in a regulated change process, so state it as Microsoft does. Microsoft’s Activate the Microsoft Defender for Identity sensor v3.x page states: “Activating the Defender for Identity sensor v3.x on AD FS, AD CS, and Microsoft Entra Connect servers that aren’t domain controllers is in preview.” It also states: “Automatic activation applies only to eligible servers onboarded to Defender for Endpoint.” Microsoft’s Deploy the Microsoft Defender for Identity sensor v3.x page states: “Manual activation of Defender for Identity sensor v3.x on eligible AD FS, AD CS, and Microsoft Entra Connect servers is in preview.” It adds: “This preview applies only to servers that aren’t domain controllers and don’t have an existing Defender for Identity sensor.” And it sets an order: “If you deploy the Defender for Identity sensor v3.x only on AD FS, AD CS, or Microsoft Entra Connect servers, you must also install at least one v3.x sensor on a domain controller.”
In practice, the sensor choice is a server-by-server table your team fills in: Windows Server version, cumulative update level, Defender for Endpoint status, and whether VPN integration or syslog notifications are required. Decide whether a preview path is acceptable under your change policy before you plan around it.
The prerequisites the IT leader owns
If the licensing is not in place, there is no project, so confirm it first. Microsoft’s Microsoft Defender for Identity sensor v2.x prerequisites page lists the licenses that allow a deployment: Enterprise Mobility + Security E5 (EMS E5/A5), Microsoft 365 E5 (Microsoft E5/A5/G5), Microsoft 365 E5/A5/G5/F5 Security, Microsoft 365 F5 Security + Compliance, and a standalone Defender for Identity license. It adds: “Both F5 licenses require Microsoft 365 F1/F3 or Office 365 F3 and Enterprise Mobility + Security E3.” Microsoft’s Microsoft Defender service description states: “Microsoft Defender for Identity features are enabled at the tenant level for all users within the tenant.” This guide states no price for any of these licenses.
Access and accounts come next. Microsoft’s Deploy the Microsoft Defender for Identity sensor v3.x page states: “To create your Defender for Identity workspace, you need a Microsoft Entra ID tenant.” It also states: “You must either be a Security Administrator, or have the following Unified RBAC permissions”. For the older sensor, Microsoft’s Microsoft Defender for Identity sensor v2.x prerequisites page states: “We recommend using at least one Directory Service account, with read access to all objects in the monitored domains.” The older sensor on the other identity roles needs one too. Microsoft’s Configure sensors for AD FS, AD CS, and Microsoft Entra Connect page states: “A v2.x sensor installed on an AD FS, AD CS, or Microsoft Entra Connect server can’t use the local service account to connect to the domain.” On AD FS, that Directory Service account also needs read access to the AD FS database, which is a database permission your database owner grants and records.
Then the servers themselves. Microsoft’s Microsoft Defender for Identity sensor v2.x prerequisites page sets these conditions:
- Time: “The servers and domain controllers onto which the sensor is installed must have time synchronized to within five minutes of each other.”
- Resources for the v2.x sensor: Microsoft’s Microsoft Defender for Identity sensor v2.x prerequisites page states that the sensor “requires the following resources beyond those already used by the operating system and domain controller services”: two cores, 6 GB of RAM, and “6 GB of disk space required, 10 GB recommended, including space for Defender for Identity binaries and logs”.
- Change windows: “We recommend scheduling a maintenance window for your domain controllers” because a restart might be required in some cases, such as when .NET Framework needs to be installed.
The newer sensor is lighter. Microsoft’s Deploy the Microsoft Defender for Identity sensor v3.x page states: “The Defender for Identity sensor v3.x limits CPU utilization to 30% and memory usage to 1.5 GB.” On connectivity it states: “The Defender for Identity sensor uses the same URIs as Microsoft Defender for Endpoint.” Microsoft’s Plan capacity for Microsoft Defender for Identity deployment page states: “The Microsoft Defender for Identity Sizing Tool currently only applies to the sensor version 2.x.”
One prerequisite is a data residency decision, and it cannot be undone. Microsoft’s Microsoft Defender for Identity frequently asked questions page states: “When your Defender for Identity workspace is created, it’s stored automatically in the Azure region that’s closest to your Microsoft Entra tenant’s geographical location.” It adds: “Once your Defender for Identity workspace is created, Defender for Identity data can’t be moved to a different region.” If your organization has a policy on where security data sits, confirm it before the workspace is created, not after.
Auditing: the change that decides what the sensors see
A sensor on a server whose audit policy is wrong sees less than it should. Microsoft’s Configure Windows event auditing page states: “The sensor parses specific Windows event logs from domain controllers, Active Directory Federation Services (AD FS), Active Directory Certificate Services (AD CS), and Microsoft Entra Connect servers.” It continues: “For the correct events to be audited and included in the Windows event log, these servers need the correct advanced audit policy settings.” On automation, it states: “Automatic Windows event auditing is supported only for domain controllers and AD FS, AD CS, and Microsoft Entra Connect servers that use Defender for Identity sensor v3.x.” Servers on the older sensor need that auditing configured by your team, as the same page describes. And for federation servers: “Sensors running on AD FS servers must have the auditing level set to Verbose for relevant events.”
Treat the audit-policy change as its own change record, with an owner and a rollback note, because it touches every domain controller and the federation farm at once. Microsoft’s deployment steps for sensor v3.x also include configuring RPC auditing, so plan it into the same change.
The order of work
When you plan the rollout, start from Microsoft’s own sequence. Microsoft’s Microsoft Defender for Identity deployment overview page lists the v3.x steps as verify prerequisites, activate the sensor, configure Windows event auditing, configure RPC auditing, and validate deployment. Around those steps, a regulated rollout runs in this order:
- Inventory every identity server, its Windows Server version and cumulative update level, and its Defender for Endpoint status.
- Confirm licensing and the admin role or permissions, and settle the workspace region question before the workspace is created.
- Deploy to domain controllers first, because Microsoft requires at least one v3.x sensor on a domain controller when v3.x runs on the other identity roles.
- Deploy to AD FS federation servers, online AD CS servers with the Certification Authority role, and both Entra Connect servers.
- Apply the auditing changes, including Verbose auditing on AD FS.
- Validate the deployment: confirm every sensor reports healthy in the Microsoft Defender portal and that no in-scope server is missing.
- Before go-live, write down the activity you already expect to look suspicious and hand that list to the alert owner named in the next section, who classifies the alerts.
Microsoft’s View and manage security alerts page gives examples of what belongs on that list. It describes a benign true positive as “An action detected by Defender for Identity that is real, but not malicious, such as a penetration test or known activity generated by an approved application.” Your own penetration test calendar and the approved applications that touch Active Directory are where that list starts. Classifying the alerts they raise is the alert owner’s job, not part of the deployment.
If you run in a US government cloud, one more check applies. Microsoft’s Microsoft Defender for Identity for US Government offerings page states: “The Defender for Identity GCC, GCC High, and Department of Defense (DoD) offerings are built on the Microsoft Azure Government Cloud and are designed to inter-operate with Microsoft 365 GCC, GCC High, and DoD.” It also states: “Preview features may not be supported in the GCC, GCC High, and DoD environments.” Any preview path named in this guide is a question to confirm for your environment before you plan around it.
What the deployment produces, and what it does not replace
Once sensors report, the output is alerts, posture findings and attack-path analysis. Microsoft’s Security alerts in Microsoft Defender for Identity page groups alerts into reconnaissance and discovery, persistence and privilege escalation, credential access, and lateral movement. Microsoft’s Microsoft Defender for Identity overview page lists “Identity security posture assessments available through Microsoft Secure Score” and “Analysis of lateral movement paths that reveal how an attacker could traverse the environment” among its capabilities. Microsoft’s Microsoft Defender for Identity’s security posture assessments page adds a coverage condition: “certificate authority assessments are available only to customers who have installed a sensor on an AD CS server.”
Microsoft is also clear about what the product is not. Its Security alerts in Microsoft Defender for Identity page states: “Defender for Identity isn’t designed to serve as an auditing or logging solution that captures every single operation or activity on the servers where the sensor is installed.” It continues: “It only captures the data required for its detection and recommendation mechanisms.” For a regulated organization, that means the deployment adds detection; it does not replace the audit logging and retention your assessors ask to see.
The ownership decision to make before go-live
When the sensors go live, the licensing has not decided who owns the alerts; your organization has to. Microsoft’s View and manage security alerts page states: “Defender for Identity security alerts can be classified as true positive, benign true positive, or false positive.” Someone has to make that call on every alert, and settle four questions in writing before the sensors go live:
- Who watches the alert queue, and how quickly.
- Who classifies each alert as a true positive, benign true positive or false positive.
- Who has the authority to act on a compromised identity, such as disabling an account or resetting credentials.
- Who covers nights, weekends and holidays.
The options fall into three groups. Your own security team can own the queue. A managed detection and response provider your organization selects can own it under contract. Or Microsoft offers its own service: Microsoft’s Microsoft Defender service description states: “Microsoft Defender Experts for XDR is a managed extended detection and response service that helps your security operations centers (SOCs) focus and accurately respond to incidents that matter.” The same page lists Microsoft Defender for Identity among the services it covers.
If the answer to the ownership questions is that no one has the capacity today, settle that before go-live; sensors that report into an unowned queue give the organization alerts with no one accountable for them.
When this guide is the wrong starting point
If your situation is one of these, start somewhere else or confirm one fact first.
- If the question is whether Defender products meet a named framework such as CMMC, this guide does not answer it; for defense readers the product-scope view is in Microsoft 365 CMMC compliance consulting.
- If the real decision is how to move sign-in away from AD FS, that is a separate authentication-model question; this guide only notes that a running federation farm stays in the sensor scope.
- If what you need is someone to watch and respond to alerts, you need a security operations capability, not a deployment project.
- If your tenant is in GCC, GCC High or DoD, confirm any preview feature is supported there before you plan around it.
- If your domain controllers are not yet on a version the newer sensor supports, plan the older sensor or the server upgrade first, and let that decision set the timeline.
How i3solutions approaches it
When an IT leader has to turn Defender for Identity on across a regulated Active Directory estate, the work is a project with an end date: scoping the identity servers and their versions, closing the prerequisites, rolling out the sensors, configuring event auditing under your change control, validating the deployment (confirming every sensor reports healthy in the portal, not classifying alerts), and working with your organization to settle the ownership decision before go-live. The alert queue, and every classification and response decision in it, stays with the owner your organization names. This work sits within i3solutions’ identity practice, described in identity and access management solutions.
The Decision Before Go-Live
Name the alert owner in writing before the first sensor goes live.
Sources
- Microsoft Defender for Identity deployment overview
- Microsoft Defender for Identity overview
- Microsoft Defender for Identity frequently asked questions
- Configure sensors for AD FS, AD CS, and Microsoft Entra Connect
- Activate the Microsoft Defender for Identity sensor v3.x
- Deploy the Microsoft Defender for Identity sensor v3.x
- Microsoft Defender for Identity sensor v2.x prerequisites
- Microsoft Defender service description
- Plan capacity for Microsoft Defender for Identity deployment
- Configure Windows event auditing
- View and manage security alerts
- Microsoft Defender for Identity for US Government offerings
- Security alerts in Microsoft Defender for Identity
- Microsoft Defender for Identity’s security posture assessments
Frequently Asked Questions
A sensor on every identity server, the prerequisites for each, and a named alert owner. According to Microsoft Learn, sensors are installed on all domain controllers, including read-only domain controllers, and on AD FS, AD CS and Microsoft Entra Connect servers that are not domain controllers, and each server must meet the operating system, account, auditing and connectivity requirements for its sensor version. Before go-live, the organization decides who classifies and responds to the alerts.
Every domain controller and the other identity servers. According to Microsoft Learn, that means all domain controllers including read-only domain controllers, AD FS federation servers but not Web Application Proxy servers, AD CS servers with the Certification Authority role service that are online, and both active and staging Microsoft Entra Connect servers.
Yes. According to Microsoft Learn, sensors on AD FS are supported only on the federation servers, Microsoft Entra Connect needs sensors on both active and staging servers, and a v2.x sensor on either role cannot use the local service account, so it needs a Directory Service account. According to Microsoft Learn, AD FS servers also need auditing set to Verbose for relevant events.
According to Microsoft Learn, AD FS, AD CS and Microsoft Entra Connect servers must be onboarded to Defender for Endpoint before activating sensor v3.x, while eligible domain controllers running Windows Server 2019 or later can be onboarded with or without it. According to Microsoft Learn, servers running Windows Server 2016 or earlier use sensor v2.x.
According to Microsoft Learn, the licenses that allow a deployment are Enterprise Mobility + Security E5 (EMS E5/A5), Microsoft 365 E5 (Microsoft E5/A5/G5), Microsoft 365 E5/A5/G5/F5 Security, Microsoft 365 F5 Security + Compliance, and a standalone Defender for Identity license, and the two F5 licenses have their own prerequisite licenses. According to Microsoft Learn, its features are enabled at the tenant level for all users within the tenant.
Whoever your organization names before go-live, in writing. According to Microsoft Learn, alerts are classified as true positive, benign true positive or false positive, so the owner must be able to classify alerts and act on a compromised identity at any hour. The options are an internal security team, a managed detection and response provider the organization selects, or Microsoft Defender Experts for XDR, Microsoft’s own managed service.





