Forum Discussion

SeanMcAvinue's avatar
Oct 22, 2020
Solved

Assigning Sensitivity Label via Unattended Script

I've come across an interesting problem recently. I have a requirement to set a group sensitivity label as part of an unattended automation script which I'm using application permissions and Graph ca...
  • VasilMichev's avatar
    Oct 23, 2020

    Um, any particular error? The cmdlet you need for that is Set-UnifiedGroup, there's no REST-based one yet. The only difference the V2 module introduces is the way we authenticate, so you might as well use the "old" PS module just to check if it works there.

     

    Also dont forget that you need to update the Group settings first. Tony lists all the steps here: https://petri.com/moving-classifications-sensitivity-labels

Resources