Fix Microsoft 365 DLP Not Detecting SSNs in Business Premium
Question details
A Microsoft 365 Business Premium administrator needs to configure DLP policies and mail flow rules to detect Social Security numbers, but the built-in sensitivity types are failing to trigger.

- Product
- Microsoft 365 Business Premium
- Device & OS
- not provided
- Scenario
- Testing Data Loss Prevention (DLP) policies and mail flow rules using built-in sensitivity types for U.S. Social Security numbers and credit cards.
- Observed behavior
- Built-in sensitivity types fail to detect the test SSNs and credit card numbers, though custom regular expressions trigger properly.
Ensure you have administrative access to the Microsoft Purview compliance portal and verify that your Microsoft 365 subscription includes active Data Loss Prevention features.
Use Valid Fictional Test Data
Microsoft's built-in sensitivity types use checksums and format validation. Simple strings like '123456789' or fake credit cards that fail the Luhn algorithm will be ignored by the DLP engine.
Built-in sensitivity types are designed to minimize false positives by ensuring the data matches specific algorithmic rules. For example, credit card numbers must pass the Luhn checksum, and U.S. Social Security numbers must follow valid formatting rules rather than just being nine sequential digits.
Obtain properly formatted fictional Social Security numbers and credit card numbers that pass standard algorithmic validation checks (like the Luhn test).
Create a new email in your Microsoft 365 environment and include the valid fictional test data in the body or as an attachment.
Check the DLP policy match logs or observe the mail flow rule execution to confirm that the built-in sensitivity type successfully detected the valid test data.

Verify DLP and Encryption Licensing Rights
Confirm that your specific Microsoft 365 subscription supports the DLP actions you are trying to perform, as auto-encryption via sensitivity types differs from auto-labeling.
Secure Your Documents Locally with WPS Office
While configuring complex cloud compliance and DLP policies in Microsoft 365 requires extensive testing and premium licensing, WPS Office provides a highly compatible, free alternative for everyday document creation with built-in local encryption and file protection features.
- 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
- 3. Edit and protect documents: Open your existing Microsoft Office files, edit them seamlessly, and use built-in encryption to protect files containing sensitive information.

Frequently Asked Questions
Why does my Microsoft 365 DLP policy ignore fake credit card numbers?
Microsoft 365 applies the Luhn algorithm to credit card numbers to verify their mathematical validity. If a fake number fails this check, the DLP policy determines it is not a real credit card and ignores it.
Does Microsoft 365 Business Premium support Data Loss Prevention (DLP)?
Yes, Microsoft 365 Business Premium includes basic DLP capabilities. You can use built-in policies and custom sensitivity types to detect sensitive information and apply actions like email encryption.
Why can't I automatically encrypt messages based on sensitivity labels in Business Premium?
While Business Premium supports encrypting messages based on detecting sensitivity types (like SSNs), the specific feature of automatically applying sensitivity labels to content requires advanced compliance licensing, such as an E5 subscription.




