Defender for Identity
Integrate MDI with Sentinel & Automate Response
Connect Defender for Identity alerts to Sentinel, build identity analytics rules and playbooks that disable compromised accounts, deploy identity workbooks and run an automated response workflow.
Where it fits: lab 4 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
This lab connects Microsoft Defender for Identity (MDI) with Microsoft Sentinel to create a unified identity threat detection and automated response pipeline. You will ingest MDI alerts into Sentinel, build custom analytics rules that detect credential theft, lateral movement, and privilege escalation patterns, create Logic App playbooks that automatically disable compromised accounts and send Teams notifications, and deploy Sentinel workbooks that give your SOC real-time visibility into identity threats across on-premises Active Directory and cloud identities.
The enterprise scenario
A financial services company with 15,000 employees and a hybrid Active Directory environment detects an average of 40 identity-related alerts per day from MDI. Their 6-person SOC manually triages each alert in the Defender XDR portal and copies findings to their Sentinel workspace for correlation. Mean time to contain a compromised account is 4 hours. The CISO wants to reduce this to under 15 minutes by automating the detection-to-response pipeline: MDI detects the threat, Sentinel correlates and enriches the alert, a playbook automatically disables the compromised account, and the SOC is notified via Teams. all within minutes of the initial detection.
What you will learn
- Connect the Microsoft Defender XDR data connector to ingest MDI alerts into Sentinel
- Explore MDI data tables in Log Analytics (IdentityLogonEvents, IdentityDirectoryEvents, IdentityQueryEvents)
- Create custom analytics rules for identity-specific threat patterns
- Build a Logic App playbook that automatically disables compromised user accounts
- Create automation rules that trigger playbooks on identity alerts
- Deploy a Sentinel workbook for identity threat monitoring dashboards
- Correlate MDI alerts with Entra ID sign-in data for comprehensive identity investigation
- Implement a tiered response workflow with human-in-the-loop for high-impact actions
Before you start
- Completed Labs 01–03 . MDI sensors deployed, detections configured, attack path investigation completed
- Microsoft Sentinel workspace . deployed and active (see Sentinel Lab 01 )
- Microsoft Sentinel Contributor role . to create analytics rules, automation rules, and playbooks
- Logic App Contributor role . to create and manage automation playbooks
- Microsoft Entra ID P2 license . for risky user APIs and Conditional Access integration
- An Azure AD / Entra ID test account . for safely testing account disable automation
The 12 steps
- Connect MDI Data to Sentinel
- Explore MDI Data Tables in Log Analytics
- Create Identity Analytics Rules
- Build an Account Disable Playbook
- Build a SOC Notification Playbook
- Create Automation Rules
- Deploy an Identity Threat Workbook
- Correlate MDI with Entra ID Sign-In Data
- Test the End-to-End Pipeline
- Implement Human-in-the-Loop for High-Impact Actions
- Monitor Automation Health
- Clean Up & Next Steps