Ai Agent Runtime Protection Overview
In brief
The documentation now states that enabling prompt evidence collection sends prompts and tool calls, including arguments, to the cloud in their original form. Captured content may appear in security alerts and is retained under the Microsoft Defender XDR data retention policy.
What Defender admins need to know
Review privacy and data-handling requirements before enabling collection, since sensitive content and secrets are not redacted.
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.
Prompt evidence collection
Prompt evidence collection is a device setting for AI agent runtime protection.
When prompt evidence collection is enabledenabled, Defender sends prompt data and runtime protectiontool calls, including their arguments, to the cloud to help detect threats and investigate suspicious agent activity. This content is enabledsent in Audit or Block mode, Defender exposes prompt snippets exchanged betweenits original form, without redaction. Captured content can also appear in security alerts. Disabling collection stops this content from being sent to the user and the agent to support deeper analysis of agent-related alerts. These snippets include only the portions of user prompts or agent responses identified as suspicious and relevant to security classification.cloud, which limits detections that rely on analyzing it.
Note
Important
Sensitive data and secrets aren't redacted from prompt snippets shown in alerts. These snippets can contain users' conversations, sensitive data, and secrets. Review your organization's privacy and data-handling requirements before you enable collection. Evidence included in security alerts is retained according to the Microsoft Defender XDR data retention policy.
Disabling device-level collection doesn't disable runtime protection. Content associated with activity that Defender blocks can still appear in the associated security alert.
Configure device collection through PowerShell or the policy template. For prerequisites, commands, and deployment steps, see Configure prompt evidence collection.
@@ -14,7 +14,7 @@ ms.author: joshbregman ms.service: defender-endpoint ms.topic: overview ms.custom: msecd-doc-authoring-1030-ms.date: 2026-11-11T00:00:00.0000000Z+ms.date: 2026-11-20T00:00:00.0000000Z ai-usage: ai-assisted locale: en-us document_id: 2840101c-b02b-c6b4-ccda-603c72dcf7d6@@ -104,7 +104,9 @@ For local PowerShell and organization-wide Microsoft Intune configuration option
### Prompt evidence collection
-Prompt evidence collection is a device setting for AI agent runtime protection. When collection is enabled and runtime protection is enabled in **Audit** or **Block** mode, Defender exposes prompt snippets exchanged between the user and the agent to support deeper analysis of agent-related alerts. These snippets include only the portions of user prompts or agent responses identified as suspicious and relevant to security classification.
+Prompt evidence collection is a device setting for AI agent runtime protection.
+
+When prompt evidence collection is enabled, Defender sends prompt data and tool calls, including their arguments, to the cloud to help detect threats and investigate suspicious agent activity. This content is sent in its original form, without redaction. Captured content can also appear in security alerts. Disabling collection stops this content from being sent to the cloud, which limits detections that rely on analyzing it.
Note
@@ -112,9 +114,9 @@ An upcoming Microsoft Defender Antivirus platform release will enable prompt evi
Important
-Sensitive data and secrets **aren't redacted** from prompt snippets shown in alerts. These snippets can contain users' conversations, sensitive data, and secrets. Review your organization's privacy and data-handling requirements before you enable collection. Evidence included in security alerts is retained according to the [Microsoft Defender XDR data retention policy](/en-us/defender-xdr/data-privacy).
+Review your organization's privacy and data-handling requirements before you enable collection. Evidence included in security alerts is retained according to the [Microsoft Defender XDR data retention policy](/en-us/defender-xdr/data-privacy).
-Disabling device-level collection doesn't disable runtime protection. Content associated with activity that Defender blocks can still appear in the associated security alert.
+Disabling device-level collection doesn't disable runtime protection.
Configure device collection through PowerShell or the policy template. For prerequisites, commands, and deployment steps, see [Configure prompt evidence collection](configure-ai-agent-runtime-protection#configure-prompt-evidence-collection).
