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
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:
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: