DLP Policy Set Headers Action Location

AB-650 By islever Editorial Last updated

Short answer

B The Set headers action is supported only in Exchange email DLP policies, as it modifies SMTP message headers upon detection of sensitive content.

Question

You have a Microsoft 365 subscription.
You need to create a data loss prevention (DLP) policy that is configured to use the Set headers action.
To which location can the policy be applied?
  1. OneDrive accounts
  2. Exchange email Correct Answer
  3. SharePoint sites
  4. Teams chat and channel messages

Key Takeaways

Tests knowledge of DLP action limitations across workloads; the trap is assuming all locations support all actions, but header modification is unique to Exchange.

Learn which Microsoft 365 workload supports the Set headers action in DLP policies. Only Exchange email allows custom header injection for sensitive content detection scenarios.

Common mistake: Candidates may incorrectly choose Teams or SharePoint, assuming that any location can have metadata modified. However, 'headers' refer specifically to email transport headers, which do not exist in file or chat contexts.

Expert Analysis

The question asks where a Microsoft Purview Data Loss Prevention (DLP) policy can utilize the "Set headers" action. This action is specifically designed to modify email transport properties by injecting custom headers (such as X-MS-Exchange-Organization-AuthAs or custom X- headers) into messages.

Among the available locations, only Exchange email supports header modification. DLP policies for Exchange can trigger actions like adding recipients, redirecting messages, blocking access, and setting custom headers when sensitive information is detected. These headers are processed by the mail flow rules and can be used for further routing, classification, or security enforcement within the email infrastructure.

In contrast:

  • OneDrive accounts: DLP policies here focus on preventing unauthorized sharing or downloading of files containing sensitive data. Actions include blocking download, encrypting files, or notifying users. There is no concept of "email headers" in file storage contexts.
  • SharePoint sites: Similar to OneDrive, SharePoint DLP actions involve blocking file access, applying watermarking, or sending notifications. Header modification is not applicable.
  • Teams chat and channel messages: DLP for Teams can block, redact, or forward messages containing sensitive data. It does not support modifying email-style headers because Teams messages are not transmitted via SMTP with traditional email headers in the same way Exchange emails are.

Therefore, the "Set headers" action is exclusive to the Exchange workload within the Microsoft 365 DLP framework.

Exam Strategy

When reviewing DLP actions, always map them to their specific workload capabilities. Remember that actions involving email transport mechanics (like adding headers or changing recipients) are exclusive to Exchange. For file-based workloads (OneDrive/SharePoint), focus on access control and encryption. For Teams, focus on message redaction or forwarding. Memorize these distinctions to avoid confusion during the exam.

Frequently Asked Questions

Why can't I set headers in Teams DLP policies?

Teams uses a different messaging architecture than SMTP-based email. The 'Set headers' action is an email-specific function that modifies transport-level metadata, which is not applicable to Teams chat messages.

What other actions can I use in Exchange DLP policies?

Exchange DLP policies support actions such as blocking access, redirecting messages, adding recipients, encrypting messages, and setting custom headers. These help enforce security at the transport level.

More AB-650 FAQ →

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 1 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 1

  1. linux_admin 👍 1 Answered B
    Answer: B. Exchange email Explanation: In Microsoft Purview Data Loss Prevention (DLP), the Set headers action is used to inject custom email headers (such as X-headers) into messages when sensitive content is detected. Exchange email: This is the only location that supports email transport actions such as header modification, adding recipients, or routing adjustments. OneDrive accounts, SharePoint sites, and Teams chat and channel messages: These workloads handle file storage, collaboration, and messaging streams. Because they do not process MIME email headers, header modification actions cannot be applied to them.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to AB-650 Study Guide