Most engineers think…
Most people lump 'automation rules' and 'playbooks' together as one fuzzy thing called 'Sentinel automation', and freeze in an interview when asked the difference.
They are two distinct layers. An automation rule is a no-code orchestrator that lives inside Microsoft Sentinel: it fires on an incident being created or updated, checks conditions, and runs simple actions in order — tag, assign an owner, change severity, close, add tasks — and it can call a playbook. A playbook is a workflow built on Azure Logic Apps that does the real work across other systems: enrich an IP, message Teams, open a ServiceNow ticket, disable an Entra user, isolate a device. Knowing that split — rule = traffic cop, playbook = the actions — is what lets you design a clean auto-response instead of a tangle.
① The incident lifecycle — how alerts become a case you can work
Analytics rules raise alerts — single pieces of evidence. On their own they are noise. Sentinel (and the Defender correlation engine) group related alerts into an incident: one case file holding the alerts, the entities (users, hosts, IPs), comments and tags. Unlike an alert, an incident is modifiable and tracks the evolving attack story.
Every incident carries three triage fields you must name: a status (New, Active, Closed), an owner (the analyst assigned), and a severity (Informational, Low, Medium, High). When an incident is closed it also gets a classification — True Positive, Benign Positive, False Positive or Undetermined. Analysts triage from the incident queue; this is the focal point of the SOC.
The interview line: you automate around incidents, not raw alerts, because the incident is the thing with status, owner and the full evidence trail.
What is the difference between an alert and an incident in Sentinel?
② Automation rules — the no-code traffic cop
An automation rule manages incident handling from one central place, no code required. It has a trigger — fire when an incident is Created or Updated (or on alert creation) — a set of conditions (e.g. severity is High, title contains a keyword, a specific analytics rule), and an ordered list of actions.
What the actions can do
Without any playbook, a rule can add tags, assign an owner, change severity or status, close an incident with a classification, and add analyst tasks (a checklist on the incident). It can also run a playbook for heavier work, and apply to many analytics rules at once.
Two details interviewers love: order — rules run sequentially by an order number, and a later rule sees the incident as left by earlier rules; and an expiration date — a time-limited rule, perfect for auto-closing the 'noise' from a planned penetration test or maintenance window.
A case file grouping related alerts, entities and comments. Carries a status, an owner and a severity — the unit you automate around.
No-code orchestrator inside Sentinel. Fires on incident created/updated, checks conditions, runs ordered actions: tag, assign, close, add tasks, call a playbook.
An Azure Logic Apps workflow of response actions. Triggered by an incident, alert or entity; chains connectors to enrich, notify, disable or isolate.
A pre-built Logic Apps integration to another system — Teams, ServiceNow, Entra ID, Defender for Endpoint — so the playbook can act without custom code.
In an interview, anchor the answer on the split: an automation rule is the no-code orchestrator inside Sentinel (triggers, conditions, order, tag/assign/close) and it can call a playbook; the playbook is the Logic Apps workflow that does cross-system work (enrich, notify, disable, isolate). State that one line and you've nailed the most common Sentinel SOAR question.
Which of these can an automation rule do WITHOUT any playbook?
③ Playbooks — Azure Logic Apps doing the real work
A playbook is a collection of response actions built as a workflow in Azure Logic Apps. That gives you a visual designer plus a huge gallery of connectors (Teams, ServiceNow, Jira, Entra ID, Defender for Endpoint, and more).
The Microsoft Sentinel connector offers three triggers: the incident trigger (recommended — receives the whole incident with its alerts and entities), the alert trigger, and the entity trigger (run on a single user/IP/host during hunting). After the trigger come the actions: typical patterns are enrich (look up an IP or user), notify (post to a Teams channel), block/disable (disable an Entra user, block an IP) and isolate (isolate a device via Defender for Endpoint).
Key rule: only incident-triggered playbooks can be called by an automation rule. Alert- and entity-triggered playbooks are run manually.
A common slip is thinking automation rules do everything. They only do in-Sentinel actions (tag, assign, severity, status, close, tasks). Anything that touches another system — isolate via Defender for Endpoint, disable an Entra user, open a ServiceNow ticket, post to Teams — needs a playbook with the right Logic Apps connector. Map each action to the right layer.
▶ Watch a compromised account get contained end-to-end
How one incident drives an automatic response. Press Play for the healthy path, then Break it to see the classic failure.
You want a playbook to run automatically when an incident is created. Which trigger must it use?
④ Designing a response — manual vs auto, and the 2026 portal
You can run a playbook manually — open an incident, choose Run playbook, pick a human-in-the-loop action — or automatically, by attaching it to an automation rule so it fires the moment an incident is created. The pro move: start manual, watch the runs in the Logic Apps run history, then promote the trusted ones to fully automatic.
Where this lives in 2026
Everything now runs in the unified Microsoft Defender portal, where Sentinel and Defender XDR share one incident queue with bi-directional sync of status, owner and closing reason. (Microsoft Sentinel in the standalone Azure portal retires on 31 March 2027, so the Defender portal is the place to learn.)
Good auto-response design is about SOC efficiency: automate the boring, repeatable, low-false-positive steps (enrich, tag, ticket, notify), keep a human gate before high-impact actions (isolate, disable), and use automation rules to cut alert fatigue so analysts spend time on the real attack story.
Rohit at a Pune fintech SOC faces this
A 'suspicious sign-in' analytics rule starts firing dozens of incidents a night during a scheduled load test, and a new auto-response playbook is disabling real test accounts.
The playbook was attached to an automation rule with no condition scoping and no expiry, so it disables users for every matching incident — including planned test traffic.
Open the incident queue and the Logic Apps run history — most disabled accounts are the load-test service accounts; the rule had no condition on severity or account type and ran straight to disable.
Defender portal ▸ Microsoft Sentinel ▸ Configuration ▸ Automation ▸ Automation rulesAdd conditions (exclude the test accounts, require High severity), set the playbook to notify Teams for approval instead of auto-disable, and add a time-limited suppression rule with an expiry to auto-close the load-test noise.
Re-run the load test: noisy incidents auto-close, no real accounts are disabled, and genuine suspicious sign-ins still raise an incident and ping the SOC channel.
Never trust 'the playbook probably ran'. Every playbook run is logged in Azure Logic Apps with each action's input and output. Open the run, follow it action by action, and you can see exactly where it succeeded or failed (e.g. a missing Defender 'Machine.Isolate' permission) instead of guessing.
What is the safest way to roll out a playbook that isolates a device?
🤖 Ask the AI Tutor
Tap any question — instant, scoped to this lesson. No login, no waiting.
Pre-curated from vendor docs + community Q&A, scoped to this lesson. For a live prod issue, paste your export into chat.techclick.in.
📝 Wrap-up assessment — six more
You've answered 4 inline. Six left. 70% (7 of 10) marks the lesson complete on your profile. Tap Submit all answers at the end.
🧠 In your own words
Type one line: what is the difference between a Sentinel automation rule and a playbook? Then compare with the expert version.
🗣 Teach a friend
Best way to lock it in — explain it in one line to a teammate. Tap to generate a paste-ready summary.
📖 Glossary
- Incident
- A case file in Microsoft Sentinel that groups related alerts, entities, comments and tags. Carries a status, owner and severity.
- Alert
- A single piece of evidence raised by an analytics rule. Many alerts can be grouped into one incident.
- Status / owner / severity
- The triage fields on an incident: status (New/Active/Closed), the assigned analyst (owner), and severity (Informational/Low/Medium/High).
- Automation rule
- A no-code orchestrator in Sentinel that fires on incident created/updated, checks conditions, and runs ordered actions — tag, assign, change severity, close, add tasks, call a playbook.
- Playbook
- A response workflow built on Azure Logic Apps, triggered by an incident, alert or entity, that chains connector actions to enrich, notify, disable or isolate.
- Azure Logic Apps
- The cloud workflow service that playbooks are built on, providing a visual designer, a connector gallery and a per-action run history.
- Connector
- A pre-built Logic Apps integration to another system (Teams, ServiceNow, Entra ID, Defender for Endpoint) so a playbook can act without custom code.
- Trigger (playbook)
- What starts a playbook: the incident trigger (whole incident), the alert trigger, or the entity trigger. Only incident-triggered playbooks can auto-run from a rule.
- Automation rule order
- The sequence number that controls which automation rules run first; a later rule sees the incident as left by earlier rules.
- Unified Defender portal
- The single security.microsoft.com portal where Sentinel and Defender XDR share one incident queue; the Azure portal Sentinel experience retires 31 Mar 2027.
📚 Sources
- Microsoft Learn — Automation in Microsoft Sentinel: Security orchestration, automation, and response (SOAR). learn.microsoft.com/azure/sentinel/automation/automation
- Microsoft Learn — Automate threat response in Microsoft Sentinel with automation rules (triggers, conditions, order, expiration). learn.microsoft.com/azure/sentinel/automate-incident-handling-with-automation-rules
- Microsoft Learn — Automate threat response with playbooks in Microsoft Sentinel (Logic Apps, roles). learn.microsoft.com/azure/sentinel/automation/automate-responses-with-playbooks
- Microsoft Learn — Supported triggers and actions in Microsoft Sentinel playbooks (incident / alert / entity). learn.microsoft.com/azure/sentinel/automation/playbook-triggers-actions
- Microsoft Learn — Automate and run Microsoft Sentinel playbooks (manual vs automatic, Defender portal). learn.microsoft.com/azure/sentinel/automation/run-playbooks
- Microsoft Learn — Microsoft Sentinel in the Microsoft Defender portal & Defender XDR integration (unified incident queue, bi-directional sync). learn.microsoft.com/azure/sentinel/microsoft-sentinel-defender-portal
What's next?
Got the response side? Next, go back to the start of the pipeline: how KQL and analytics rules turn raw logs into the alerts that became these incidents — scheduled queries, entity mapping and incident-creation settings.