Why Exchange Online DLP Flags Non-Credit-Card Numbers in Email
Question details
Understand why an Exchange Online DLP policy flags ordinary numbers as possible credit card numbers and how to reduce false positives.
- Product
- Exchange Online and Microsoft Purview Data Loss Prevention
- Device & OS
- not provided
- Scenario
- An email contains a number that is not a credit card number but triggers a DLP policy.
- Observed behavior
- The policy identifies the number as potentially sensitive payment card information.
Confirm that you have permission to review DLP alerts and policies in the Microsoft Purview portal. Identify an affected message and its alert time, and use fictional or otherwise safe test data when reproducing the match.
Identify the DLP rule and sensitive information type
Use alert or activity details to determine which policy condition matched the message before changing the rule.
DLP detection can use number patterns, checksums, and nearby contextual evidence. The exact requirements depend on the sensitive information type and the rule configuration, so an ordinary number may sometimes match.
In the Microsoft Purview portal, open Data loss prevention and select Alerts. Find the alert associated with the affected email.
Open the alert details and review the policy, rule, sensitive information type, and available match details. If needed, check Activity explorer for related DLP activity; the details visible depend on your permissions and configuration.
Send a controlled test email containing a fictional number and similar surrounding text, then review the resulting DLP alert or activity. Change one element, such as the nearby text, to help determine what contributes to the match.
Tune the DLP policy to reduce false positives
Adjust the rule or use a custom sensitive information type when testing confirms that the current detection is too broad.
Work With Email Attachments in WPS Office
WPS Office is a free, lightweight alternative for opening and editing common Office documents with a familiar interface. Its format compatibility helps you move existing files into WPS, although it does not change Exchange Online DLP policies.

Frequently Asked Questions
Why can an ordinary number trigger a credit card DLP rule?
It may resemble a pattern recognized by the configured sensitive information type, especially when nearby text provides supporting context. Check the alert in Microsoft Purview Data loss prevention > Alerts to identify the matching rule and information type.
Does every DLP credit card match pass a checksum?
Not necessarily. Detection requirements vary by sensitive information type and confidence level. Review the definition and the policy rule rather than assuming that every match is a valid card number.
Can I change the proximity requirement for a built-in sensitive information type?
Built-in definitions are not edited directly. If you need different patterns or supporting-evidence proximity, create and test a custom sensitive information type under Data classification > Sensitive info types, then use it in the DLP rule.
Should I exclude all messages containing the false-positive number?
A broad exclusion can also bypass protection for real sensitive data. First review the matching rule and test narrower conditions or a carefully scoped exception in Data loss prevention > Policies.




