Graph API Channel Members

kk 21 Reputation points
2022-11-02T14:11:38.693+00:00

Hi,

I am trying to get team channel members using Graph API. Endpoint I use: https://graph.microsoft.com/v1.0/groups/{group-id}/team/channels/{channel-id}/members

It returns 404 error even though I have the channels and channelmember read permissions given. I have used group id and channel id directly from the graph explorer endpoints.

Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Bhanu Kiran 3,616 Reputation points
    2022-11-02T22:37:52.077+00:00

    Hi @kk ,

    As per the documentation, you can get members from the from MS Team channels using the below endpoint
    GET /teams/{team-id}/channels/{channel-id}/members

    I am able to get channel members. Please refer to the screenshots:
    256591-channel-members.png

    Please check and validate the same from your end.

    Hope this helps.
    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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