Microsoft Security Automation

Master Microsoft Security Automation

Scale your security operations without scaling headcount. Design, build, and operationalize powerful automation and orchestration workflows using Microsoft Sentinel, Logic Apps, Playbooks, and Defender XDR, so you can respond to threats faster, reduce manual work, and run a more efficient, effective SOC.

Included with Premium, from $19.99/month, or $179/year and save 25%. Preview the first module free, no account needed.
Your subscription also includes the Practice Hub: graded scenarios, forensic cases, query drills and the response playbooks.
View Pricing Download Lab Pack Take End of Course Exam → 40 CPE Credits

What you'll be able to do

✓Design and build end-to-end security automation workflows that scale your SOC without adding headcount
✓Create powerful playbooks in Microsoft Sentinel using Logic Apps, KQL, and automation connectors
✓Automate alert triage, enrichment, investigation, and response actions across Microsoft security tools
✓Orchestrate cross-tool and cross-platform responses (M365, Entra ID, Defender XDR, endpoints, and external systems)
✓Implement SOAR capabilities that reduce manual work and accelerate mean time to respond (MTTR)
✓Measure, monitor, and continuously improve your security automation maturity and ROI
SEC202 | Premium tier | 14 modules across 3 tiers | 36–40 hours at your own pace | 40 CPE credits

Course Syllabus

Every module and every lesson. The first three modules are open; the rest open on a click.

Download the full syllabus (PDF)

Phase 1: Foundations

Phase 2: Enrichment & Collection

Module 2Alert Enrichment Automation

Build the enrichment pipeline that transforms every alert into an investigation-ready incident. IP reputation, user risk, device compliance, threat intelligence, alert history, geo-location, and impossible travel, all automated, all running in parallel, all completing in under 30 seconds. Watchlist-driven dynamic enrichment for VIP escalation, known-safe suppression, and high-risk priority boost. Performance tuning to meet production SLAs.

Show 13 lessonsHide lessons
  1. 2.12.1 The Enrichment Stack
  2. 2.22.2 IP Reputation Enrichment Playbook
  3. 2.32.3 User Risk Enrichment Playbook
  4. 2.42.4 Device Compliance Enrichment Playbook
  5. 2.52.5 Alert History and Pattern Enrichment
  6. 2.62.6 Threat Intelligence Auto-Correlation
  7. 2.72.7 Geo-Location and Impossible Travel Enrichment
  8. 2.82.8 Combining Enrichments. The Enrichment Pipeline
  9. 2.92.9 Watchlist-Driven Dynamic Enrichment
  10. 2.102.10 Enrichment Performance Tuning
  11. 2.112.11 Guided Walkthrough. Building the Production Enrichment Pipeline
  12. 2.12Module Summary
  13. 2.13Check My Knowledge
Module 3Evidence Auto-Collection

Build the evidence collection pipeline that captures volatile data at alert time, before session tokens expire, before processes terminate, before containment modifies the environment. Four evidence domains collected in parallel, three incident-type playbooks, evidence packaging with chain of custody, and collection timing that preserves what log retention cannot.

Show 13 lessonsHide lessons
  1. 3.13.1 The Collection Problem
  2. 3.23.2 Cloud Evidence Auto-Collection
  3. 3.33.3 Endpoint Evidence Auto-Collection
  4. 3.43.4 Identity Evidence Auto-Collection
  5. 3.53.5 Network Evidence Auto-Collection
  6. 3.63.6 Evidence Packaging and Chain of Custody
  7. 3.73.7 Collection Playbook for AiTM Incidents
  8. 3.83.8 Collection Playbook for Endpoint Incidents
  9. 3.93.9 Collection Playbook for Email Incidents
  10. 3.103.10 Collection Timing and Retention
  11. 3.113.11 Interactive Lab: Auto-Collection Pipeline
  12. 3.12Module Summary
  13. 3.13Check My Knowledge
Module 4Notification and Escalation Automation

