Forum Discussion

Kfaali1990's avatar
Kfaali1990
Copper Contributor
Apr 25, 2024

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

1 Reply

  • gsingh_'s avatar
    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

Resources