Create the policy in Microsoft Purview under Data loss prevention > Policies. Start with a pilot group, and use Test it out first. Move to enforcement only after validation. If you skip staged rollout, mail can be blocked or warned at the wrong time, which disrupts business email and creates false positives. This guide gives the exact Exchange Online path, rule setup, and a rollout checklist for testing, user notices, and enforcement.
Exchange Online DLP stops sensitive data from leaving mailboxes in email in transit. It is commonly reported to inspect message text and attachments, then warn users, log activity, or block delivery based on policy rules. In hybrid environments, DLP policies apply only in Exchange Online, so plan the scope around cloud mailboxes and cloud mail flow. (Microsoft Learn)
Microsoft also includes built-in security features for cloud mailboxes, and DLP policies can be edited, deactivated, or removed after rollout. For mail, the policy is the control point. For user experience, Policy Tips are the visible warning layer.
What you'll need
- Microsoft Purview access with permission to create DLP policies.
- A clear list of the mailboxes, users, or groups in scope.
- One or more sensitive information types to detect, such as credit card numbers, SSNs, HIPAA-related data, or a custom type.
- A pilot group for test mode.
- A final action plan: warn, restrict access, block mail, or route for review.
- A validation checklist for Outlook on the web and Outlook desktop.
Where do I create a DLP policy in Microsoft 365?
Create it in the Microsoft Purview portal under Data loss prevention > Policies. From there, you can choose a policy template, start a custom policy, or import an existing policy. Microsoft lists those three implementation methods, and the design guidance says every policy must define what to monitor, where to monitor it, and what action to take.
- Open Policies. Go to Microsoft Purview > Data loss prevention > Policies and select Create policy. This opens the wizard for template choice, scope, conditions, exceptions, and mode.
- Choose a starting path. Pick a built-in template for the fastest setup, or choose Custom policy if the rule set is unique. Use import only when you already have a policy definition you want to bring in.
- Select locations. Choose Exchange email as the monitored location, then scope the policy to the mailboxes or users that need coverage. Keep the scope narrow in pilot mode so false positives stay contained.
- Set test mode first. Use Test it out first before turning on blocking. That lets you see policy matches and user warnings without stopping mail flow.
What template should I use for Exchange Online DLP?
Start with a built-in template when your use case matches a common compliance category. Microsoft lists financial, medical and health, privacy, and custom template options, and templates are commonly used to create a first policy. Use custom when you need a narrower rule set, a local requirement, or a specific internal exception.
Use cases by template
| Use case | Template choice | Why it fits |
|---|---|---|
| Payment data in email | Financial | Good starting point for card data and related controls |
| Patient or clinical records | Medical and health | Built for HIPAA-related content and health data handling |
| Personal data in outbound mail | Privacy | Fits common privacy exposure and external sharing controls |
| Unique internal rule | Custom | Best when the condition set does not match a template |
Say your finance team needs to stop external sending when a message contains card data and an attachment. A financial template gets you close quickly, then you narrow the condition set and add an exception for a controlled partner domain if needed.
How do I configure an Exchange Online DLP policy?
Configure it by choosing the location, defining the sensitive content to detect, then deciding what happens when a rule matches. For Exchange Online, that usually means mailboxes, email in transit, message body, and attachments. The practical sequence is: scope first, then conditions, then actions, then exceptions, then mode.
- Pick Exchange mail. In the policy wizard, select the Exchange email location. Keep the initial scope to the smallest practical mailbox set, such as one department or a pilot group.
- Choose content conditions. Add predefined sensitive information types such as credit card numbers, SSNs, or HIPAA-related data. Use custom sensitive information types when the standard list misses your document pattern.
- Add actions. Decide whether to show a Policy Tip, restrict access, or block sending. Start with a warning action in pilot mode so you can see matches before you enforce a hard stop.
- Set exceptions. Exclude known safe senders, approved partner flows, or specific internal processes that would otherwise trigger false positives. Keep exceptions narrow and document why each one exists.
- Turn on test mode. Keep the policy in test mode until your validation checks are clean. Move to active mode only after you confirm that the expected mail is matched and the false positives are acceptable.
Set locations, conditions, and actions
DLP policies are collections of mail flow rules. That matters because the rule can inspect content deeply, then apply conditions, actions, and exceptions in one policy. Use DLP when you need content-aware controls. Use transport rules alone when you only need a simple mail-flow condition without sensitive-content analysis.
Microsoft’s design guidance is direct: choose what to monitor, where to monitor it, and the action to take. For Exchange Online, that typically means selecting mailboxes, adding one or more sensitive information types, then choosing a response that matches your rollout stage.
Rollout choices by use case
- Compliance-only: log and monitor first, with no user interruption.
- User-warning: show a Policy Tip before send, then review the matches.
- Blocking: stop delivery when the rule match is high confidence and validated.
Document fingerprinting and file matching
Document fingerprinting is available for DLP policies and detects sensitive information in standard forms and known document sets. It is useful when a recurring template, intake form, or approved document layout needs detection without relying only on free-text matches. Microsoft also scans the first two million characters of extractable text from a file.
How do Policy Tips work?
Policy Tips show a brief note about possible policy violations before the message is sent. Microsoft says they appear in Outlook 2013 or later and in Outlook on the web. Use them to warn users before sending, not as the final enforcement layer. They are most useful during pilot and warning phases.
Outlook on the web
In Outlook on the web, the tip appears during composition when the message matches the policy conditions. Keep the wording short and clear, and pair it with a corrective action such as removing the sensitive content or changing the recipient list.
Outlook 2013 and later
Outlook 2013 checks for DLP policy changes one time every 24 hours. If changes do not appear, Microsoft documents a registry-based workaround at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\15.0\Outlook\PolicyNudges, including the LastDownloadTimesPerAccount entry. That lag is a compatibility note, not the main setup path. (Microsoft Support)
Exchange DLP rollout worksheet
This worksheet gives a practical sequence for pilot mode, user warnings, and enforcement. Use it to separate detection from blocking and to keep false positives visible before they affect mail flow.
| Policy goal | Location scope | Sensitive info type | Action | Validation check |
|---|---|---|---|---|
| Monitor outbound finance mail | Exchange email for pilot finance mailboxes | Credit card numbers | Test it out first with Policy Tips | Send a sample message with card data and confirm the tip appears |
| Warn clinical staff before send | Exchange email for a health team pilot group | HIPAA-related data | Policy Tip only | Compose a message with a protected chart excerpt and confirm the warning shows |
| Block external exposure | Exchange email for all mailboxes in scope | SSN | Block send to external recipients | Try an external recipient and confirm delivery is stopped |
| Cover a standard intake form | Exchange email and attachments | Document fingerprint | Warn, then restrict after review | Attach the approved form and confirm the fingerprint matches |
| Handle a unique internal requirement | Exchange email for one business unit | Custom sensitive information type | Test mode, then active mode | Confirm expected messages match and approved exceptions stay clear |
False-positive triage
- Check whether the sensitive information type is too broad for the message set.
- Review exceptions before changing the main action.
- Confirm the policy is assigned to the right mailboxes and not only to a broader tenant scope.
- Recheck Outlook propagation if the tip appears in web mail but not in desktop Outlook.
Common mistakes and fixes
The most common failure is moving to block mode before pilot validation is clean. Another is choosing the wrong template, which produces noisy matches or misses the content you care about. A third is forgetting that hybrid mail uses Exchange Online DLP, so local Exchange settings do not control policy enforcement.
Suppose a DLP policy blocks a confidential attachment in Outlook on the web but does not trigger when the same message is sent from Outlook on the desktop. That often points to the 24-hour sync interval rather than a broken rule. A different symptom is no warning at all because the location scope was set to the wrong mailbox set or the policy is still in test mode without the right actions enabled.
If that didn't work, try this next
- Verify the location. Go back to Purview > Data loss prevention > Policies and confirm Exchange email is selected. Then confirm the pilot mailbox list is the one you meant to protect.
- Check the action mode. Open the policy and confirm whether it is still in test mode. Switch to active mode only after the validation check passes in Outlook on the web and the desktop client.
- Review the client timing. If Outlook 2013 changes lag, wait for the 24-hour interval or check the PolicyNudges registry path noted above. Use Outlook on the web as the faster confirmation path.
Frequently asked questions
Which locations can Exchange Online DLP monitor?
It can monitor Exchange mailboxes and email in transit, including message content and attachments. In hybrid environments, Microsoft applies DLP policies only in Exchange Online, so cloud scope is the place to configure and validate the policy.
What sensitive information types can I use in a DLP policy?
You can use predefined and customizable types, including credit card numbers, SSNs, and HIPAA-related data. Document fingerprinting is also available for standard forms and known document sets, which helps when the content follows a fixed layout.
How do policy Tips work in exchange online?
Policy Tips appear in Outlook 2013 or later and Outlook on the web. They show a brief note about possible policy violations before send, so users can remove the risky content or adjust recipients before the message leaves the mailbox.
How do I test a DLP policy before turning it on?
Use Test it out first in the policy wizard and scope it to a pilot group. Then validate with sample messages in Outlook on the web and, if needed, wait for the Outlook 2013 24-hour policy check window before changing mode.
Why did my DLP change not take effect in Outlook?
Outlook 2013 checks for DLP policy changes one time every 24 hours, so the desktop client can lag behind the portal. Microsoft documents the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\15.0\Outlook\PolicyNudges path and the LastDownloadTimesPerAccount entry as the workaround target.