How to automate apply changes to child dlp policies those are done in master dlp policy using powershell?

Koteswararao Kata 1 Reputation point
2021-03-16T05:26:32.467+00:00

Hi Team,

How to automate apply changes to child dlp policies those are done in master dlp policy using powershell?

Example: In case of any rule or action change in master policy we have find out the changes on periodic basis and need to apply them to child policies using any ps script.

Kindly help me over the possibilities and details procedure on high level.

Regards
Koteswararao

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,177 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yuki Sun-MSFT 40,856 Reputation points
    2021-03-22T02:03:18.017+00:00

    Hi @Koteswararao Kata ,

    Thanks for the elaboration. I read through your description but based on my knowledge and research, I am afraid neither of the two requirements can be realized.

    For Requirement 1, as we can learn from this article, DLP Policy templates are expressed as XML documents which adhere to certain schema. With the built-in features and cmdlet available, we can only export the DLP policy collections using the Export-DlpPolicyCollection cmdlet, but its output is far from adequate to develop a Policy template. Given this, you would need to refer to the first link mentioned earlier to manually developing the DLP policy template files based on your need.

    For Requirement 2, per my understanding, the DLP policy is independent from the policy template after it's been created, therefore I'm afraid it's not feasible to make changes applied automatically to the "child policies" when a change is made in the "main policy".


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.