Defender XDR Automation for SC-200: Email Notifications, Alert Tuning, Correlation, AIR and Attack Disruption
Automation in Microsoft Defender XDR is the set of portal settings that decide who is told about security events, which alerts reach analysts, how alerts are grouped into incidents, and which response actions Defender takes on its own. For SC-200 it spans email notification rules, alert tuning and alert service settings, correlation settings and incident merging, automated investigation and response (AIR) in the Action center, and automatic attack disruption with its prerequisites and exclusions.
On this page10 sections
- What Defender XDR automation covers
- Email notifications: incidents, actions and threat analytics
- Alert tuning: Hide, Resolve and Set as behavior
- Built-in tuning rules and alert service settings
- Correlation settings for analytics rules and custom detections
- Incident merging: when it happens and when it doesn't
- Automated investigation and response and the Action center
- Automatic attack disruption: what it does
- Attack disruption prerequisites
- Excluding assets from attack disruption
- Configure incident, response-action and threat analytics email notification rules, and explain how permissions and RBAC device-group scope limit them
- Choose between the Hide alert, Resolve alert and Set as behavior tuning actions, and explain what built-in tuning rules and alert service settings do
- Control whether Sentinel analytics rules and custom detections take part in Defender XDR correlation, and explain when incidents are or aren't merged
- Manage automated investigation and response in the Action center: approvals, permissions, undo and the 2026 Defender for Endpoint AIR change
- Describe what automatic attack disruption does and set up its prerequisites in Defender for Endpoint, Identity, Cloud Apps and Office 365
- Exclude users, device groups, IP addresses and tagged devices from attack disruption, and release an asset it has already contained
What Defender XDR automation covers
Defender XDR automation is configured in the Microsoft Defender portal, mostly under Settings > Microsoft Defender XDR, and falls into four jobs: telling people, filtering alerts, grouping alerts into incidents and responding automatically. SC-200 expects you to pick the setting that does the one job a scenario asks for, because the settings look alike but act at different points.
| Job | Setting | What it changes | What it does not change |
|---|---|---|---|
| Tell people | Email notifications (Incidents, Actions, Threat analytics tabs) | Who gets an email, and about what | Which alerts or incidents exist |
| Filter alerts | Alert tuning rules; Alert service settings | Which alerts reach the queue, and in what state | Whether a file or process is blocked |
| Group alerts | Correlation settings; incident merging | Which incident an alert lands in | Alert status or severity |
| Respond | AIR and the Action center; automatic attack disruption | Remediation and containment of assets | Who is emailed or which alerts are shown |
A common exam trap is reaching for the wrong job: an alert tuning rule never reduces the number of incident emails, a notification rule never creates an alert, and a correlation setting never closes one.
This lesson covers the Defender XDR half of SC-200 task 1.1. Defender for Endpoint settings, device group creation, and Microsoft Sentinel automation rules and playbooks belong to sibling topics and are only referenced here.
Email notifications: incidents, actions and threat analytics
Email notification rules live under Settings > Microsoft Defender XDR > Email notifications, on three tabs: Incidents, Actions and Threat analytics. Each tab notifies about something different, so choose the tab by what the recipient needs to hear about.
Incident notification rules
An incident rule has a name and description, notification settings and a recipient list. The notification settings are:
- Alert severity, chosen per service source or detection source. One rule can, for example, ask for only High alerts from Defender for Identity and Low and above from Defender for Office 365, so sources with different thresholds don't each need their own rule.
- Device group scope: all device groups or selected ones.
- Send only one notification per incident: stops a new email each time another alert joins an incident the recipients already know about.
- Include organization name and Include tenant-specific portal link (a link with the tenant ID, useful for people who work across tenants). These change the email's content, not how many are sent.
On the Recipients page you add addresses and can select Send test email. New recipients receive notifications only for incidents after they are added.
Response-action notification rules
The Actions tab emails about response actions taken in your tenant. You choose the action source (Manual, Automated or both; automated covers automatic attack disruption and automated investigation and response), the actions to track (for example Isolate device), the device groups, and the action status (Completed, Failed or both). The filters combine: Manual + Completed, for instance, reports only analyst-run actions that succeeded. Microsoft documents one limitation: these notifications don't currently support custom detections that contain response actions.
Threat analytics notification rules
The Threat analytics tab emails when Microsoft publishes a new threat analytics report or updates an existing one. A rule tracks all reports, or only reports of a chosen type or with a chosen tag (for example Ransomware). It reports on Microsoft's research, not on incidents in your tenant.
Who can configure them
Configuring notification rules needs the Manage security settings permission; with basic permissions, that means Security Administrator or higher. Global Administrator isn't required. When the organization uses role-based access control, a user can create, edit, delete and receive notifications only for the device groups they are allowed to manage. A rule's device group scope can't reach beyond the owner's RBAC scope.
Alert tuning: Hide, Resolve and Set as behavior
Alert tuning (previously called alert suppression) automatically hides, resolves or converts alerts that match conditions you define, for expected activity such as internal tools or security tests. Rules are created under Settings > Microsoft Defender XDR > Alert tuning, or from an alert with Tune alert. Conditions are built from evidence types (files, processes, scheduled tasks, AMSI scripts, WMI events and more), combined with AND, OR and grouping; condition values aren't case-sensitive.
Each rule takes one of three actions. They differ in whether an incident is created, where the data stays and which products they support:
| Action | Alert queue and incidents | Where the data stays | Supported for |
|---|---|---|---|
| Hide alert | Alert suppressed; no incident created | AlertInfo and AlertEvidence tables (existing hunting queries still work) | Defender for Endpoint alerts only |
| Resolve alert | Alert and its incident are created in a Resolved state | Normal alert record, closed | Alert sources generally |
| Set as behavior | Not in the alert queue; no incident | BehaviorInfo and BehaviorEntities tables | Not supported for Defender for Cloud or Defender for Office 365 alerts |
Choose by what must remain afterwards: Resolve alert leaves a closed, auditable alert and incident; Hide alert leaves no incident but keeps the alert data in the Alert tables; Set as behavior turns matching signals into behaviors in the Behavior tables. For example, a sanctioned vulnerability scanner whose activity the SOC wants recorded but never triaged suits Resolve alert. Filtering the queue view is not tuning; it hides nothing from incident creation.
When creating from an alert you choose whether the rule applies only to that alert type or to any alert type matching the conditions (then you also pick service and detection sources). Within each service source you can also select specific detection sources, so a rule targets only those; a rule that isn't narrowed this way applies to all detection sources of its service sources, including custom detections.
Tuning silences alerts; it doesn't stop blocking
A tuning rule changes only alerting. If Defender Antivirus keeps quarantining a trusted tool's file, the alert disappears but the block continues. After you create a rule from an alert, the Successful rule creation page offers to add the alert's evidence (IOCs) to an allow list as indicators, with the rule's IOCs selected by default. That allow indicator, scoped to the file, is what stops the block.
Built-in tuning rules and alert service settings
Microsoft Defender ships built-in alert tuning rules that suppress alerts for common benign activity; they are active by default and can be reviewed and disabled on the Alert tuning page. Key facts:
- Built-in rules suppress alerts without affecting other features such as AIR investigations and email notifications. If an AIR investigation finds malicious or suspicious activity, the suppressed alert is reactivated.
- Built-in rules don't apply to alerts from custom detection rules or Custom TI indicators. A custom detection you wrote keeps alerting even when a built-in rule covers the same activity.
- To stop a built-in rule, select it and choose Disable. You don't edit its action.
The Microsoft Security Copilot Phishing Triage Agent doesn't classify alerts suppressed by alert tuning. If you deploy it, disable the built-in Auto-Resolve - Email reported by user as malware or phish rule (and any custom rule suppressing those alerts); otherwise the user-reported phish alerts arrive already resolved and the agent has nothing to classify. Disabling only that rule leaves the other built-in rules running.
Alert service settings
Alert service settings (Settings > Microsoft Defender XDR > Alert service settings, also reachable from the Incidents page) decide which detections from a service become alerts in the first place. For Microsoft Entra ID Protection (enhanced options, in preview) the new default is High-risk detections only; you can change it to High + Medium or All detections. Alert service settings act before an alert exists; tuning rules act only on alerts that already exist.
Correlation settings for analytics rules and custom detections
Correlation settings decide whether alerts from a detection rule can be grouped by Defender XDR's correlation engine with other alerts, or are grouped only by the rule's own configuration. They matter most after Microsoft Sentinel is onboarded to the Defender portal, where Sentinel analytics rule alerts can otherwise be merged into larger cross-product incidents that a Sentinel-era playbook or ticketing flow doesn't expect.
Sentinel analytics rules
- A tenant-wide Incident correlation default setting (Settings > Microsoft Defender XDR > Rules > Incident correlation) decides whether analytics rules take part in correlation by default. Learn currently describes it as off by default; check the setting in the tenant rather than assuming.
- Each rule's Incident settings tab has an Incident correlation option: Tenant default, Enabled (included) or Disabled (excluded). Disabled gives Sentinel-style incidents that follow only the rule's alert grouping. Setting Enabled or Disabled in the portal writes the matching tag into the rule's description.
- Through the API or rule description, the tags
#INC_CORR#(include) and#DONT_CORR#(exclude) do the same. A tag counts only at the very start of the description, with both # characters, and is not case-sensitive. - An alert's correlation state is fixed when the alert is created. Changing a rule affects new alerts only.
- Excluded alerts still appear in the portal; they simply bypass correlation.
Custom detection rules
Custom detections written in advanced hunting have no tenant default: existing and new custom detection rules are included in correlation by default, whatever the analytics-rule tenant setting says. Each rule can be set to Include in or Exclude from correlation on its details page (in public preview). Tags and the tenant default don't apply to them. Excluded custom detection alerts create their own incidents unless an incident alert-grouping rule applies, because alert-grouping rules remain final. Severity has no effect on correlation.
| Sentinel analytics rule | Custom detection rule | |
|---|---|---|
| Tenant default | Yes (Incident correlation default setting) | No |
| Per-rule control | Incident settings tab: Tenant default / Enabled / Disabled | Include in / Exclude from correlation (preview) |
| Description tags | #INC_CORR# / #DONT_CORR# at the start | Not used |
Only the primary workspace correlates
With several Sentinel workspaces onboarded, one is the primary workspace. Only its alerts can be correlated with Defender alerts. Alerts from secondary workspaces are never correlated with Defender alerts or with other workspaces, whatever the rule-level settings or tags say, and ingesting Defender data into a secondary workspace doesn't change that. To correlate another workspace's alerts, make it the primary, which moves correlation away from the old primary.
Incident merging: when it happens and when it doesn't
Defender keeps correlating after incidents exist and merges incidents that share entities (users, devices, mailboxes), artifacts (files, processes, senders), time frames or multistage event sequences. A merge doesn't create a new incident: the source incident's alerts, tags and entities move into the target, the source is closed with a Redirected tag, and Defender chooses the direction.
Even when correlation says two incidents belong together, Defender doesn't merge them when:
- one of them is Closed (resolved incidents aren't reopened);
- they are assigned to two different people (unassigned incidents can merge);
- they have different classifications or determinations;
- the merge would push the target over the maximum number of entities;
- they contain devices in different device groups, but only if the organization has enabled that condition (it is off by default).
Different severities or alerts from different Defender products never block a merge; merging across products is the point of XDR correlation.
To combine incidents that weren't merged, fix the blocker first, then merge manually (for example remove one assignee). Microsoft documents that up to five incidents can be merged manually at a time, and that merging is preferable to moving alerts from one incident to another because merging preserves all incident information, such as the activity log.
Automated investigation and response and the Action center
Automated investigation and response (AIR) investigates alerts and proposes or takes remediation actions, and the Action center is where every pending and completed action is approved, audited and undone.
The September 2026 change
As of 1 September 2026, AIR no longer runs as a separate investigation experience, and can no longer be triggered manually, for Defender for Endpoint alerts. Its detection and response capabilities run automatically in Defender for Endpoint's default antivirus protection stack; for an on-demand check Microsoft recommends a full antivirus scan. The change applies only to Defender for Endpoint: Defender for Office 365 AIR remains available. Device group automation levels still exist (they also govern attack disruption), and the Action center still lists device actions, including antivirus and attack disruption actions.
Pending and History
- Pending lists actions awaiting approval. Approve or reject one at a time, or several of the same type together. Reject applies only to actions still pending.
- History is the audit log of actions taken (automated, approved, manual, live response and antivirus actions) and is where you undo certain completed actions. Undoing a Quarantine file action can be applied to all other instances of the file at once. An allow indicator only prevents future detections; it doesn't restore copies already quarantined.
Email remediation always waits for approval
No remediation action on email and collaboration content is taken automatically. When a Defender for Office 365 Plan 2 investigation recommends soft-deleting messages, the action waits on the Pending tab until someone approves it, and an action nobody approves never runs.
Permissions for Action center tasks
| Task | Microsoft Entra / Email & collaboration permissions | Unified RBAC |
|---|---|---|
| Device remediation (Defender for Endpoint) | Security Administrator role, or the Defender for Endpoint Active remediation actions role | Security operations \ Security data \ Response (manage) |
| Email and content remediation (Defender for Office 365) | Security Administrator plus an Email & collaboration role group with the Search and Purge role (by default Data Investigator or Organization Management) | Email & collaboration advanced actions (manage) |
The Security Administrator role group in Email & collaboration permissions doesn't include Search and Purge and doesn't grant Action center access by itself; Security Operator doesn't add Search and Purge either.
Automatic attack disruption: what it does
Automatic attack disruption is a built-in Defender XDR capability that, during an attack in progress such as ransomware or business email compromise, identifies the compromised assets in a high-confidence incident and contains them automatically. It differs from other automation in three ways: it evaluates the whole incident (signals correlated from endpoints, identities, email and SaaS apps) rather than one indicator; it needs no rules, playbooks or queries from the SOC; and Microsoft maintains its detectors at very high precision before they act.
Its response actions include:
- Contain device and Contain IP (Defender for Endpoint applies a policy on all onboarded devices that blocks communication from the device or from an IP of an undiscovered device), and automatic Isolate device for an onboarded device identified as an active foothold;
- Contain user (Defender for Endpoint blocks the user's communication from onboarded devices);
- Disable user (Defender for Identity: through its sensors for on-premises Active Directory accounts, and for cloud-only Microsoft Entra ID accounts through a Microsoft-managed enterprise app named Microsoft Defender for Identity, so those need no sensor deployed), Revoke user session and Suspend user in Entra;
- protective measures for a compromised OAuth app (Defender for Cloud Apps), plus preview actions in Okta and AWS through Microsoft Sentinel connectors.
Disrupted incidents carry an Attack Disruption tag and a yellow banner, the contained asset's status shows in the incident graph, and each action is added to the Action center. Every automatic action can be undone: once an investigation shows activity was legitimate, an analyst releases the asset (for example re-enables a contained user) from the action details pane in the Action center. The Action center is where a completed containment is reversed.
Attack disruption prerequisites
Attack disruption works only where each Defender product it relies on is deployed and configured: a product must be deployed to run its own response actions, and its signals must be present for the attack scenario to be detected. Beyond a qualifying licence (for example Microsoft 365 E5), the per-product requirements are:
| Product | Requirement | Enables |
|---|---|---|
| Defender for Endpoint | Device discovery set to Standard discovery; device groups at an automation level that allows disruption (Full is recommended; Semi also works); a minimum sensor version for Contain user | Contain device (including unmanaged devices found by discovery), Contain user |
| Defender for Identity | The sensor on every domain controller where an account may need to be disabled, DC auditing configured, and an action account with rights to disable users. By default the sensor uses the DC's LocalSystem account; a custom action account (such as a read-only gMSA) needs the permission added | Disable user in Active Directory |
| Defender for Cloud Apps | The Microsoft 365 (Office 365) connector with all checkboxes selected, including Microsoft Entra ID apps; a partial setup can block disruption flows | Cloud and BEC disruption, OAuth app actions |
| Defender for Office 365 | Mailboxes in Exchange Online; mailbox auditing of at least MailItemsAccessed, UpdateInboxRules, MoveToDeletedItems, SoftDelete and HardDelete | Business email compromise disruption |
Each requirement belongs to one product and enables only that product's part of disruption. Disabling a cloud-only Entra ID account runs through the Microsoft-managed Defender for Identity app rather than domain controller sensors. Configuring disruption needs a role such as Security Administrator or Security Operator. Also check for in-house automation that re-enables accounts, which can undo a disable while the attack is still active.
Excluding assets from attack disruption
Exclusions, under Settings > Microsoft Defender XDR > Automated response, stop attack disruption from acting on chosen assets while it keeps protecting everything else. Microsoft states that excluding assets from automated responses isn't recommended, so exclude only what a business reason requires. Pick the exclusion by what must be spared:
| Need | Exclusion | Effect |
|---|---|---|
| Specific accounts must never be disabled (for example an account an application depends on) | User exclusion on the Identities page | Those identities aren't disabled or contained; others still are |
| A device group must never be contained | Set the group's automation level to No automated response (Devices page, Device groups tab, or the device group itself) | No automated containment and no automated investigation or response for that group |
| Specific IP addresses or ranges must never be contained | IP exclusion on the Devices page | Those addresses aren't contained |
| One disruption control must be off for a set of devices, others kept | Policy application (preview) for a device tag on the Devices page | Only the selected disruption controls change for tagged devices |
| No disruption anywhere | Open a support case titled "Attack disruption opt-out" | Tenant-wide: alerts continue, no automated actions |
The key near-twin: Semi automation levels do not exclude a group; Semi still lets attack disruption act without manual approval. Only No automated response excludes the group, and it also stops AIR actions for it. Exclusions affect future actions only; a containment already applied is released from the Action center. Removing an exclusion puts the asset back in scope. Managing exclusions needs Security Administrator (or Security Operator / Core security settings (manage) with Unified RBAC); Security Reader can view them only.
Tip. Questions on this topic are short SOC scenarios set in the Microsoft Defender portal that ask which setting to configure or what explains an observed behaviour. The options are usually real Defender settings that each do a different job, so knowing what each setting changes, and what it leaves alone, decides the item. Expect near-twins to be contrasted: the three alert tuning actions, Semi versus No automated response for attack disruption, user versus device versus IP exclusions versus policy applications, analytics-rule correlation settings versus the custom detection setting, and Pending versus History in the Action center. Permissions (Manage security settings, Search and Purge) and documented limitations of built-in tuning rules and response-action notifications also appear, as do Select TWO items on merge conditions and attack disruption prerequisites. Current behaviour matters, including the 2026 Defender for Endpoint AIR change and the Entra ID Protection alert default.
- Pick the setting by its job: notifications tell people, tuning filters alerts, correlation groups them, AIR and attack disruption respond.
- Incident notification rules set severity per service or detection source; 'Send only one notification per incident' stops per-alert emails; RBAC limits rules to the device groups the owner can manage.
- Action notification rules filter by source (Manual/Automated) and status (Completed/Failed) and don't support custom detections with response actions; threat analytics rules track all reports or a type or tag.
- Hide alert (Defender for Endpoint only) keeps data in AlertInfo/AlertEvidence and creates no incident; Resolve alert keeps a closed record; Set as behavior moves data to BehaviorInfo/BehaviorEntities and isn't for Defender for Cloud or Office 365.
- Tuning silences alerts but doesn't stop blocking: add an allow indicator. Built-in tuning rules don't touch custom detection or Custom TI alerts.
- Entra ID Protection alerts default to High-risk detections only; change it in Alert service settings.
- Analytics rules: tenant default plus Enabled/Disabled or #INC_CORR#/#DONT_CORR# at the start of the description; custom detections: included by default, with a per-rule Include/Exclude; only the primary Sentinel workspace correlates with Defender alerts.
- Incidents don't merge when one is closed, assignees or classifications differ, the entity limit is hit, or (if enabled) device groups differ; fix the blocker and merge manually.
- Email remediation always waits for approval and needs Security Administrator plus Search and Purge; since September 2026 Defender for Endpoint AIR can't be triggered manually, while Defender for Office 365 AIR remains.
- Attack disruption needs Standard discovery, Defender for Identity sensors and a capable action account, the full Microsoft 365 connector and five mailbox audit events; Semi doesn't exclude a device group, No automated response does.
Frequently asked questions
How do I stop Microsoft Defender XDR sending an email for every alert in an incident?
Edit the incident notification rule under Settings > Microsoft Defender XDR > Email notifications > Incidents and select 'Send only one notification per incident'. Recipients then get one email when the incident is created instead of one each time another alert joins it.
What is the difference between Hide alert, Resolve alert and Set as behavior in Defender XDR alert tuning?
Hide alert suppresses a Defender for Endpoint alert and creates no incident, while the alert stays in the AlertInfo and AlertEvidence tables. Resolve alert still creates the alert and its incident, but in a resolved state. Set as behavior keeps matching signals out of the queue and incidents and stores them in the BehaviorInfo and BehaviorEntities tables; it isn't supported for Defender for Cloud or Defender for Office 365 alerts.
Does an alert tuning rule stop Defender from blocking a file?
No. Alert tuning changes only how alerts are handled, so the file can still be blocked or quarantined. To stop the block, add the file as an allow indicator; after you create a tuning rule from an alert, Defender offers to add the alert's evidence to the allow list.
How do I exclude a Microsoft Sentinel analytics rule from Defender XDR incident correlation?
Set the Incident correlation option on the rule's Incident settings tab to Disabled, or start the rule's description with the #DONT_CORR# tag. The rule's alerts are then grouped only by its own alert grouping configuration. The change applies to alerts created afterwards; custom detection rules use a separate per-rule Include or Exclude from correlation setting instead.
Why are two related Defender XDR incidents not merged?
Defender doesn't merge incidents when one is closed, when they are assigned to different people, when their classifications or determinations differ, when the merge would exceed the entity limit, or, if the organization enabled the condition, when their devices are in different device groups. Fix the blocker and merge the incidents manually, which preserves the activity log.
Can automated investigation in Defender for Office 365 delete email without approval?
No. Remediation actions on email and collaboration content found by automated investigation always wait on the Pending tab of the Action center for approval. Approving them needs the Security Administrator role plus a role group with the Search and Purge role, or the equivalent Unified RBAC permission.
What changed in Defender for Endpoint automated investigation in September 2026?
From 1 September 2026, automated investigation and response no longer runs as a separate investigation experience and can't be triggered manually for Defender for Endpoint alerts; its capabilities run automatically in the default antivirus protection stack, and Microsoft recommends a full antivirus scan for on-demand checks. Defender for Office 365 AIR is unchanged.
How do I stop automatic attack disruption from containing certain servers?
Set the servers' device group to the No automated response automation level, which excludes the group from automated containment and also from automated investigation and response. Semi automation levels don't exclude a group. To disable only one disruption control for a set of devices while keeping the rest, use a policy application for a device tag instead.
Source
This lesson covers the "Manage a security operations environment" domain of the official SC-200 exam guide. Vendors revise their guides — check the source for the current version.
- Microsoft SC-200 study guide — Microsoft Learn
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.