PurviewTroubleshooting

Purview DLP blocks a SharePoint or OneDrive file: the blocked icon, policy tips and fixes

Why Purview DLP blocks SharePoint and OneDrive files after upload, what the warning and blocked icons mean, and how to override, report false positives and verify.

A file in SharePoint or OneDrive suddenly shows a blocked icon, guests can't open it, and the owner wants to know who broke sharing. Usually nobody did: a Microsoft Purview data loss prevention (DLP) rule found sensitive content and restricted access. In this post I'll explain what users see, why DLP blocks a file (sometimes well after upload), how to unblock it properly and how to prove what happened.

Errors this guide fixes

  • This item conflicts with a policy in your organization. If you don't resolve this conflict, access to this file might be blocked.SharePoint / OneDrive policy tip
  • Access to this item is blocked for everyone except its owner, last modifier, and the primary site admin.SharePoint / OneDrive policy tip+1 more guide
  • This item conflicts with a policy in your organization.SharePoint / OneDrive policy tip+1 more guide
  • This file conflicts with a policy in your organization. If you don't resolve this conflict, access to this file might be blocked.Word, Excel, PowerPoint (Message Bar)
  • Access BlockedDLP email notification (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: Identify the policy and rule; Decide whether the match is real; Let users override where the business allows it; Tune the rule instead of excluding the site; Rule out non-DLP causes). 4. Verify the fix. 5. Prevent it next time. Toolbox: Set-SPOTenant, NotifyAllowOverride, WithoutJustification, WithJustification, FalsePositives.1Symptoms2Why it happens3How to fix it4Verify the fix5Prevent it nexttime1Identify the policyand rule2Decide whether thematch is real3Let users overridewhere the busines…4Tune the ruleinstead of excludi…5Rule out non-DLPcausesTOOLBOXSet-SPOTenantNotifyAllowOverrideWithoutJustificationWithJustificationFalsePositivesHow 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: Identify the policy and rule; Decide whether the match is real; Let users override where the business allows it; Tune the rule instead of excluding the site; Rule out non-DLP causes). 4. Verify the fix. 5. Prevent it next time. Toolbox: Set-SPOTenant, NotifyAllowOverride, WithoutJustification, WithJustification, FalsePositives.1Symptoms2Why it happens3How to fix it1Identify the policy and rule2Decide whether the match is real3Let users override where the business allows it4Tune the rule instead of excluding the site5Rule out non-DLP causes4Verify the fix5Prevent it next timeTOOLBOXSet-SPOTenantNotifyAllowOverrideWithoutJustificationWithJustificationFalsePositives
At a glance: how this guide is organized · 5 fix steps · 5 key tools

Symptoms#

  • In the document library the file shows a warning icon (the rule only notifies) or a blocked icon (the rule restricts access).
  • The policy tip in the details pane shows one of the default texts below. Custom tips replace them with plain text of up to 256 characters, so your tenant may show different wording.
Text
This item conflicts with a policy in your organization.
This item conflicts with a policy in your organization. If you don't resolve this conflict, access to this file might be blocked.
This item conflicts with a policy in your organization. Access to this item is blocked for everyone except its owner, last modifier, and the primary site admin.
  • Word, Excel or PowerPoint on the desktop shows on the Message Bar: This file conflicts with a policy in your organization. If you don't resolve this conflict, access to this file might be blocked. with a pointer to the File menu.
  • The owner or last modifier receives a DLP email notification whose subject starts with Access Blocked.
  • Guests, or people who received an "Anyone" link, can't open a file that worked yesterday, while the owner still can.

Why it happens#

DLP in SharePoint and OneDrive isn't a gate at upload time. Policies sync to sites, and files are evaluated periodically and asynchronously after they've been crawled. That design explains most tickets:

  • Delayed blocks. A new file can be uploaded and shared, then blocked shortly afterward when evaluation catches up. Editing existing content also triggers policy tips (though not new email notifications), so a clean file can become blocked after someone pastes in a list of card numbers.
  • Access restriction, not deletion. The action Restrict access or encrypt the content in Microsoft 365 locations can block everyone except the owner, last modifier and primary site admin, block only people outside your organization, or block only people who got access through an "Anyone" link. The file stays put; sharing simply stops working for the blocked audience.
  • Who counts as external. Users whose user type is Member are internal; Guest accounts are external.
  • The most restrictive rule wins. When a file matches several rules or policies, users see only the tip from the most restrictive, highest-priority rule, and Microsoft notes this includes policies in simulation mode. The tip a user reads may therefore come from a policy you didn't expect.

How to fix it#

