Defender for Identity
Deploy MDI Sensors on All Supported Servers
Deploy Microsoft Defender for Identity sensors across domain controllers, AD FS, AD CS, and Microsoft Entra Connect. Choose v3.x activation with Defender for Endpoint, v3.x identity-only onboarding, v2.x installation, or supported in-place migration.
Where it fits: lab 1 of 4
Detect and stop identity attacks with Defender for Identity. Deploy sensors, tune identity threat detection, investigate an attack path and automate the response through Sentinel.
- Deploy MDI Sensors on All Supported Servers 120 min
- Configure Identity Threat Detection 90 min
- Investigate an Identity-Based Attack Path 120 min
- Integrate MDI with Sentinel & Automate Response 120 min
What this lab covers
Microsoft Defender for Identity (MDI) collects signals from on-premises identity infrastructure to detect identity threats and expose security posture issues. Install sensors on all domain controllers, including read-only domain controllers (RODCs), and supported AD FS, AD CS, and Microsoft Entra Connect servers. v3.x is recommended for eligible Windows Server 2019 or later servers with the September 2026 or later cumulative update. It can be activated on servers already onboarded to Defender for Endpoint (MDE), or deployed with an identity-only onboarding package without full MDE deployment. v3.x on non-DC AD FS, AD CS, and Entra Connect servers is in preview. Use v2.x on supported older servers and where v2.x-only features are required. Mixed v2.x/v3.x workspaces are supported. Follow only the deployment branch that applies to each server.
The enterprise scenario
Fabrikam Inc., a manufacturing company with 5,000 employees, operates a multi-site AD forest with 12 domain controllers across two domains. The security team has identified gaps in identity threat visibility: pass-the-hash attacks, Kerberoasting, and DCSync operations go undetected by traditional log monitoring. A recent penetration test revealed that an attacker could escalate from compromised workstation to domain admin within 4 hours without triggering alerts. The CISO has mandated real-time identity threat detection across all DCs within 30 days.
Success criteria: all inventoried DCs and applicable identity-role servers covered, sensors healthy, required auditing enabled, expected hunting data and entity profiles present, and initial identity security assessments reviewed. Record any preview-policy or operating-system blockers rather than marking those servers complete.
What you will learn
- Understand MDI architecture, supported server types, and sensor v2.x vs v3.x selection
- Verify prerequisites across domain controllers, AD FS, AD CS, and Entra Connect servers
- Configure proxy settings for sensors that cannot reach the internet directly
- Configure a v2.x Directory Service Account only where needed, separately from action accounts
- Use Sensor management to identify activation, onboarding, and migration actions
- Activate v3.x through MDE or use the v3.x identity-only onboarding package
- Install v2.x interactively or silently with appropriate restart and secret handling
- Migrate eligible domain controllers from v2.x to v3.x and plan a staged rollout
Before you start
- Licensing: Microsoft Defender for Identity (included in Microsoft 365 E5, EMS E5, or standalone)
- OS (v2.x): Supported Windows Server 2016/2019/2022/2025 installations. Use v3.x where eligible. Do not treat legacy Windows Server 2012/R2 sensors still reporting as a recommendation for new deployments.
- OS (v3.x): Windows Server 2019 or later with the September 2026 or later cumulative update for sensor 3.0.10 or later. Consult the current per-OS update requirements .
- Onboarding (v3.x): Activate on an MDE-onboarded server, or use the v3.x onboarding package for a new identity-only deployment. The latter uses Sense in restricted identity-only mode, not the full MDE experience. Existing v2.x sensors require the separate migration path.
- Resources: v2.x needs two cores, 6 GB RAM, and 6 GB disk (10 GB recommended) beyond existing OS/server-role usage; use the v2.x sizing tool. v3.x limits sensor CPU utilization to 30% and memory to 1.5 GB; monitor for throttling or restarts under pressure. Fully reserve VM memory; disable Hyper-V Dynamic Memory.
- .NET Framework (v2.x): .NET Framework 4.7 or later installed
- Admin Access: Local administrative access for server installation, and appropriately delegated AD/GPO permissions for directory accounts and auditing changes. Use privileged domain access only for steps that require it.
- Portal Access: Security Administrator, or the documented Unified RBAC permissions System settings (Read and manage) and Security settings (All permissions) .
The 12 steps
- Review MDI Architecture and Plan Deployment
- Verify Version-Specific Prerequisites
- Configure Proxy Settings
- Configure the Directory Service Account (DSA/gMSA) — v2.x Only
- Review Sensor Management and Select the Onboarding Package
- Activate Sensor v3.x With or Without MDE
- Install Sensor v2.x Where Required
- Migrate Eligible DCs and Roll Out in Stages
- Deploy Sensors on AD FS, AD CS, and Entra Connect Servers
- Configure Auditing and Verify Sensor Health
- Validate Entity Detection and Security Assessments
- Establish Ongoing Monitoring and Maintenance