Forum Discussion

AndresGorzelany's avatar
Oct 19, 2022

How to automate adding tags to multiple team members at once using PowerShell

I see that there is no way to ease the job of adding a tag to multiple users at the same time without having to look for the user in the edit tag window, so if you have a large list of team members and you want to add the tag to a lot of them or all, it is a little tedious, so exploring the API we can do this, sharing here in case anyone needs this

 

https://get-itips.capazero.net/posts/Add-TagsToUsers

1 Reply

  • Peter2wxin's avatar
    Peter2wxin
    Brass Contributor
    Thanks for sharing!
    And I found another post which may be useful, but of course, both support adding by only users, not security group or distribution list.
    https://mattipaukkonen.com/2022/01/23/manage-team-tags-with-microsoft-graph-powershell-sdk/

Resources