Compliance Problems

Troubleshoot Microsoft 365 DLP Policies Not Detecting Sensitive Data

Kushani NimanthikaKushani Nimanthika Nov 25, 2026 868 views

Question details

Determine why Microsoft 365 DLP policies inconsistently detect keywords and sensitive information in Exchange messages and OneDrive documents.

Troubleshoot Microsoft 365 DLP Policies Not Detecting Sensitive Data
Product
Microsoft 365 Data Loss Prevention
Device & OS
not provided
Scenario
An administrator is testing DLP rules against messages containing terms such as SSN and a shared OneDrive document containing a test Social Security number.
Observed behavior
Some test messages do not generate reports consistently, and a OneDrive document containing a test Social Security number does not generate a report.
Before you start

Confirm that you have permission to view and edit DLP policies and reports in Microsoft Purview. Identify the affected policy, test account, message or document, and approximate test time before making changes.

Solution 1Recommended

Check DLP policy scope, mode, and rule conditions

Use this approach first to isolate whether policy settings or rule changes are preventing detection.

1
Review policy locations

In the Microsoft Purview portal, open Data Loss Prevention > Policies and select the policy. Edit its locations and confirm that Exchange email and OneDrive accounts include the test users and are not excluded.

2
Check policy status and mode

On the policy details page, check whether the policy is enabled or in test mode. Review the test-mode settings and rule actions; test results and notifications depend on how the policy is configured.

3
Inspect the affected rule

Edit the rule and review its conditions, exceptions, keyword lists, and any minimum instance counts. Check whether multiple conditions must all be met and whether an exception excludes the test content.

4
Test one condition at a time

Create or edit a test rule with one condition, such as a single keyword, and send a new test message or upload a new test document to an included account. Add other terms and conditions one at a time to identify which change affects the result.

5
Allow changes to propagate

After saving the policy, allow time for the change to propagate and content to be processed before retesting. Compare results using the same test account and location.

Check DLP policy scope, mode, and rule conditions
Keywords and sensitive information types differ: A keyword such as SSN is not the same as detecting a Social Security number. Review the condition type and its scope before comparing results.
Free Microsoft Office alternative

Edit Office Documents with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for straightforward document migration. Microsoft Purview is still required to configure and troubleshoot Microsoft 365 DLP policies.

Create and edit documents used in sensitive-data workflowsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar editing interface for users moving from Microsoft OfficeFree, lightweight suite for everyday office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does a test Social Security number not trigger my DLP rule?

The U.S. Social Security Number sensitive information type may require a valid pattern, supporting evidence, and a specified confidence level or instance count. Check the rule condition in Microsoft Purview and compare the sample with Microsoft's current match criteria.

Does test mode generate the same alerts as an enabled policy?

Not necessarily. Open the policy in Microsoft Purview and review its test-mode settings and rule actions. The results and notifications available depend on how the policy is configured.

Where can I see whether a DLP rule matched my test?

In Microsoft Purview, check DLP alerts or Activity explorer, depending on your permissions and available views. Filter by the test user, location, and time, and allow time for processing and reporting.

Why did detection change after I added more keywords?

Review the edited rule's keyword condition, scope, exceptions, and how it combines with other conditions. Test one keyword and one condition at a time to identify the change associated with the different result.

Can WPS Office fix a Microsoft 365 DLP policy?

No. Configure and troubleshoot Microsoft 365 DLP in Microsoft Purview. WPS Office can edit compatible Office documents but does not replace Purview policy administration.