Home › Studies › SC-200 › SecOps Environment › Sentinel Setup & Automation

Sentinel Setup & Automation

Sentinel roles · automation rules · playbooks · data tiers and retention · workbooks · SOC optimization

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Roles and permissions

Microsoft Sentinel SIEM uses Azure RBAC roles. The Microsoft Sentinel data lake uses Microsoft Entra ID RBAC roles. Assign the Sentinel roles at the resource group level for best results.

RoleWhat it grants
Microsoft Sentinel ReaderView data, incidents, workbooks, recommendations and other resources
Microsoft Sentinel ResponderAll Reader permissions, plus manage incidents
Microsoft Sentinel ContributorAll Responder permissions, plus install/update solutions, create/edit resources
Microsoft Sentinel Playbook OperatorList, view, and manually run playbooks
Microsoft Sentinel Automation ContributorAllows Microsoft Sentinel to add playbooks to automation rules. Not used for user accounts.

After March 31, 2027, Microsoft Sentinel is no longer supported in the Azure portal and is available only in the Microsoft Defender portal.

Automation rules

Automation rules manage incident handling from one place. They can add tasks, tag, assign, change severity or status, and close incidents without a playbook, and they can run playbooks.

PieceDetail
TriggersWhen an incident is created, when an incident is updated, when an alert is created
Alert triggerFires for alerts created by a Scheduled or NRT analytics rule; the only condition is the set of analytics rules
ConditionsEvaluated against the current state of the incident when the rule runs (equals, contains, starts with, ends with). The update trigger adds state-change checks and Updated by.
ActionsAdd task, change status (with closing reason and comment), change severity, assign owner, add tag, run playbook
ExpirationOptional date after which the rule is disabled (for example for penetration-test noise)
OrderOrder number sets execution. Each trigger type has its own queue; create-trigger rules run before update-trigger rules; same order number means random order; rules never run in parallel.

In the Defender portal

Playbooks

A playbook is a collection of response and remediation actions built on Azure Logic Apps. It can run automatically from an automation rule or manually on demand.

RoleLets you
Owner (or User Access Administrator)Grant Microsoft Sentinel access to playbooks in the resource group
Microsoft Sentinel ContributorAttach a playbook to an analytics or automation rule
Microsoft Sentinel ResponderAccess an incident to run a playbook manually, but not run it
Microsoft Sentinel Playbook OperatorRun a playbook manually
Microsoft Sentinel Automation ContributorLet automation rules run playbooks (not for other purposes)
Logic App Contributor (Consumption)Edit and manage logic apps
Logic Apps Standard Developer / Contributor / OperatorCreate and edit workflows / manage all aspects / enable, resubmit and disable workflows

Data tiers and retention

Tier / stateWhat it doesRetention
Analytics tier (analytics retention)Real-time analytics: analytics rules, hunting, alerting, workbooksUp to two years (30 days to two years in the table settings)
Total retentionAnalytics data is mirrored to the data lake; extend beyond analytics retentionUp to 12 years
Data lake tierLow-cost data lake only; no real-time analytics or threat hunting. Query with KQL jobs, Spark jobs, notebooks, summary rules30 days to 12 years
XDR default tierDefender XDR threat hunting data30 days by default; extend up to 90 days in the Analytics tier (ingestion costs, free storage)

Workbooks

SOC optimization

SOC optimization gives actionable recommendations to close coverage gaps and to tighten ingestion of data that adds no security value. Recommendations are calculated every 24 hours. Onboard Microsoft Sentinel to the Defender portal to use it there; it uses the standard Sentinel roles.

TypeWhat it recommends
Data valueBetter use of ingested data or a better data plan; looks only at billable tables that ingested data in the past 30 days
Coverage: threat-basedMissing detections, missing data sources, or both. Considers predefined and user-defined detections
Coverage: AI MITRE ATT&CK tagging (preview)Suggests MITRE tactics and techniques for untagged detections
Coverage: risk-based (preview)Controls for gaps tied to business risks
Similar organizationsData sources used by organizations with similar ingestion trends and industry profiles
ObservationAction
Table not used at all in the last 30 daysTurn on analytics rule templates, or stop ingestion and remove the table, or move it to long-term retention
Table used only by Azure MonitorTurn on relevant analytics rule templates, or move it to a nonsecurity Log Analytics workspace
Data sources exist, detections missingTurn on analytics rule templates
Templates on, data sources missingConnect new data sources

Exam Tips

Tick each tip once you can answer it without looking.

“Analysts must manage incidents but not edit rules or resources” → Microsoft Sentinel Responder. Trap: Reader only views; Contributor also installs solutions and creates or edits resources.

“Create or edit playbooks” → Logic App Contributor (Consumption) or a Logic Apps Standard role. Trap: Playbook Operator only lists, views and manually runs playbooks.

“Attach a playbook to an analytics or automation rule” → Microsoft Sentinel Contributor. Trap: Responder can open the incident but can't run the playbook; Automation Contributor isn't for user accounts.

“Automation rule can't run a playbook (playbook grayed out)” → Grant the Sentinel service account Automation Contributor on the playbook's resource group (needs Owner). Trap: Giving your own account Playbook Operator doesn't give the service account access.

“Create or delete a workbook” → Sentinel Contributor or a lesser Sentinel role, plus Workbook Contributor. Trap: A Sentinel role alone isn't enough.

“Close noisy pen-test incidents automatically for a limited time, no playbook” → Automation rule on incident creation with a close action and an expiration date. Trap: A playbook isn't needed to close or tag incidents.

“Two automation rules on the same trigger; the first changes severity” → Later rules see the changed incident; order numbers decide the sequence; rules never run in parallel. Trap: Equal order numbers run in random order.

“Playbook for Defender XDR alerts when onboarded to the Defender portal” → Enhanced Alert Trigger. Trap: The normal alert trigger acts only on Microsoft Sentinel alerts there.

“Defender portal automation: incident updates in quick succession” → Within 5-10 minutes only the latest change is sent; intermediate updates are lost. Trap: Don't build logic that needs every state change.

“Keep data for years at low cost, query occasionally” → Data Lake tier or extended total retention (up to 12 years). Trap: Analytics retention tops out at two years and data lake data has no real-time analytics.

“Move a table from Analytics to Data Lake” → Alerting, advanced hunting, analytics rules and custom detection rules on it stop. Trap: You can switch back at any time, but some tables must stay in Analytics.

“Shorten total retention by mistake” → Microsoft waits 30 days before removing the data, so you can revert. Trap: Changing analytics retention, by contrast, takes effect immediately.

“Defender XDR hunting data retention” → 30 days by default; up to 90 days in the Analytics tier with free storage. Trap: Beyond 90 days storage costs apply.

“View table settings vs change them with unified RBAC” → Security data basics (read) vs Data (manage). Trap: Table insights is a visualization surface, not an alerting surface.

“SOC optimization shows Medium threat-based coverage” → 30%-74% of recommended rules are active. Trap: High is over 75%; Low is 0%-29%.

“Table not used at all for 30 days” → Turn on analytics rule templates, or stop ingestion or use long-term retention. Trap: Moving to a nonsecurity workspace is for tables used only by Azure Monitor.

“Suggest MITRE ATT&CK tags for untagged detections” → AI MITRE ATT&CK tagging recommendation (preview). Trap: Threat-based recommendations add detections or data sources instead.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Defender for Endpoint ConfigurationData Connectors & Ingestion →