Score:0

Is it possible to access MS Teams Team member tags via PowerShell or other means?

cz flag

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?

Score:1
us flag

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.

Thomas Lazar avatar
cz flag
I was not able to find that on my own. Thank you for the pointer.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.