Why DLP blocked a SharePoint or OneDrive file and how to unblock itIs there a policy tip or a DLP event for the file? if No: Rule out sharing settings instead (Check Access Denied, sharing link errors and external sharing settings.); if Yes: Is the matched content really sensitive? if No: Report a false positive and tune the rule (Raise confidence or instance count instead of excluding the site.); if Yes: Does the business allow this sharing? if Yes: Override the policy tip with a justification (Only offered when the rule blocks access and allows override.); if No: Remove the content or the sharing (DLP re-evaluates the file and the icon clears after a delay.)Is there a policy tip or a DLPevent for the file?FIXRule out sharingsettings insteadCheck Access Denied,sharing link errors andexternal sharing settings.NoIs the matched content reallysensitive?FIXReport a false positiveand tune the ruleRaise confidence orinstance count instead ofexcluding the site.NoDoes the business allow thissharing?FIXOverride the policy tipwith a justificationOnly offered when the ruleblocks access and allowsoverride.YesFIXRemove the content orthe sharingDLP re-evaluates the fileand the icon clears after adelay.NoYesYesWhy DLP blocked a SharePoint or OneDrive file and how to unblock itIs there a policy tip or a DLP event for the file? if No: Rule out sharing settings instead (Check Access Denied, sharing link errors and external sharing settings.); if Yes: Is the matched content really sensitive? if No: Report a false positive and tune the rule (Raise confidence or instance count instead of excluding the site.); if Yes: Does the business allow this sharing? if Yes: Override the policy tip with a justification (Only offered when the rule blocks access and allows override.); if No: Remove the content or the sharing (DLP re-evaluates the file and the icon clears after a delay.)Is there a policy tip or a DLP event for the file?NoFIXRule out sharing settings insteadCheck Access Denied, sharing link errors and externalsharing settings.YesIs the matched content really sensitive?NoFIXReport a false positive and tune the ruleRaise confidence or instance count instead ofexcluding the site.YesDoes the business allow this sharing?YesFIXOverride the policy tip with ajustificationOnly offered when the rule blocks accessand allows override.NoFIXRemove the content or the sharingDLP re-evaluates the file and the icon clearsafter a delay.
Figure 1 · Decision tree Why DLP blocked a SharePoint or OneDrive file and how to unblock it. Start with the blocked file and follow your answers to the fix; allow for the delay before DLP re-evaluates it.

1. Identify the policy and rule#

Ask the owner to select the file, choose Information in the upper-right corner to open the details pane, and select View policy tip. The tip lists the issues found. As an admin, open Activity explorer from the Data loss prevention solution in the Microsoft Purview portal, apply the DLP policies that detected activities filter set and filter by user or location. The event details name the policy and rule that matched and what was detected.

Activity explorer isn't real time: allow 60 to 90 minutes for SharePoint and OneDrive events to appear, and remember it reports on 30 days of data.

2. Decide whether the match is real#

  • Real sensitive data: the owner removes the sensitive content, or removes the sharing with the blocked audience (for example the guest or the "Anyone" link). DLP re-evaluates the file, and the icon clears after a delay similar to the one that set it.
  • False positive: the owner selects Resolve in the policy tip and then Report a false positive, if the rule allows it. Collect the matched info type from the event so you can tune the rule.

3. Let users override where the business allows it#

If the rule offers it, the owner selects Resolve, then Override the policy tip, and enters a business justification when one is required. Override is per rule and overrides every action in that rule, plus any other rules the file matched. It's only offered when the rule both blocks access and allows override; a notify-only rule never shows it. If users say the override option is missing, check the rule in Security & Compliance PowerShell:

PowerShell
Connect-IPPSSession
Get-DlpComplianceRule -Policy "DLP - Customer data" |
  Format-List Name,BlockAccess,BlockAccessScope,NotifyAllowOverride

Microsoft's guidance: when NotifyAllowOverride is set to WithoutJustification, WithJustification or FalsePositives, BlockAccess must be True and BlockAccessScope must have a suitable value; otherwise the tip appears without an override option.

4. Tune the rule instead of excluding the site#

If one info type keeps misfiring, raise its confidence level or minimum instance count, or add a targeted exception, rather than removing the site or OneDrive from the policy. The detailed process is in tuning Purview DLP false positives. A useful pattern from Microsoft's examples: notify only for internal sharing, block with override for larger internal volumes, and block without override for external sharing.

5. Rule out non-DLP causes#

No policy tip and no DLP event, but guests still can't open the file? Then check sharing instead: Access Denied and sharing link errors and external sharing settings explained.

Verify the fix#

  • The icon on the file is gone and the policy tip no longer appears (allow for the asynchronous delay).
  • A test guest or a fresh "Anyone" link opens the file, if that's what the policy now permits.
  • In Activity explorer the newest event for the file reflects the change. In Audit, overrides and false-positive reports are logged under the ComplianceDLPSharePoint record type; see searching the audit log in Purview.
  • A test file with real-looking dummy data elsewhere in scope is still blocked, so the policy wasn't weakened.

Prevent it next time#

  • Close the window for new files. Because evaluation lags behind uploads, a guest could open a sensitive file before DLP processes it. Set-SPOTenant -MarkNewFilesSensitiveByDefault BlockExternalSharing (SharePoint Online Management Shell) blocks guest access to new files until they're scanned, and guests are told the file is being scanned. It can take up to 60 minutes to apply, and files in locations no DLP policy covers then can't be accessed externally at all, so plan coverage first.
  • Simulate before enforcing, with policy tips on: see from simulation mode to enforcement.
  • Write useful custom tips that say what was found and who to contact.
  • Use labels as conditions where classification matters more than patterns; see rolling out sensitivity labels.
  • Related messages from Teams and other locations are covered in Purview DLP in Microsoft Teams and the 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

Intune Subject Matter Expert in Cairo, Egypt, 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)