Defender for Endpoint Setup
Advanced features · indicators and suppression rules · custom data collection · ASR rules and security policies · device groups, RBAC and automation levels
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Advanced features
Turn features on or off under Settings > Endpoints > Advanced features, then select Save preferences.
| Feature | What it does / note |
|---|---|
| Restrict correlation to within scoped device groups | Cross-group incidents are no longer one incident; affects future correlations only |
| EDR in block mode | Blocks malicious artifacts even when Microsoft Defender Antivirus is in passive mode |
| Automatically resolve alerts | Resolves alerts with no threats found or threats remediated; a status the analyst set (In progress, Resolved) is not overwritten |
| Allow or block file | Needs Microsoft Defender Antivirus as the active antimalware solution and cloud-based protection on |
| Custom network indicators | IP, domain and URL indicators; devices need Windows 10 1709 or later, or Windows 11 |
| Tamper protection | Locks Microsoft Defender Antivirus settings against changes by apps or other methods |
| Hide potential duplicate device records | On by default, tenant wide |
| Download quarantined files | On by default |
| Live response / for servers / unsigned scripts | Three separate switches |
| Authenticated telemetry | Prevents spoofing telemetry into your dashboard |
| Microsoft Intune connection | Must be enabled in both Intune and Defender for Endpoint |
Rules: indicators and alert suppression
| Indicator action | Meaning |
|---|---|
| Allow | The IoC is allowed to run |
| Audit | An alert is triggered when the IoC runs |
| Warn | A warning the user can bypass |
| Block execution | The IoC is not allowed to run |
| Block and remediate | Not allowed to run, plus a remediation action |
- Indicators support files, IP addresses, URLs and domains, and certificates (.CER or .PEM). Define the action, duration and device group scope.
- IP indicators: no wildcards or ranges. A domain indicator also matches subdomains. HTTPS URL paths match only in Microsoft Edge.
- Blocking by file hash is not recommended because each application version has a different hash; use WDAC or AppLocker to block applications.
- An Allow indicator makes AIR ignore a bad verdict. To unblock one site from web content filtering, create a domain Allow indicator for the device group.
- Alert suppression rules (Settings > Endpoints > Rules > Alert suppression) can be turned on, edited or deleted; you can release alerts already suppressed. Sign in as Security administrator or Global Administrator.
Custom data collection
Custom data collection adds telemetry beyond defaults and sends it to a Microsoft Sentinel workspace. It does not replace standard telemetry. Create rules under Settings > Endpoints > Rules > Custom Data Collection.
| Table | Captures |
|---|---|
DeviceCustomProcessEvents | Process activity |
DeviceCustomImageLoadEvents | DLL and image loads |
DeviceCustomFileEvents | File creation, modification, deletion, access |
DeviceCustomNetworkEvents | Network connections |
DeviceCustomScriptEvents | Script execution |
- Requires Defender for Endpoint Plan 2 and a connected Sentinel workspace, which you must still select when creating rules (one workspace per tenant). Windows 10 and 11 (client 10.8805) and Windows Server 2019 and later.
- Targeting uses dynamic tags only, configured in Asset Rule Management. Static tags are not supported. Dynamic tags update about every hour.
- Each rule captures up to 75,000 events per device per 24-hour rolling window; at the limit that rule stops until the window resets, other rules continue.
- Deployment takes typically 20 minutes to 1 hour. Start with a small pilot group of 5-10 devices.
Security policies and ASR rules
- Endpoint security policies can be created in the Defender portal (Endpoint security policies page): one policy for Intune-enrolled devices and devices under Defender for Endpoint security settings management. Your permissions must apply to all devices; a role scoped to device groups cannot open the page.
- Permissions: unified RBAC Core security settings (manage), an Intune role such as Endpoint Security Manager, or Global Administrator, Security Administrator or Intune Administrator.
- ASR rules are a Windows feature (not Linux or macOS). They need Microsoft Defender Antivirus enabled and in Active mode.
- Standard protection rules: enable in Block mode without extensive testing. All other rules: test in Audit mode first. Standard rules are exploited vulnerable signed drivers, LSASS credential stealing and WMI persistence.
- Intune endpoint security policies are the recommended deployment method; Defender for Endpoint has no built-in deployment of ASR settings.
- Per-ASR rule exclusions: Group Policy, Intune endpoint security policies and Defender portal endpoint security policies only. All ASR rules honor Microsoft Defender Antivirus process exclusions.
| ASR mode | Code | Behavior |
|---|---|---|
| Off or Disabled | 0 | Explicitly disabled |
| Block | 1 | Enabled and blocking |
| Audit | 2 | As Block but takes no action; Event IDs 1122, 1125, 1132 and 1134 |
| Not configured | 5 | Like Off, without rule conflicts |
| Warn | 6 | Like Block, but the user can select Unblock to bypass for 24 hours |
- Plan the ASR rules deployment.
- Test: Audit mode, review reports, add exclusions.
- Enable: move from Audit to Block mode, expand to other rings.
- Manage and monitor ongoing activity.
Device groups, permissions and automation levels
- Device groups limit access to alerts and data by Microsoft Entra user group, and set the remediation (automation) level. Rules use device name, domain, tags and OS platform; you can add up to 10 rows (values) for each of tag, device name and domain, with OR between rows of the same type.
- A device in several groups joins only the highest ranked group (rank 1 is highest). Unmatched devices go to Ungrouped devices: you can change its remediation level and access, but not rank or delete it. Up to 2,000 groups per tenant.
- A group with no Entra groups assigned is accessible to all users. You can only assign Entra groups that hold RBAC roles.
- Turning on Defender for Endpoint RBAC removes access for read-only users until they get a role, and cannot be reverted. Starting February 16, 2025, new Defender for Endpoint customers only have access to unified RBAC.
- The Security Administrator role creates and manages device groups. Full automation is selected by default for tenants with Defender for Endpoint created on or after August 16, 2020, with no device groups defined yet.
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Verify a custom collection rule is collecting from a device | search in (DeviceCustomFileEvents, DeviceCustomScriptEvents, DeviceCustomNetworkEvents, DeviceCustomProcessEvents, DeviceCustomImageLoadEvents) "your_device_id" | where DeviceId == "your_device_id" | summarize EventCount = count() by RuleName, RuleLastModificationTime, $table | order by RuleLastModificationTime desc | - |
Exam Tips
Tick each tip once you can answer it without looking.
“Auto-resolve alerts setting and an analyst already set Resolved” → Analyst status is not overwritten. Trap: Auto-resolve does not undo manual status.
“Protection when Defender Antivirus is passive” → EDR in block mode. Trap: Tamper protection locks antivirus settings, not artifacts.
“Incidents split by device group for a local SOC” → Restrict correlation to within scoped device groups. Trap: Affects future correlations only; global SOC sees several incidents.
“Indicator for one specific bad hash on one team” → Allow, Audit, Warn, Block execution or Block and remediate, scoped to a device group. Trap: Hash blocking is not recommended; use WDAC or AppLocker for apps.
“Let marketing reach one blocked social site” → Domain Allow indicator on their device group. Trap: IP indicators allow no wildcards or ranges.
“Custom data collection targeting” → Dynamic tags only (Asset Rule Management). Trap: Static tags do not update and are not supported.
“Custom collection stopped on a device” → 75,000 events per device per rule per 24 hours reached; refine the rule. Trap: Other rules on the device keep collecting.
“Custom data collection prerequisites” → Defender for Endpoint Plan 2 and a Sentinel workspace selected at rule creation. Trap: A connected workspace is not enough; you must select it.
“Table for custom network connection events” → DeviceCustomNetworkEvents. Trap: Custom tables are named DeviceCustom..., five of them.
“Turn on a new non-standard ASR rule” → Audit mode first, then Block or Warn. Trap: Only the standard protection rules can go straight to Block.
“Warn mode behavior” → User selects Unblock to bypass for 24 hours; not in Configuration Manager. Trap: Audit mode is the one that takes no action.
“Per-ASR rule exclusions” → Group Policy, Intune endpoint security policies, Defender portal policies. Trap: PowerShell and Policy CSP do not support per-rule exclusions.
“Device in two device groups” → Highest ranked group wins (rank 1). Trap: It is not in both.
“Restrict a device group to a SOC team” → Assign an Entra user group that already holds an RBAC role. Trap: No assignment means everyone can access the group.
“Tenant with Defender for Endpoint created after August 16, 2020, no device groups yet: default automation level” → Full - remediate threats automatically. Trap: Semi - require approval for all folders is selected by default for tenants created before August 16, 2020 (no device groups defined).
Sources
- Configure advanced features in Defender for Endpoint
- Overview of indicators
- Manage suppression rules
- Custom data collection
- Create and manage custom data collection rules
- Device tags and targeting
- ASR rules overview
- Test ASR rules
- ASR rules deployment guide
- Manage endpoint security policies
- Create and manage device groups
- Role-based access control
- Create and manage roles
- Microsoft Defender unified RBAC
- Automation levels in AIR
Checked against Microsoft Learn on November 13, 2026.