Advanced hunting overview in Microsoft Defender - Microsoft Defender XDR | Microsoft Learn
In brief
The overview’s title, headings, setup instructions, RBAC label, and retention references now use “Microsoft Defender” instead of “Microsoft Defender XDR.” Metadata and ontology links were also updated.
What Defender admins need to know
Use the updated terminology when locating or referencing this documentation. No administrator action is stated.
Summaries are generated from the documentation change itself.
Documentation change
The comparison below shows only the changed extract. Use the full-page view for complete context.
Advanced hunting overview in Microsoft Defender XDR - Microsoft Defender XDR | Microsoft Learn
Advanced hunting is a query-based threat hunting tool that you use to explore up to 30 days of raw Defender XDR data. When you onboard a Microsoft Sentinel workspace, you can also query analytics-tier data according to the retention configured for the workspace. You can proactively inspect events in your network to locate threat indicators and entities. The flexible access to data enables unconstrained hunting for both known and potential threats.
Advanced hunting supports two modes: guided and advanced. Use guided mode if you're not yet familiar with Kusto Query Language (KQL) or if you prefer the convenience of a query builder. Use advanced mode if you're comfortable using KQL to create queries from scratch.
- Microsoft Defender for Identity
- Microsoft Sentinel
To use advanced hunting, turn on Microsoft Defender. To use advanced hunting with Microsoft Sentinel, connect Microsoft Sentinel to the Defender portal.
For more information on advanced hunting in Microsoft Defender for Cloud Apps data, see Advanced hunting in Defender for Cloud Apps (video).
You need to be assigned permissions before you can run advanced hunting queries. You have the following options:
Microsoft Defender unified role-based access control (URBAC):
- Advanced Hunting access (Email & Collaboration tables): Membership assigned with the Security operations > Raw data > **Email & collaboration metadata (read)**URBAC permission. This permission provides access to:
- EmailEvents
- Advanced Hunting access (Email & Collaboration tables): Membership assigned with the Security operations > Raw data > **Email & collaboration metadata (read)**URBAC permission. This permission provides access to:
| Quota or parameter | Size | Refresh cycle | Description |
|---|---|---|---|
| Date range | 30 days for native Defender |
Every query | Each query can look up native Defender |
| Result set | 100,000 rows | Every query | Each query can return up to 100,000 records. |
| Timeout | 10 minutes | Every query | Each query can run for up to 10 minutes. If it doesn't complete within 10 minutes, the service displays an error. |
| CPU resources | Based on tenant size | Every 15 minutes | The portal displays a warning whenever a query runs and the tenant consumes over 10% of allocated resources. Queries are blocked if the tenant reaches 100% until after the next 15-minute cycle. |
Extend data retention
To retain supported Defender XDR hunting tables for more than 30 days, onboard a Microsoft Sentinel workspace and configure the tables' analytics-tier retention. For more information, see Configure table settings in Microsoft Sentinel.
You can also stream Defender XDR data to external services for longer retention. For more information, see:
- Microsoft Defender Streaming API
- Microsoft Defender for Endpoint Raw Data Streaming API
@@ -1,6 +1,6 @@ --- layout: Conceptual-title: Advanced hunting overview in Microsoft Defender XDR - Microsoft Defender XDR | Microsoft Learn+title: Advanced hunting overview in Microsoft Defender - Microsoft Defender XDR | Microsoft Learn canonicalUrl: https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-overview breadcrumb_path: /defender-xdr/breadcrumb/toc.json permissioned-type: public@@ -21,9 +21,10 @@ ms.custom: - cx-ti - cx-ah - seo-marvel-apr2020-- msecd-doc-authoring-1015+- msecd-doc-authoring-1032 ms.topic: overview-ms.date: 2026-08-07T00:00:00.0000000Z+ms.date: 2026-11-09T00:00:00.0000000Z+ai-usage: ai-assisted locale: en-us document_id: 24fc4809-527a-f593-b08e-7e5c3ce3a137 document_version_independent_id: 24fc4809-527a-f593-b08e-7e5c3ce3a137@@ -40,19 +41,19 @@ monikers: [] item_type: Content source_path: defender-xdr/advanced-hunting-overview.md cmProducts:+- https://microsoft-devrel.poolparty.biz/DevRelOfferingOntology/c671beaa-a830-4c9f-aceb-97379ee031ca - https://authoring-docs-microsoft.poolparty.biz/devrel/fcc3cd4a-59ea-47a2-9cc1-784142a5a25d-- https://microsoft-devrel.poolparty.biz/DevRelOfferingOntology/1577a46d-8446-40bd-bfae-0578362f4d94 - https://authoring-docs-microsoft.poolparty.biz/devrel/8a94907f-2511-4271-b5ca-ec7f2e75067c spProducts:+- https://microsoft-devrel.poolparty.biz/DevRelOfferingOntology/8921374c-4dbe-4ed0-b011-a39e18bfbd98 - https://authoring-docs-microsoft.poolparty.biz/devrel/d7a55faf-a992-4e27-aa3a-eadc9830e778-- https://microsoft-devrel.poolparty.biz/DevRelOfferingOntology/cdf3f22d-5420-4d59-a2bf-66d6b3d9c828 - https://authoring-docs-microsoft.poolparty.biz/devrel/bffa8e88-f633-409d-a24d-083bdbc68872 platformId: 7b9bc1d5-b45e-e7a1-b631-ac2cbe525251 --- -# Advanced hunting overview in Microsoft Defender XDR - Microsoft Defender XDR | Microsoft Learn+# Advanced hunting overview in Microsoft Defender - Microsoft Defender XDR | Microsoft Learn -Advanced hunting is a query-based threat hunting tool that you use to explore up to 30 days of raw Defender XDR data. When you onboard a Microsoft Sentinel workspace, you can also query analytics-tier data according to the retention configured for the workspace. You can proactively inspect events in your network to locate threat indicators and entities. The flexible access to data enables unconstrained hunting for both known and potential threats.
+Advanced hunting is a query-based threat hunting tool that you use to explore up to 30 days of raw Defender data. When you onboard a Microsoft Sentinel workspace, you can also query analytics-tier data according to the retention configured for the workspace. You can proactively inspect events in your network to locate threat indicators and entities. The flexible access to data enables unconstrained hunting for both known and potential threats.
Advanced hunting supports two modes: guided and advanced. Use [guided mode](advanced-hunting-query-builder) if you're not yet familiar with Kusto Query Language (KQL) or if you prefer the convenience of a query builder. Use [advanced mode](advanced-hunting-query-language) if you're comfortable using KQL to create queries from scratch.
@@ -68,7 +69,7 @@ Advanced hunting supports queries that check a broader data set coming from: - Microsoft Defender for Identity
- Microsoft Sentinel
-To use advanced hunting, [turn on Microsoft Defender XDR](m365d-enable). To use advanced hunting with Microsoft Sentinel, [connect Microsoft Sentinel to the Defender portal](/en-us/azure/sentinel/microsoft-sentinel-onboard).
+To use advanced hunting, [turn on Microsoft Defender](m365d-enable). To use advanced hunting with Microsoft Sentinel, [connect Microsoft Sentinel to the Defender portal](/en-us/azure/sentinel/microsoft-sentinel-onboard).
For more information on advanced hunting in Microsoft Defender for Cloud Apps data, see [Advanced hunting in Defender for Cloud Apps (video)](https://learn-video.azurefd.net/vod/player?id=ffdedc73-6edf-45a9-8c90-566296e8d4ec).
@@ -76,7 +77,7 @@ For more information on advanced hunting in Microsoft Defender for Cloud Apps da
You need to be assigned permissions before you can run advanced hunting queries. You have the following options:
-- [Microsoft Defender XDR Unified role based access control (URBAC)](manage-rbac):
+- [Microsoft Defender unified role-based access control (URBAC)](manage-rbac):
- **Advanced Hunting access (Email & Collaboration tables)**: Membership assigned with the **Security operations** > **Raw data** > **Email & collaboration metadata (read)**URBAC permission. This permission provides access to:
- **EmailEvents**
@@ -133,7 +134,7 @@ The following table describes the available quotas and usage parameters.
| Quota or parameter | Size | Refresh cycle | Description |
| --- | --- | --- | --- |
-| Date range | 30 days for native Defender XDR data. Microsoft Sentinel table retention depends on the configured analytics-tier retention. | Every query | Each query can look up native Defender XDR data from up to the past 30 days. When you onboard a Microsoft Sentinel workspace, the available date range for its tables depends on the configured analytics-tier retention. |
+| Date range | 30 days for native Defender data. Microsoft Sentinel table retention depends on the configured analytics-tier retention. | Every query | Each query can look up native Defender data from up to the past 30 days. When you onboard a Microsoft Sentinel workspace, the available date range for its tables depends on the configured analytics-tier retention. |
| Result set | 100,000 rows | Every query | Each query can return up to 100,000 records. |
| Timeout | 10 minutes | Every query | Each query can run for up to 10 minutes. If it doesn't complete within 10 minutes, the service displays an error. |
| CPU resources | Based on tenant size | Every 15 minutes | The portal displays a warning whenever a query runs and the tenant consumes over 10% of allocated resources. [Queries are blocked](advanced-hunting-errors) if the tenant reaches 100% until after the next 15-minute cycle. |
@@ -163,9 +164,9 @@ Microsoft Defender converts advanced hunting results to the [timezone](m365d-tim
## Extend data retention
-To retain supported Defender XDR hunting tables for more than 30 days, onboard a Microsoft Sentinel workspace and configure the tables' analytics-tier retention. For more information, see [Configure table settings in Microsoft Sentinel](/en-us/azure/sentinel/manage-table-tiers-retention).
+To retain supported Defender hunting tables for more than 30 days, onboard a Microsoft Sentinel workspace and configure the tables' analytics-tier retention. For more information, see [Configure table settings in Microsoft Sentinel](/en-us/azure/sentinel/manage-table-tiers-retention).
-You can also stream Defender XDR data to external services for longer retention. For more information, see:
+You can also stream Defender data to external services for longer retention. For more information, see:
- Microsoft Defender [Streaming API](/en-us/defender-xdr/streaming-api)
- Microsoft Defender for Endpoint [Raw Data Streaming API](/en-us/defender-endpoint/api/raw-data-export)
