Hi Experts,
I am trying out the PowerShell scripts to exempt resources from DLP policy and have few questions regarding the same -
I have gone through the GitHub documentation and Powershell help for the DLP exemption commands but could not find much details.
Thank you.
Microsoft has updated the documentation now.
https://learn.microsoft.com/en-us/power-platform/admin/dlp-resource-exemption
The limit is 2,000 resources.
It would be nice if the MS documentations has more details around the limit on how many Apps and Flows that can be exempted from a DLP policy.
Hi @HamidBee ,
Thank you for your reply. I have already tested the resource exemption from the DLP policy using Powershell scripts. I would like to understand if there there is a limit on how many Apps and Flows that can be exempted from a DLP policy.
Thank You.
For the Power Platform environment DLP policy, the process of adding new exemptions to the existing list of resources is the same as what I described in my previous response.
You can use the Get-PowerAppDlpPolicyExemptResources command to retrieve the current list of exempt resources, add any new resources to that list, and then use the Set-PowerAppDlpPolicyExemptResources command to update the policy with the new list of exempt resources.
Additionally, you can use the Add-PowerAppDlpPolicyExemptResource command to add individual resources to the existing list of exemptions for a specific DLP policy.
Keep in mind that, before you run the DLP exemption commands, You will need to connect to your environment using the PowerApps PowerShell module as an admin.
It's always recommended to test the command on non-production environment before executing it in production.
If my reply helped you, please give a 👍, & if it solved your issue, please 👍& Accept it as the Solution to help other community members find it more. |
Hi @HamidBee , I am using the environment DLP policy for Power platform which can be accessed from the Power Platform Admin Center. It is not a 3rd party solution.
The limit on the number of apps and flows that can be exempted from a DLP policy will depend on the specific DLP solution you are using. You should check the documentation for the DLP solution you are using to see if there is a limit.
The Set-PowerAppDlpPolicyExemptResources command does replace the existing exempt resources with new exempt resources. To add new exempt resources to the existing list, you will need to retrieve the current list of exempt resources, add the new resources to the list, and then set the updated list as the new exempt resources using the Set-PowerAppDlpPolicyExemptResources command.
If you are unable to find more details in the documentation and PowerShell help, you may need to contact the vendor or developer of the DLP solution for more information. Additionally, you can also look for examples or sample scripts for the DLP exemption commands on the internet.
If my reply helped you, please give a 👍, & if it solved your issue, please 👍& Accept it as the Solution to help other community members find it more. |
bscarlavai33
5
Super User 2025 Season 1
Michael E. Gernaey
4
Super User 2025 Season 1
Vince_K
2