0

I was thinking of using Tags assigned to Users in a MS Teams (on Office365) Team for some reporting related things and query them in some PowerShell scripts. Is there a way to get this information?

I was thinking something along the lines of the Get-TeamUser command. But I can't really find any PowerShell commands that are able to do that in any way.

If there isn't through PowerShell modules then maybe there's some other obscure way of getting that information? Maybe through Microsoft Graph?

Thomas Lazar
  • 147
  • 1
  • 7

1 Answers1

1

Yes, you can use Graph API for this. Graph API is accessible from many environments, including PowerShell. Check teamworktags resource type in Graph API.

You would have to browse all teams and gather tags members from all of them, since tags are not something global, but team-specific. This means tags can have save names but completely different members.

J-M
  • 1,492
  • 1
  • 9
  • 16