Announcements
I need to know how to get a list of groups for a specific user.
I know about about using Office365Groups.ListOwnedGroupsV3().value to get a list of the groups that I own or am a member of but I can't figure out how to get a list of groups for a different user? I have a text input field (TextInput2) that I would like to type the users name into and then have a gallery that displays the groups for that user. Is this possible using Office365Groups.ListOwnedGroupsV3().value? If not, is there something else that can be used to accomplish this?
Hi @brandonb23 ,
Maybe you could try to use Graph API and custom connector to achieve this.
https://graph.microsoft.com/v1.0/users/{user-id}/transitiveMemberOf/microsoft.graph.group?$count=true
Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph
Create a custom connector from scratch | Microsoft Docs
Best Regards, Charlie Choi
Thanks, Charlie. I have never used Graph API so I will need to dig in to that to see if I can figure something out.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 342 Super User 2026 Season 2
M Bilal Khan 271
Mohsin Ali 223