
Inour previous article we had discussed on, what Data Loss Prevention is in Exchange 2016and how to create the Data Loss Prevention policies using Microsoft pre-defined Templates.
In this Article, let us see how to create the Custom Data Loss Prevention policy.
Three are 3 methods exist in Exchange for using DLP:
sign and select New Custom DLP Policy:
In the new Custom DLP policy window, provide the details as below and click on Save:
Once the policy is created, select the policy and click on
to Edit the policy and configure the rules.
Under General Tab you can find the basic details which we have chosen while creating the policy:
Click on Rules to configure the policy, as we are creating a custom policy, the rules section is empty and we need to define the rule as per the business requirement:
Click on Drop down next to
sign and select the appropriate option to create a rule:
In the New Rule window, provide the details as below:
Add the condition for the Rule: Click on Select Sensitive information Types to add the Sensitive information Types to condition:
Click on
sign to find and add the sensitive information types and click on OK:
In the Sensitive information type window, we can find the passport information for several countries that this policy will be inspecting:
By editing each of them, administrator can configure several options of the discovery algorithm used by Exchange as below:
- New DLP policy from Template:As we already discussed in our previous article, There are 80 Templates available in Exchange 2016, using these templates Administrator can quickly create and implement new DLP policies..
- Import DLP Policy: Administrator can import policies that are already been created outside of the messaging environment by any 3rd party software. Using this, Administrator can cover the DLP solution which suits their business requirements.
-
New Custom DLP Policy:Custom data loss prevention (DLP) policy allows and Administrator to create conditions, rules, and actions in order to meet his business requirements which may not be covered in the pre-defined DLP templates.



- Name: Provide the name which will be differentiate from the other policy.
- Description: Description which prcis the policy (it is optional)
- Choose the status of the policy: Disabled or enabled
- Choose the Mode for the requirements: Enforce, Test Policy with Policy Tips or Test Policy without Policy Tips












- Minimum count:This sets the lowest quantity of actions at which the rule will be activated.
- Maximum count:This sets the highest quantity of actions at which the rule will be activated
- Minimum confidence level:This sets the lowest confidence level at which the rule will be activate. Similar to a Spam Confidence Level.
-
Maximum confidence level:This sets the maximum confidence level at which the rule will be activated.
Once all settings done, click on Save:
Now under Rules, will find the rule which we have created, click on save to complete the Custom rule creation process:
Now we can find the Rule under EAC as below:
As we all know, the DLP makes use of Transport Rules. We can find all rules created by DLP policies underEACMail FlowRulesas below:
Using Exchange Management Shell: DLP Policies can be created usingExchange Management Shell[EMS]. Let's see how to create a policy in EMS: Use the below command to find available DLP commands: Get-Command *dlp* Get-DlpPolicy to find the existing DLP policies
Get-DlpPolicyTemplate | Select Name find the Template name can be used:
Now I am going to create new policy based on theFinancial Data - U.S.Rinancial Data, Mode -Enforcementmode and state as - Enabled: New-DlpPolicy -Name "
" -Template "" -Mode Remove-DlpPolicy-Status To remove the DLP policy NOTE:We can use different switches likeSet-DlpPolicy,Export-DlpPolicyCollection,Import-DlpPolicyCollection,Import-DlpPolicyTemplateetc. according to the requirement.