Build the notification pipeline that delivers the right information to the right people at the right severity, Teams adaptive cards for the SOC, escalation cascades for after-hours, MSSP coordination to prevent duplicate triage, regulatory flagging, fatigue prevention, and approval workflows with full audit trails.

Show 13 lessonsHide lessons
  1. 4.14.1 Who Needs to Know, and When
  2. 4.24.2 Teams Channel Notifications
  3. 4.34.3 Email Notifications
  4. 4.44.4 On-Call Escalation Automation
  5. 4.54.5 MSSP Notification and Coordination
  6. 4.64.6 Management and Executive Notifications
  7. 4.74.7 Ticketing Integration (ServiceNow/Jira)
  8. 4.84.8 Regulatory Notification Triggers
  9. 4.94.9 Notification Fatigue Prevention
  10. 4.104.10 Approval Workflows
  11. 4.114.11 Interactive Lab: Notification Pipeline
  12. 4.12Module Summary
  13. 4.13Check My Knowledge

Phase 3: Response Automation

Module 5Auto-Containment, Identity

Build the identity containment playbook that revokes sessions, surgically removes attacker MFA methods, activates emergency conditional access, revokes OAuth consents, and disables accounts, gated by confidence thresholds, VIP and service account safeguards, post-containment verification, and automated rollback.

Show 13 lessonsHide lessons
  1. 5.15.1 The Auto-Containment Decision
  2. 5.25.2 Session Revocation Automation
  3. 5.35.3 MFA Reset Automation
  4. 5.45.4 Conditional Access Emergency Policy
  5. 5.55.5 OAuth App Revocation
  6. 5.65.6 Account Disable with Safeguards
  7. 5.75.7 Inbox Rule Remediation
  8. 5.85.8 Password Reset Orchestration
  9. 5.95.9 Identity Containment Verification
  10. 5.105.10 Identity Containment Rollback
  11. 5.115.11 Interactive Lab: Identity Auto-Containment
  12. 5.12Module Summary
  13. 5.13Check My Knowledge

Phase 4: Operational Mastery

Module 12Building the Automation Program

Turn automation capability into a sustained program, a dependency-ordered roadmap, leverage-based candidate selection, a team structure that survives turnover, business metrics, playbook library governance, MSSP coordination, compliance evidence, cost-benefit analysis, and the path to a mature operation.

Show 13 lessonsHide lessons
  1. 12.112.1 The Automation Roadmap
  2. 12.212.2 Identifying Automation Candidates
  3. 12.312.3 Building the Automation Team
  4. 12.412.4 Automation Metrics Dashboard
  5. 12.512.5 The Playbook Library
  6. 12.612.6 MSSP Automation Coordination
  7. 12.712.7 Automation for Compliance
  8. 12.812.8 Cost-Benefit Analysis
  9. 12.912.9 Scaling Automation
  10. 12.1012.10 The Mature Automation Operation
  11. 12.1112.11 Interactive Lab: Building the Program Roadmap
  12. 12.12Module Summary
  13. 12.13Check My Knowledge
Module 13Capstone, The Automated SOC

Assemble the entire course into one working system, six automation phases from enrichment through governance, run a realistic multi-stage attack end to end, expose the bugs only integration testing reveals, measure the performance gain, and produce the reference architecture and business case for the automated SOC.

Show 13 lessonsHide lessons
  1. 13.113.1 Capstone Briefing
  2. 13.213.2 Phase 1: Enrichment Automation
  3. 13.313.3 Phase 2: Collection Automation
  4. 13.413.4 Phase 3: Notification Automation
  5. 13.513.5 Phase 4: Containment Automation
  6. 13.613.6 Phase 5: Cross-Environment Orchestration
  7. 13.713.7 Phase 6: Monitoring and Governance
  8. 13.813.8 Integration Testing
  9. 13.913.9 Metrics and Business Case
  10. 13.1013.10 The Complete Automation Architecture
  11. 13.1113.11 Interactive Lab: Running the Full Stack
  12. 13.12Module Summary
  13. 13.13Check My Knowledge

Phase 0: Course Resources

ResourcesLab Setup

A lab with disposable targets, so containment automation can be tested without locking you out of the tenant running it.

Show 5 lessonsHide lessons
  1. 1Workspace and Logic Apps
  2. 2Disposable Targets
  3. 3Your First Playbook
  4. 4Testing Containment Safely
  5. 5Verify and Limits
ResourcesPlayground

Where to practice building automation, and the one thing about this discipline no practice surface can give you.

ResourcesOperational Reference

The consolidated lookup and the step-by-step procedures from this course, in one place.

Show 2 lessonsHide lessons
  1. 1Automation Quick Reference
  2. 2Security Automation Field Manual
ResourcesReferences & Further Reading

External sources this course draws on: vendor documentation, frameworks, standards, and research.

Course Completion

CompletionCourse Exam

Security Automation end-of-course exam, a simulation-based assessment testing whether you can diagnose, contain, and remediate an automation failure under pressure, using the engineering and judgment built across all 14 modules.

Show 1 lessonHide lessons
  1. 1Course Completion. Security Automation

Course overview

The Microsoft Security Automation course is built specifically for Security Engineers, Detection Engineers, and Architects who need to scale operations without scaling headcount. You'll gain hands-on expertise to:

✓ Design and implement automated detection, investigation, and response workflows
✓ Build powerful playbooks in Microsoft Sentinel using Logic Apps and KQL
✓ Orchestrate cross-tool actions across Microsoft 365, Entra ID, Defender XDR, and external systems
✓ Create SOAR capabilities that reduce alert fatigue and accelerate incident response

By the end, you'll have the practical skills and engineering mindset to automate repetitive tasks, standardize response processes, and dramatically improve your organization's security efficiency and effectiveness.

How this course works

Automation in a SOC is a decision about what a machine may do without asking. This course runs the same loop for every playbook it builds, because the failure mode is not a playbook that breaks but one that acts confidently on a wrong input.

1. Automate the reading before the acting. Enrichment and evidence collection are safe, immediately valuable and reversible. Start there and the containment playbooks arrive with a track record behind them.

2. Define the trigger precisely. A playbook is only as good as the condition that fires it. Most bad automation is a good action on an over-broad trigger.

3. Decide what it may do unattended. Enrich, notify, contain. Each step outward needs a stated reason and a documented rollback, not a feature flag.

4. Test the failure path, not the happy one. What happens when the API is down, the identity is stale, the entity is missing. A playbook that has only been tested when everything works is untested.

5. Govern it as code. Version it, review changes and measure what it did. Automation nobody audits becomes automation nobody trusts, and then automation somebody disables.

What this course assumes

No minimum experience and no prerequisite course. Logic Apps, the connector model and the Sentinel automation surface are explained from the first playbook.

What makes it go faster: an Azure subscription and a Sentinel workspace you can build in. Not required, and every playbook is shown as a definition you can read.

What this course does not cover: investigation technique, detection rule writing, and incident response process. This course automates the response those disciplines decide on.

Who this course is for

You're a Security Engineer, Detection Engineer, or Security Architect who needs to scale security operations without scaling headcount. This course is built for you if you want to:

✓ Move from manual, repetitive security tasks to fully automated and orchestrated workflows
✓ Master Microsoft Sentinel playbooks, Logic Apps, and SOAR techniques for real-world operations
✓ Automate detection engineering, incident response, and threat hunting processes
✓ Dramatically improve SOC efficiency while reducing alert fatigue and burnout

In short: if you're ready to engineer automation that lets your team do more with less and respond to threats at machine speed, this course is for you.

What you'll learn

By the end of this Microsoft Security Automation course you will be able to:

✓ Design and implement automation strategies for detection, investigation, and response
✓ Build advanced playbooks in Microsoft Sentinel using Logic Apps, KQL, and connectors
✓ Orchestrate automated actions across Microsoft Defender XDR, Entra ID, Microsoft 365, and external tools
✓ Automate threat enrichment, containment, eradication, and recovery processes
✓ Create reusable automation assets, templates, and best practices for your organization
✓ Measure automation effectiveness and continuously mature your SOAR capabilities

Key course takeaways

✓ Build production-grade security automation and orchestration that scales your operations efficiently
✓ Master Microsoft Sentinel playbooks and Logic Apps to automate repetitive SOC tasks
✓ Significantly reduce manual effort, alert fatigue, and mean time to respond
✓ Create reliable, auditable automated workflows for detection, investigation, and response
✓ Develop a reusable automation library that delivers long-term ROI for your security program
✓ Become the Security Automation expert who transforms your SOC from reactive to highly efficient and proactive

Lab Pack, Build Real Automation in Your Own Sentinel Workspace

Downloadable lab pack with everything you need to build, test, and deploy the SA automation stack in your own Microsoft Sentinel environment.

Lab environment: M365 E5 tenant, a developer subscription if you qualify or a 30-day E5 trial otherwise, plus an Azure subscription and a Sentinel workspace, free for its first 31 days. No local VMs required, all automation runs in the cloud.

Watchlist seed data (5 CSVs): VIP-Users (executive accounts requiring approval gates), Known-Safe-IPs (corporate network ranges), High-Risk-Assets (servers requiring blast radius assessment), Containment-Eligible-Rules (analytics rules validated for automation tiers), CDN-Ranges (cloud provider IP exclusions).

KQL query packs (11 queries): Detection triggers, enrichment queries, evidence collection queries, health monitoring (playbook success rate, containment metrics, suppression audit), and multi-signal correlation.

Deployable automation: ARM template for SA2 enrichment playbook with staging and production parameter files. Python Azure Functions for TI enrichment and evidence packaging.

Scripts: Watchlist deployment, test incident generator (10 capstone scenarios), sample data generator (30 days of NE telemetry with planted AiTM attack), and full-stack automation deployment.

Security Automation Lab Pack
5 watchlists · 11 KQL queries · ARM templates · Azure Functions · 10 capstone scenarios
Download Lab Pack (.zip)

Things you need to know

What are the prerequisites for this course?

There are no prerequisites. The course teaches security automation from first principles. Familiarity with Microsoft Sentinel and KQL will help you move faster, but neither is required. Every concept is explained at first use.

What are the device requirements?

A device with a modern browser. Access to a Microsoft 365 E5 tenant (a developer subscription if you qualify for one, otherwise a 30-day E5 trial) and an Azure subscription for Sentinel and Logic Apps deployment. The course walks you through setup in Module 0.

How will the course benefit your career?

Security automation is how modern SOCs scale. Organizations need engineers who can build the playbooks, Logic Apps, and governance frameworks that turn manual procedures into automated workflows. This course gives you the skills to design, deploy, and govern automation across the Microsoft security stack.

The demand for SOAR-capable security engineers continues to grow as organizations move from manual incident response to automated detection, enrichment, and containment.

Usage rights and disclaimer

Course materials: Licensed for individual professional development. You may deploy playbooks, automation rules, KQL queries, and Azure Functions in your production environment. You may not redistribute course content or share account credentials.

Automation artifacts: All playbooks and functions are provided as-is. Test every automation in a staging workspace before production deployment. Automated containment actions have business impact. Ridgeline Cyber Defence is not responsible for operational impact from deployed automation.

Fictional environment: All scenarios use Northgate Engineering. Any resemblance to real organizations is coincidental.

COURSE ASSESSMENT

End of Course Exam

Complete the course, then prove your skills under time pressure. Pass mark: 70. Earn your certificate with CPE credits.

40minutes
3phases
100points
1scenario
Take End of Course Exam

One random scenario per attempt. Certificate issued on pass.