How do I fetch all the channels which the user is associated/joined/part of?

Aneesh Kundu 5 Reputation points


I have a use case where I want to fetch all the channels the user is part of using the user's delegated token. Currently using the API ListAllChannel OR ListChannel
user receives the channel which the user is not part of ex- A pvt channel created by some other member which the user is not part of also shows up in the response of the API.
Please let me know if it's possible or not.


Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
8,621 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,881 questions
{count} vote