What you'll be able to do
Before you start
Course Syllabus
Every module and every lesson. The first three modules are open; the rest open on a click.
Download the full syllabus (PDF) Download the lab pack
Phase 1: Building the Workflow
What the course builds and how it is built, the tools and their versions, installing them with the lab pack, and your first workflow run in the local runtime against the harness.
Build a Logic Apps Standard security playbook and run it locally: read an incident safely, decide, look up devices in Defender, comment on the incident and fail with a record.
Specify a security playbook as cases and run them on every change: decisions, inputs, outputs, components, stop conditions and regression checks.
Give a security playbook least-privilege identities: one token per API, a reader and a writer, a permission matrix run as tests, secrets out of run history and the repository, and a rotation with no failed run.
Phase 2: Evidence, APIs and Code
Add query evidence to a security playbook: the Log Analytics query API, saved functions with guarded parameters, a tested window, and a sentence for every way a query can fall short.
Call the Microsoft security APIs from a playbook: Graph alerts paged to the end, a shared child workflow with one vocabulary of failure, Defender rate limits, and an antivirus scan polled to its end.
Enrich the triage comment with the account, device, addresses and threat intelligence through saved workspace functions, audit the watchlists behind them, and keep a traceable evidence record of every fact.
Put code where the workflow needs it: inline JavaScript, inline PowerShell, and a tested PowerShell Azure Function that reads Microsoft Graph with its own identity and answers the playbook in one contract.
Show 8 lessonsHide lessons
- 7.17.1 When the Workflow Needs Code
- 7.27.2 Inline JavaScript
- 7.37.3 Inline PowerShell
- 7.47.4 A PowerShell Azure Function
- 7.57.5 Calling Microsoft Graph from the Function
- 7.67.6 Calling the Function from the Playbook
- 7.77.7 Testing the Function
- 7.87.8 Exercise: A Graph Function for the Escalation Check
Phase 3: Approval and Response
Ask an analyst before acting: an approval record bound to one device and one action, sent through the HTTP Webhook action with an expiry, a decision that must match its request, and a recheck before anything is done.
Act on an approval and verify it: isolate a device once, follow the machine action to its end, verify against the record, release with its own approval, disable an account through Graph, and package both as templates.
Make the triage playbook safe to run twice: guard each action against earlier work, key comments so reruns update them, close the race between concurrent runs, handle malformed entities, and label a failed containment.
Phase 4: Deployment and Operations
Put the triage playbook into a tenant: managed identities, Bicep infrastructure, the Sentinel trigger, automation rules as code, a pipeline that checks before it deploys, and a rollback that switches the rules off first.
Keep the deployed playbook working: the health log, the run log, four alert rules, a cost model, retention and a generated handover; then the capstone, one incident through every stage in seven cases.
Phase 0: Course Resources
One sheet per subject of the course: the question, the workflow fragment, query or command that answers it, what to read in the result and what it does not prove.
Seven runbooks, one per stage of building a security playbook: the lab, the specification, identities, evidence, containment, running twice safely, and deployment with its handover.
The local lab every lesson runs in: what each part plays, what replaces it in a tenant, the settings and faults it can switch on, and how to prove it works and how far back its data reaches.
Show 3 lessonsHide lessons
The six investigations the course automates, each worked end to end with the wrong turns: a suspicious sign-in, endpoint execution, a reported phish, an indicator, repeated incident updates and a failed containment.
The template pack, and one playbook for each thing that fires once the triage playbook is deployed: a rule run that did not start it, a failed run, a failed containment, an incident nothing touched, and a release that did not verify.
Show 6 lessonsHide lessons
The exercise that closes each module, with what each asks you to build, the lab it runs in, and how it is checked.
Show 1 lessonHide lessons
Every Microsoft Learn page the lessons were built from, grouped by product, each with the lessons that rely on it.
Show 1 lessonHide lessons
Course Completion
Security Automation Engineering end-of-course exam: 29 questions in four parts, from building the workflow to operating it, ending on a case study.
Show 1 lessonHide lessons
Course overview
A security playbook is software that acts on people's devices and accounts when an incident arrives. This course builds one, a Logic Apps Standard workflow for Microsoft Sentinel, from its first trigger to a deployment you operate, and proves every decision it makes before it makes it.
Modules 1 to 3 build the workflow, its specification as cases that run, and the identities it calls with. Modules 4 to 7 gather evidence through the query API, Microsoft Graph and Defender, enrich it, and add code where an expression is not enough. Modules 8 to 10 ask an analyst, contain a device or an account and verify it, and make the playbook safe when the same incident arrives twice. Modules 11 and 12 deploy it to your own tenant and operate it, and end on a capstone.
How this course works
Built and run, every lesson. Each of the 96 lessons changes the playbook and runs it: in the real Logic Apps runtime on your machine, against a harness that plays the Microsoft APIs from their documented shapes and lists every choice it had to make. Every run shown in a lesson is a run that happened.
Specified as cases. The playbook's decisions are written as cases that send an incident and check the reply, the run and the comment. A change that fails a case is reverted or decided, and the capstone's cases check your playbook the way they checked the reference.
Six investigations. A suspicious sign-in, endpoint execution, a reported phish, a malicious indicator, repeated incident updates and a failed containment, each with the control that makes automating it safe, and each worked end to end in the course resources. Two end with no action, because the evidence did not support one.
What you will learn
Who this course is for
SOC analysts and security engineers who build or maintain Sentinel playbooks, or are about to. No prior Logic Apps experience is assumed: JSON, HTTP and the workflow definition are taught from first principles in Module 0 and Module 1. Some KQL, PowerShell or Python makes it go faster.
What this course does not cover: writing the detections whose incidents start the playbook (Threat Detection Engineering), investigation technique beyond what a playbook automates (Microsoft Security Operations), and third-party SOAR platforms. Microsoft's native automation layers (automation rules, the Sentinel connectors, Defender XDR response actions, Entra ID Protection and Copilot agents) and building in your own Sentinel workspace are covered in SEC412 Microsoft Security Automation, which builds on this course.
Things you need to know
What are the prerequisites?
None. Familiarity with Microsoft Sentinel helps you move faster, but every service, file and term is explained where it is first used.
What do I need?
A computer that runs Visual Studio Code with the Azure Logic Apps (Standard) extension, Python and Node.js; Module 0 installs each and checks its version, and the lab pack is one download. Modules 0 to 10 need no Azure subscription. Module 11 deploys to a Microsoft 365 tenant and an Azure subscription of your own.
What will I be able to do after this course?
You'll be able to build, test and run Sentinel playbooks as a SOC or security engineer: playbooks that gather evidence and say what it does not show, contain only on a matched approval and verify the result, and survive failure. You finish with a triage playbook ready to deploy, its specification, its templates and an operations handover.
Usage rights and disclaimer
Course materials: Licensed for individual professional development. You may deploy the workflows, templates, queries and functions in your own environment. You may not redistribute course content or share account credentials.
Automation artifacts: Provided as-is. Test every workflow in a non-production workspace first. Containment acts on real devices and accounts; the templates require approval and a recheck, and you are responsible for what they are allowed to act on.
Fictional environment: The lessons use a fictional company, Northgate Engineering. Any resemblance to real organizations is coincidental. The harness is a course tool, not a Microsoft service.
End of Course Exam
Complete the course, then answer twenty-nine questions, from the workflow definition to operating the deployed playbook, ending on a case study, in 120 minutes. Pass mark: 70. Earn your certificate with CPE credits.
Answers are checked on the server. Certificate issued on pass.