Forum Discussion
Migrating DLP Policies from one tenant to other
Has anyone successfully migrated DLP policies from a dev tenant (like contoso.onmicrosoft.com) to a production tenant (paid license with custom domain) in Microsoft Purview without third-party tools?
We're open to using PowerShell, Power Automate, or other Microsoft technologies—such as exporting policies via PowerShell cmdlets from the source tenant, then importing/recreating them in the target tenant using the Microsoft Purview compliance portal or Security & Compliance PowerShell module.
Details: The dev tenant has several active DLP policies across Exchange, Teams, and endpoints that we need to replicate exactly in prod, including sensitive info types, actions, and conditions. Is there a built-in export/import feature, a sample script, or Power Automate flow for cross-tenant migration? Any gotchas with licensing or tenant-specific configs?
1 Reply
- Moetaz_RabaiCopper Contributor
Hello AtharvaTheMaverics,
You can export DLP policies, rules and settings using PowerShell.
You can find the details in this techcommunity Microsoft employee Blog talking about this case.
Export DLP Policies, Rules and Settings using PowerShell | Microsoft Community Hub
If this helped you, a like would be appreciated.
Thanks,
Moetaz RABAI