Microsoft teams -List members of a channel

itay4 36 Reputation points
2024-11-12T13:44:30.7033333+00:00

Hi,
I'm trying to use this API https://learn.microsoft.com/en-us/graph/api/channel-list-members?view=graph-rest-1.0&tabs=http
with authorization code flow
but when trying to add ChannelMember.ReadWrite.All permission I get this error:
User's image
what should I do?
if I add only application permission I get this error:
User's image

Thanks!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,388 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,369 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 108.6K Reputation points MVP
    2024-11-12T18:19:55.0233333+00:00

    I don't seem to have any issues adding ChannelMember.ReadWrite.All delegate permissions, perhaps try with a different admin account? Which "flavor" of M365 are you on, is it the global multi-tenant one or Gov/China/something else?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.