Applies to: Exchange Server 2013, Exchange Online
Topic Last Modified: 2012-10-03
You can manage sensitive information through DLP policies by importing a file that contains policy information settings. Policies can be developed independent of Exchange as XML files. However, they must meet specific format requirements in order to work correctly. Alternatively, policies that are exported from a previous version of Exchange can be imported into Microsoft Exchange Server 2013.
|You should enable your DLP policies in test mode before running them in your production environment. During such tests, it is recommended that you configure sample user mailboxes and send test messages that invoke your test policies in order to confirm the results.|
What do you need to know before you begin?
- Estimated time to complete: 15 minutes
- You need to be assigned permissions before you can perform this
procedure or procedures. To see what permissions you need, see the
“Data loss prevention (DLP)” entry in the Messaging Policy and
Compliance Permissions topic.
- For information about keyboard shortcuts that may apply to the
procedures in this topic, see Keyboard Shortcuts in
the Exchange Admin Center.
What do you want to do?
Use the EAC to import a DLP policy from a file
Use the following procedure to import a DLP policy from a file. In order to avoid confusion, supply a unique name for each part of your policy or rule when you have the option to provide your own name.
- In the EAC, navigate to Compliance management >
Data loss prevention.
- Click the arrow that is next to the Add
icon, then click Import policy.
- On the Import policy page, complete the following
- Select the file to import Add the name
of the policy file you want to install.
- Name Add a name that will distinguish
this policy from others.
- Description Optionally, add a
description that summarizes this policy.
- More options Select the mode or state
for this policy. The new policy is not fully enabled until you
specify that it should be. The default mode for a policy is test
- Click Next to validate and import the policy.
- Select the file to import Add the name of the policy file you want to install.
Use the Shell to import a DLP policy from a file
This example imports a DLP policy file in the file C:\My Documents\DLP Backup.xml. Importing a DLP policy collection from an XML file removes or overwrites all pre-existing DLP policies that were defined in your organization. Make sure that you have a backup of your current DLP policy collection before you import and overwrite your current DLP policies.
Import-DlpPolicyCollection -FileData ([Byte]$(Get-Content -Path " C:\My Documents\DLP Backup.xml " -Encoding Byte -ReadCount 0))