Advanced hunting overview in Microsoft Defender - Microsoft Defender XDR | Microsoft Learn
In brief
The documented default remains 30 days for native Defender data, while eligible ISOC customers with supported licenses can query supported data for up to 90 days when retention is enabled and available.
What Defender admins need to know
Admins should account for the extended hunting window and note that queries exceeding 30 days show different data-source and processed-data details.
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.
- cx-ti
- cx-ah
- seo-marvel-apr2020
- msecd-doc-authoring-
10321030 ms.topic: overview ms.date: 2026-11-09T00:00:00.0000000Z ai-usage: ai-assisted
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 data.data, or up to 90 days of supported data with an eligible Integrated Security Operations Center (ISOC) license. 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.
| Quota or parameter | Size | Refresh cycle | Description |
|---|---|---|---|
| Date range | Up to 30 days for native Defender |
Every query | |
| 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 retainAdvanced hunting supports up to 30 days of native Defender data retention by default. With ISOC, customers who have an eligible Microsoft Defender Suite, Microsoft 365 E5, or Microsoft 365 E7 license receive 90 days of included retention for supported Microsoft Defender data, Azure Activity data, and Office 365 Activity data.
The 90-day retention benefit applies to supported workloads. For the list of included tables, see Tables included with 90-day retention.
When 90-day retention is enabled for your tenant and the required data is available, you can run advanced hunting tables forqueries that look back more than 30 days.
For queries that exceed 30 days, onboard athe query details pane shows:
- Data sources: Kusto instead of Log Analytics.
- Age of processed data: The actual duration queried.
For Microsoft Sentinel workspace and configuretables, the tables'available retention period depends on the configured analytics-tier retention. For more information, see Configure table settings in Microsoft Sentinel.
You can also stream Defender data to external services for longer retention. For more information, see:
@@ -21,7 +21,7 @@ ms.custom: - cx-ti - cx-ah - seo-marvel-apr2020-- msecd-doc-authoring-1032+- msecd-doc-authoring-1030 ms.topic: overview ms.date: 2026-11-09T00:00:00.0000000Z ai-usage: ai-assisted@@ -53,7 +53,7 @@ platformId: 7b9bc1d5-b45e-e7a1-b631-ac2cbe525251 # 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 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, or up to 90 days of supported data with an eligible Integrated Security Operations Center (ISOC) license. 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.
@@ -134,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 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. |
+| Date range | Up to 30 days for native Defender data, or up to 90 days for supported data with an eligible ISOC license. Microsoft Sentinel table retention depends on the configured analytics-tier retention. | Every query | Eligible ISOC customers can query supported Defender data from up to the past 90 days. The available date range depends on the data retained for the tenant. For Microsoft Sentinel tables, the date range 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. |
@@ -164,7 +164,18 @@ Microsoft Defender converts advanced hunting results to the [timezone](m365d-tim
## Extend data 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).
+Advanced hunting supports up to 30 days of native Defender data retention by default. With ISOC, customers who have an eligible Microsoft Defender Suite, Microsoft 365 E5, or Microsoft 365 E7 license receive 90 days of included retention for supported Microsoft Defender data, Azure Activity data, and Office 365 Activity data.
+
+The 90-day retention benefit applies to supported workloads. For the list of included tables, see [Tables included with 90-day retention](integrated-security-operations-data-billing-retention#90-day-retention).
+
+When 90-day retention is enabled for your tenant and the required data is available, you can run advanced hunting queries that look back more than 30 days.
+
+For queries that exceed 30 days, the query details pane shows:
+
+- **Data sources**: Kusto instead of Log Analytics.
+- **Age of processed data**: The actual duration queried.
+
+For Microsoft Sentinel tables, the available retention period depends on the configured 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 data to external services for longer retention. For more information, see:
