Microsoft Sentinel
Automate Incident Response with Playbooks
Create Logic App playbooks to auto-enrich incidents with threat intelligence, post formatted notifications to Microsoft Teams, isolate compromised accounts in Entra ID, and build end-to-end automated remediation workflows triggered by Sentinel automation rules.
Where it fits: lab 2 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 build a production-grade SOAR (Security Orchestration, Automation, and Response) workflow using Microsoft Sentinel playbooks powered by Azure Logic Apps. You will create a multi-action playbook that triggers automatically when a high-severity incident is created, enriches the incident with threat intelligence and geolocation data, posts a formatted adaptive card to a Microsoft Teams SOC channel, disables compromised user accounts in Microsoft Entra ID, revokes active sessions, and writes a complete evidence trail back to the incident timeline. By the end of this lab you will have a fully automated incident response pipeline that reduces mean time to respond from hours to seconds.
The enterprise scenario
A healthcare company with 5,000 employees receives over 200 low and medium severity incidents daily across identity, endpoint, and cloud workloads. Their SOC team of 8 analysts cannot keep pace with manual triage: the current mean time to respond (MTTR) is 4 hours. Critical incidents involving compromised credentials sit in queues while analysts manually look up IP reputation, check geolocation, notify the on-call team via email, and navigate to the Entra ID portal to disable accounts. Regulatory requirements (HIPAA) demand that compromised accounts are contained within 15 minutes of detection. Leadership has mandated automated triage, enrichment, notification, and containment workflows to reduce MTTR from 4 hours to under 15 minutes while freeing analysts to focus on high-complexity investigations.
What you will learn
- Understand the Sentinel automation architecture: automation rules vs. playbooks vs. Logic Apps
- Register and authorize the Microsoft Sentinel Logic App connector
- Create a Logic App playbook triggered by Sentinel incidents
- Enrich incidents with IP geolocation and threat intelligence lookups
- Post formatted adaptive cards to Microsoft Teams channels
- Automate account isolation: disable users and revoke sessions in Entra ID
- Build automation rules that trigger playbooks based on incident properties
- Test playbooks with simulated incidents and debug failures
Before you start
- Completed Labs 1 & 2 : Microsoft Sentinel deployed with data connectors and analytics rules configured ( Lab 01 , Lab 02 )
- Microsoft Sentinel Contributor role : Required to create automation rules and assign playbooks to incidents
- Logic App Contributor role : Required to create and manage Logic App resources in the resource group
- User Administrator role in Entra ID : Required for the account isolation actions (disable user, revoke sessions)
- Microsoft Teams : A Teams channel designated for SOC notifications (create a “SOC-Alerts” channel in any team)
- Azure CLI or PowerShell Az module : For deploying resources via command line (optional but recommended)
- Microsoft 365 E5 or E5 Security : Provides the necessary Graph API permissions for identity actions
The 10 steps
- Understand Sentinel Automation Architecture
- Register the Microsoft Sentinel Logic App Connector
- Create a Logic App Playbook for Incident Enrichment
- Add Threat Intelligence Enrichment Actions
- Configure Teams Notification Actions
- Add Account Isolation Actions
- Create an Automation Rule to Trigger the Playbook
- Test with a Simulated Incident
- Monitor Playbook Runs and Debug Failures
- Build a Remediation Evidence Collector
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.