Is this a bug, or is there an error in the documentation?

Ankur Gupta 20 Reputation points
2024-07-16T11:39:46.87+00:00

https://video2.skills-academy.com/en-us/graph/api/channel-list-members?view=graph-rest-1.0&tabs=http#permissions

The documentation states that Group.Read.All should be sufficient to fetch channel members. However, when executing the query, it results in a 403 error and requests ChannelMember.Read.All or ChannelMember.ReadWrite.All permissions instead.

Is this a bug, or is there an error in the documentation?

Note: The beta version of the API works fine with the Group.Read.All scope.Screenshot 2024-07-16 at 4.47.31 PM

Screenshot 2024-07-16 at 4.48.34 PM

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,051 questions
0 comments No comments
{count} votes

Accepted answer
  1. CharanyaB-MSFT 1,891 Reputation points Microsoft Vendor
    2024-07-16T20:03:18.9433333+00:00

    Hello @Ankur Gupta,

    Thanks for reaching Microsoft.

    I tested the API and was able to replicate your issue. Ideally, the least privileged permission should suffice. I suggest you to submit the content feedback request from within the document, briefing this inconsistency of technical information in the document. Please use the feedback option as highlighted in the screenshot below:

    User's image

    Meanwhile, you can use the ChannelMember.Read.All permission to access this API.

    Documentation references:

    https://video2.skills-academy.com/en-us/contribute/content/provide-feedback

    https://video2.skills-academy.com/en-us/contribute/content/how-to-write-quick-edits#:~:text=You%20can%20also%20leave%20more%20specific%20feedback%20on%20localized%20content%20by%20using%20the%20Provide%20Feedback%20form.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.