Microsoft Sentinel
Automate Threat Response with Playbooks
Build Logic Apps playbooks for incident enrichment, SOC notifications, account remediation with approval, device isolation and ticket sync, and run them from automation rules.
Where it fits: lab 5 of 5
Detect, hunt and respond in Microsoft Sentinel. Write detections, automate response, hunt by MITRE technique, then go deep on analytics rules, watchlists and playbooks.
- Build KQL Analytics Rules & Threat Detection 90 min
- Automate Incident Response with Playbooks 90 min
- Enterprise Threat Hunting with MITRE ATT&CK 120 min
- Threat Detection with Analytics Rules, Watchlists and the Rule KQL API 5.3 h
- Automate Threat Response with Playbooks 2.5 h
What this lab covers
In this hands-on lab you will configure the RBAC permissions required for playbook execution, create multiple playbooks using Azure Logic Apps (both Consumption and Standard), build enrichment playbooks that add threat intelligence and user context to incidents, create response playbooks that isolate compromised devices and disable compromised accounts, set up SOC notification playbooks via Microsoft Teams and email, configure automation rules that trigger playbooks automatically on incident creation, deploy playbooks from Content Hub templates, and monitor playbook health and execution history.
The enterprise scenario
A regional bank with a 6-person SOC team handles 200+ incidents per week. Their analysts spend significant time on repetitive tasks: looking up user details in Entra ID, checking IP reputation, posting incident summaries to the Teams SOC channel, and creating tickets in ServiceNow. For high-severity incidents involving compromised credentials, they must manually disable user accounts and revoke sessions - a process that can take 15-30 minutes of analyst time. By implementing playbooks, the bank can automate enrichment (reducing investigation time from 15 minutes to seconds), automatically notify the SOC channel of critical incidents, and auto-remediate compromised accounts within 60 seconds of detection - all while maintaining human-in-the-loop approval for destructive actions.
What you will learn
- Configure RBAC permissions for Microsoft Sentinel playbook execution
- Create a Consumption Logic App playbook from scratch
- Build an incident enrichment playbook (IP reputation, user details)
- Build a response playbook (disable account, revoke sessions)
- Create a SOC notification playbook (Teams, email)
- Build an orchestration playbook that chains multiple sub-playbooks
- Configure automation rules to trigger playbooks on incident creation
- Deploy playbook templates from the Content Hub
Before you start
- Microsoft Sentinel workspace - With active data connectors and analytics rules (from previous labs)
- Owner or User Access Administrator role - Required to grant Microsoft Sentinel the Automation Contributor role
- Logic App Contributor role - Required to create and manage Consumption logic apps
- Microsoft Sentinel Contributor role - Required to attach playbooks to automation rules
- Microsoft Sentinel Playbook Operator role - Required to run playbooks manually
- Microsoft Teams (optional) - For the SOC notification playbook
- Microsoft 365 license - For the email notification playbook
The 10 steps
- Configure RBAC Permissions for Playbooks
- Create Your First Playbook (Incident Trigger)
- Build an Incident Enrichment Playbook
- Build a Response Playbook (Account Remediation)
- Create a SOC Notification Playbook
- Build a Device Isolation Playbook
- Configure Automation Rules to Trigger Playbooks
- Deploy Playbook Templates from Content Hub
- Test and Debug Playbooks
- Monitor Playbook Health & Performance
Related labs
Deploy Microsoft Sentinel & Ingest Identity Logs
Provision a Log Analytics workspace, deploy Microsoft Sentinel, configure the Microsoft Entra ID data connector, verify log ingestion with KQL, and create your first analytics rule to detect suspicious sign-in patterns.
Forward Logs to Microsoft Sentinel: Foundation, Windows, Linux and Custom Connectors
Build the shared workspace and data collection foundation, forward Windows and Linux events from on-premises collectors through Azure Arc, and write a custom connector with Azure Functions and the Logs Ingestion API.
Onboard and Explore the Microsoft Sentinel Data Lake
Check prerequisites, onboard to the Sentinel data lake in the Defender portal, set table tiers, hunt across months of data with KQL, promote data with jobs, run notebooks for ML detection and govern cost.
Microsoft Sentinel Rapid Prototyping: 5-Day Proof-of-Concept Workshop
Stand up a unified SOC proof of concept in five days: portal tour, data onboarding with two-tier storage, watchlists and detections, workbooks, automation, the Sentinel MCP server in VS Code and a capture-the-flag capstone.