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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Team connector Get Mem...
Power Automate
Answered

Team connector Get Members for a channel

(0) ShareShare
ReportReport
Posted on by

Does anyone know how to use the Team Get Members connector to retrieve a list of connectors?

 

The connectors first paramater is "Thread type" which can be "GroupChat" or custom. Group Chat doesn't work with teams, only chats. If using custom and guessing "2" then the UI lets you choose a team and a channel, but then errors on saving complaining that the Threat type parameter can only be GroupChat. 

 

Documentation is poor and the connector looks mostly broken. How can something simple be in such a bad state in a premier commercial tool: it feels like an open source project.

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @MrBoxx ,

     

    Teams channel members come from o365 group.

    Please try to use o365 group connector instead.

    vxiaochenmsft_0-1689749291489.png

     

    Best Regards,

    Wearsky

  • Paint Profile Picture
    4 on at

    That is no proper solution as the action seems to be broken.

     

    The O365 action does only retrieve members by group id, though if you just want to retrieve members for a specific teams channel that does not work.

     

    Why does the thread type syntax does not work? If - suggested in the documentation - you enter the custom value "channel" I even am allowed to select the specific team + channel that I want to retrieve the member data from, but once I try to save I get the error mentioned above.

  • tosaarin Profile Picture
    on at

    Hi!

     

    I encountered issues too this morning when trying to use Microsoft Teams connector 'list members' action with Azure Logic Apps (the same connector used in Power Automate). I'm able to input Thread Type 'channel' when connector prompts for both Team and Channel id like it should. However when running the Logic App the operation gives following error so it seems there are issues with GraphAPI permission which connector uses on background. In my case the channel i'm trying to list members from is a private channel but the account I use is a member of team and channel so it shouldn't be issue. This seems like a bug and/or really bad documentation and it really needs to fixed by Microsoft. In my case operation would be crucial for my solution.

     

    The documentation is really narrow but it says the operation itself should be supported:

    "This operation list members based on a threadtype (chat, channel, etc)."

     

    tosaarin_0-1699430405073.png

     

    Error:

    {

      "error": {

        "code": "Forbidden",

        "message": "Missing scope permissions on the request. API requires one of 'ChannelMember.Read.All, ChannelMember.ReadWrite.All, Group.Read.All, Directory.Read.All, Group.ReadWrite.All, Directory.ReadWrite.All'. Scopes on the request 'Calendars.ReadWrite, Calendars.ReadWrite.Shared, Channel.Create, Channel.ReadBasic.All, ChannelMessage.Read.All, ChannelMessage.ReadWrite, ChannelMessage.Send, Chat.Create, Chat.Read, Chat.ReadWrite, ChatMessage.Send, GroupMember.Read.All, Presence.Read.All, Presence.ReadWrite, Team.Create, Team.ReadBasic.All, TeamMember.ReadWrite.All, TeamsAppInstallation.ReadWriteForChat, TeamsAppInstallation.ReadWriteForTeam, TeamsAppInstallation.ReadWriteForUser, TeamSettings.Read.All, TeamSettings.ReadWrite.All, TeamworkTag.Read, TeamworkTag.ReadWrite, User.Read, User.Read.All'",

        "innerError": {

          "date": "2023-11-08T07:30:38",

          "request-id": "f8b036fb-83a0-471c-ac6a-516a928265db",

          "client-request-id": "f8b036fb-83a0-471c-ac6a-516a928265db"

        }

      }

    }

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard