There are times where the requirement is to apply certain business conditions (or a set of conditions) on a particular Microsoft Sharepoint Site in the Office 365 (O365) environment.
This is the opposite of applying the DLP policies to all Sharepoint Sites within the environment.
Business requirement or a specific use case
There are two ways to achieve this:
1- Using the Contextual Attribute
Steps:
Example:
In this example, the rule is based on a regular expression and targeting any Site name that contains the substring "MySite" at any part of the site URL, this would match URL's like:
2- Using the predefined condition:
Steps:
Example:
In this example, the rule is based on un insensitive matching and targeting an exact site name regardless of the case (lower case or upper case), this would match URL's like: