Forum Discussion
PHancke
Apr 23, 2024Brass Contributor
Export Endpoint DLP Policies
Hi All,
I want to manage my DLP policies as code. To start I would like to capture my current configuration. I am looking for a way to export Endpoint DLP policies. Using PowerShell or Microsoft365DCM I can export basic policies, but missing Endpoint specific settings. For example, with PowerShell (Get-DLPComplianceRule | Select-Object -ExpandProperty EndpointDlpRestrictions) I can get some of the main settings such as print, but it does not expand any network locations or printer groups.
Any other ways to get a current configuration?
Many thanks
Pieter
1 Reply
- pri2agarwalz
Microsoft
You can export it as JSON.
Ref Article - https://techcommunity.microsoft.com/t5/security-compliance-and-identity/export-dlp-policies-rules-and-settings-using-powershell/ba-p/4133230