PurviewTroubleshooting

Email blocked by Purview DLP: notifications, NDRs, overrides and incident reports

Why Purview DLP blocked an email, what the sender sees, how to prove which rule did it, and how overrides, quarantine release and false-positive fixes work.

"My email bounced and I don't know why" is often a data loss prevention (DLP) rule doing its job, or doing too much of it. In this post I'll map the actions a Microsoft Purview DLP rule can take on email to what the sender actually sees, show how to prove which policy and rule acted, and cover overrides with business justification, quarantine release and fixing false positives.

Errors this guide fixes

  • Your email message conflicts with a policy in your organization. The message wasn't delivered to all recipients.DLP notification email (sender)+1 more guide
  • Message BlockedDLP notification email subject
How this guide is organized: Symptoms → Why it happens → How to fix it → Verify the fix → Prevent it next timeFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (5 steps: Prove DLP acted; Find the policy, rule and match; Decide: real leak or false positive; Let users override properly; Release or resend). 4. Verify the fix. 5. Prevent it next time. Toolbox: Get-DlpComplianceRule, Show Details › Override, BlockAccess, NotifyAllowOverride, EncryptRMSTemplate.1Symptoms2Why it happens3How to fix it4Verify the fix5Prevent it nexttime1Prove DLP acted2Find the policy, ruleand match3Decide: real leak orfalse positive4Let users overrideproperly5Release or resendTOOLBOXGet-DlpComplianceRuleShow Details › OverrideBlockAccessNotifyAllowOverrideEncryptRMSTemplateHow this guide is organized: Symptoms → Why it happens → How to fix it → Verify the fix → Prevent it next timeFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (5 steps: Prove DLP acted; Find the policy, rule and match; Decide: real leak or false positive; Let users override properly; Release or resend). 4. Verify the fix. 5. Prevent it next time. Toolbox: Get-DlpComplianceRule, Show Details › Override, BlockAccess, NotifyAllowOverride, EncryptRMSTemplate.1Symptoms2Why it happens3How to fix it1Prove DLP acted2Find the policy, rule and match3Decide: real leak or false positive4Let users override properly5Release or resend4Verify the fix5Prevent it next timeTOOLBOXGet-DlpComplianceRuleShow Details › OverrideBlockAccessNotifyAllowOverrideEncryptRMSTemplate
At a glance: how this guide is organized · 5 fix steps · 5 key tools

Symptoms#

  • The sender gets a notification whose subject starts with Message Blocked, often with the original message attached.
  • Internal recipients received the message but external ones didn't.
  • Message trace shows the message as Failed or Quarantined, with a DLP rule event in its details.
  • Before sending, Outlook showed a policy tip (if it didn't, see policy tips not showing in Outlook).

The default notification text for a blocked email is:

Text
Your email message conflicts with a policy in your organization. The message wasn't delivered to all recipients.

Depending on the rule's notification settings, the sender may get an NDR instead. Microsoft doesn't document a DLP-specific NDR code; in a bounce sample discussed on Microsoft Q&A, the status was 550 5.7.171 with an X-MSG-IS-MS-DLP: true header. Treat those as hints and confirm with the evidence below.

Why it happens#

Each Exchange action produces a different experience:

Rule action (PowerShell)What happens
Restrict access, everyone (BlockAccess, BlockAccessScope All)Not delivered; sender notified if configured
Restrict access, external only (BlockAccessScope PerUser)Message is split: internal recipients get it, external ones don't
Block with override (NotifyAllowOverride)Blocked unless the sender overrides from the policy tip
Encrypt (EncryptRMSTemplate)Delivered encrypted, nothing bounces
Deliver to the hosted quarantine (Quarantine)Held until an admin releases it
Forward for approval (Moderate)Waits for the manager or approvers
Redirect (RedirectMessageTo)Goes elsewhere, with no notification to sender or recipients

Unexpected blocks usually trace back to a sensitive information type matching too loosely, a rule scoped wider than intended, a stricter rule winning on priority, or a simulation that was set to switch itself on (see how DLP rule priority works).

How to fix it#

Is it DLP, is the match real, and how does the message get throughDoes message trace show a DLP rule event for the message? if No: DLP didn't act on this message (NDR codes are only hints; the trace must show the DLP rule event); if Yes: Does the DLP alert show a real leak? if Yes: Working as designed (Explain the policy and offer an approved route, such as sending encrypted); if False positive: Was the message quarantined? if Yes: Tune the rule, then release the message (Release it from the Quarantine page of the Microsoft Defender portal); if No, blocked: Tune the rule; the sender sends again (A blocked message can't be released; raise confidence or allow override)Does message trace show aDLP rule event for themessage?NOTEDLP didn't act on thismessageNDR codes are only hints;the trace must show theDLP rule eventNoDoes the DLP alert show a realleak?OKWorking as designedExplain the policy and offeran approved route, such assending encryptedYesWas the message quarantined?FIXTune the rule, thenrelease the messageRelease it from theQuarantine page of theMicrosoft Defender portalYesFIXTune the rule; thesender sends againA blocked message can't bereleased; raise confidenceor allow overrideNo, blockedFalse positiveYesIs it DLP, is the match real, and how does the message get throughDoes message trace show a DLP rule event for the message? if No: DLP didn't act on this message (NDR codes are only hints; the trace must show the DLP rule event); if Yes: Does the DLP alert show a real leak? if Yes: Working as designed (Explain the policy and offer an approved route, such as sending encrypted); if False positive: Was the message quarantined? if Yes: Tune the rule, then release the message (Release it from the Quarantine page of the Microsoft Defender portal); if No, blocked: Tune the rule; the sender sends again (A blocked message can't be released; raise confidence or allow override)Does message trace show a DLP rule event forthe message?NoNOTEDLP didn't act on this messageNDR codes are only hints; the trace must show theDLP rule eventYesDoes the DLP alert show a real leak?YesOKWorking as designedExplain the policy and offer an approved route,such as sending encryptedFalse positiveWas the message quarantined?YesFIXTune the rule, then release themessageRelease it from the Quarantine page of theMicrosoft Defender portalNo, blockedFIXTune the rule; the sender sends againA blocked message can't be released; raiseconfidence or allow override
Figure 1 · Decision tree Is it DLP, is the match real, and how does the message get through. Prove DLP acted with message trace, read the match in the DLP alert, then tune the rule and release or resend the message.

