Forum Discussion
Kfaali1990
Apr 25, 2024Copper Contributor
AD Security Groups not available for purview ?
What is the fastest way to add users to a rule if a security group is not available for Purview ?
SetDLPComplianceRule - ?
Thanks
- gsingh_Copper Contributor
Hi Kfaali1990 ,
I assume you're referring to the "Locations - Devices - Specific user and groups" settings in the DLP policy. This will scope the policy to a specific group of users.
Try creating a distribution or M365 group and include the users you want to apply the policy to.
I would suggest using the Purview portal instead of PowerShell, it's quick and easy.
Just in case you want to use PowerShell commands, sharing this link:https://learn.microsoft.com/en-us/powershell/module/exchange/?view=exchange-ps#users-and-groups