web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to get the members...
Power Apps
Unanswered

How to get the members list of a group chat from Microsoft Teams

(1) ShareShare
ReportReport
Posted on by 2
I would like to display all the members from a Microsoft Teams group chat in a Gallery.
 
I am trying to use the 'MicrosoftTeams' connector with the 'ListMembers' function, but I can't make it work.
 
The first parameter is "groupchat", but the second should be an 'UntypedObject', and I am unsure what it should contain.

 
If someone knows how MicrosoftTeams.ListMembers() works or what I should put as 'UntypedObject', please let me know.

Thank you very much.
Categories:
I have the same question (0)
  • Verified answer
    AmínAA Profile Picture
    1,228 Super User 2025 Season 2 on at
    Greetings @Aznar!
     
    Glad to see another spaniard around hahaha! (Or at the very least I think you are, given the language you have).
     
    Now then, onto the problem at hand… The PowerApps teams connector seems to be quite limited in what it can achieve. I’ve been looking around, and even tried using it in my own environment, but it doesn’t seem to work as you intend… And the Microsoft Learn page about the connector didn’t help me much… The best way I’ve seen to achieve this, would be using a Power Automate flow, and while this wouldn’t be real time, maybe you don’t need it to be real time… Here I’ll leave a video of Chad Kealey explaining how to do it!
     
    Now, if you want to get the members of a group chat, I don’t remember if theirs is an action for that, but if there is, then it should work very similarly. And instead of sending the results to your email, you would want to use the “Respond to a Power App or Flow” action and just pass there the table as a text for example.
     
    If you are somewhat proficient with Power Automate, this shouldn’t be much of a challenge!
     
    Also, why would you want to do such a thing? If it is for practice, then I see it great, but I fail to see what can you achieve by listing the members of a group chat... If it was a team, I could see some use for it, but as it is, I'm not sure what's the use of being able to list the members of a group chat... Specially since group chats are usually meant to be something temporary and not some sort of hub or lobby for people.

    If you like my response, please give it a Thumbs Up. Should this reply solve your question, please mark your post as Solved. Otherwise, feel free to reply to my answer for further help.
    Connect with me if you feel like it! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard