Summary: How to configure Data Loss Prevention in Office 365.
Date: Around 2018
Refactor: 8 March 2025: Checked links and formatting.
Data Loss Prevention is one of the powerful security and compliancy options within Office 365. In this post I'll configure two policies based on templates that are maintained by Microsoft. Please note that you need to take a few things in consideration when configuring data prevention:
This policy will trigger on financial data, more specifically credit card numbers. Follow these steps to create the policy:
To test the policy you need to send an email with a credit card number. You can use these creditcard numbers to test.
Sometimes the tooltips do not work. Most common cause is that outlook tooltips are not enabled. You can also test the tooltips in https://outlook.office.com. It could also take some time for the tooltips to show. I also experiences the tooltips to randomly work for users.
The GDPR policy needs a little tweaking. By default only the EU confidential data is protected, but not the Dutch BSN Number.
All the steps are the same as above except for the following parts (and naming and description of course):
In my experience the EU GDPR data results in a large number of false positives. You could set the match percentage higher (see resources for what the sensitive types match on) or delete the info type from the sensitive info type list. That is a valid option if your company doesn't store these numbers from their customers.