SOLVED

Api to fetch all members in a channel

%3CLINGO-SUB%20id%3D%22lingo-sub-1428581%22%20slang%3D%22en-US%22%3EApi%20to%20fetch%20all%20members%20in%20a%20channel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1428581%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20any%20graph%20api%20exist%20which%26nbsp%3B%20fetch%20all%20members%20in%20a%20particular%20channel%20in%20ms%20team%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1428581%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1428912%22%20slang%3D%22en-US%22%3ERe%3A%20Api%20to%20fetch%20all%20members%20in%20a%20channel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1428912%22%20slang%3D%22en-US%22%3E%3CP%3EThere's%20no%20such%20thing%20as%20members%20of%20a%20channel%20-%20all%20members%20of%20the%20Team%20are%20considered%20members%20of%20all%20channels.%20Unless%20you're%20talking%20about%20Private%20channels.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20fetch%20members%20of%20a%20channel%2Fteam%2C%20use%20the%20corresponding%20%2Fgroup%2Fmembers%20endpoint%20as%20detailed%20in%20the%20documentation%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fresources%2Fteams-api-overview%3Fview%3Dgraph-rest-1.0%23membership-changes-in-microsoft-teams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fresources%2Fteams-api-overview%3Fview%3Dgraph-rest-1.0%23membership-changes-in-microsoft-teams%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Visitor

Is there any graph api exist which  fetch all members in a particular channel in ms team?

1 Reply
Highlighted
Solution

There's no such thing as members of a channel - all members of the Team are considered members of all channels. Unless you're talking about Private channels.

 

To fetch members of a channel/team, use the corresponding /group/members endpoint as detailed in the documentation: https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0#membersh...