1. Prove DLP acted#

Trace the message in the Exchange admin center (Mail flow › Message trace) or with the V2 cmdlets, and look for the DLP rule event:

PowerShell
Connect-ExchangeOnline
$t = Get-MessageTraceV2 -SenderAddress anna@contoso.com -StartDate (Get-Date).AddDays(-2) -EndDate (Get-Date)
$t | Where-Object Subject -like "*Q3 payroll*" | Get-MessageTraceDetailV2 | Format-List Date,Event,Detail

More on reading traces in using message trace in Exchange Online.

2. Find the policy, rule and match#

Open the DLP alert in the Microsoft Purview portal or Defender XDR, or filter activity explorer for DLP rule match events from the sender. Both show the policy, the rule and the matched sensitive information types (see investigating DLP alerts).

3. Decide: real leak or false positive#

If the match is real, explain the policy and offer an approved route, such as sending encrypted. If it's a false positive, tune the rule: raise the confidence level or instance count, add a narrow exception such as ExceptIfRecipientDomainIs for one partner, or downgrade the rule to block with override:

PowerShell
Connect-IPPSSession
Set-DlpComplianceRule -Identity "Block external customer data" -BlockAccess $true -BlockAccessScope PerUser -NotifyAllowOverride WithJustification

The rule also needs policy tips, otherwise users never see the override option.

4. Let users override properly#

In Outlook and Outlook on the web, the sender chooses Show Details › Override, enters a business justification or reports a false positive, and sends again. An override applies per rule and overrides all of that rule's actions; the justification is logged for DLP reports. Overridden messages can also be targeted with the Has sender overridden the policy tip condition, for example to add the sender's manager as Bcc; pilot such a rule before relying on it.

5. Release or resend#

Quarantined messages can be released on the Quarantine page of the Microsoft Defender portal by members of the Quarantine Administrator, Security Administrator or Organization Management role groups. A blocked message can't be released: after you fix the rule, or with an override, the sender sends it again (the notification often carries the original as an attachment).

Verify the fix#

  1. Send the same dummy test data again from a pilot account. The outcome should match the rule you intended: delivered, tip with override, or blocked.
  2. Message trace shows Delivered for the resent or released message.
  3. Overrides and false-positive reports appear in the DLP reports with the justification text.
  4. Run the policy check: Get-DlpComplianceRule -Policy "DLP - Customer data" | Format-List Name,BlockAccess,BlockAccessScope,NotifyAllowOverride.

Prevent it next time#

  • Write useful notifications. Custom email notifications support tokens such as %%PolicyName%%, %%PolicyRule%%, %%MatchedConditions%% and %%BlockedMessageInfo%%. Notification emails are sent unprotected, and external senders only get a templated version.
  • Route evidence. Set GenerateIncidentReport with IncidentReportContent to send incident reports to a compliance mailbox, and use ReportSeverityLevel and GenerateAlert so high-severity rules raise alerts.
  • Simulate first and tier your rules; see from simulation mode to enforcement and tuning DLP false positives.
  • For other DLP messages, see the Purview DLP messages quick reference.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

M365 Subject Matter Expert, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)