Programmatically mark users as sensitive in Defender

Copper Contributor

I have been trying to use dynamic groups in azure to ensure that all users who fit a criteria are marked as sensitive, however, it seems that you can only add on prem groups for some reason.

 

Is there a way to do this via PowerShell or similar?

 

 

0 Replies