web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to retrieve group ...
Power Apps
Unanswered

How to retrieve group Id for a 365 people group

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a people pickers group called owners in office 365 groups. 

I would like to use this owners group as people picker in my edit poweApps form.

This owners group will be populating a dropdown selection so users can choose the respective person.

I am using this formula to populate the item 

SharePointGroupMembers,Office365Groups.ListGroupMembers(???).value)

 

Ive followed the steps in the link below but haven't been able to see the groups url depicted in the screenshots.

 

https://www.spguides.com/get-users-from-sharepoint-group-in-powerapps/

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    You'll want to obtain the group's ID first before trying to access membership within the group. I suggest using the Office365Groups.ListOwnedGroupsV3() function to get records for groups you own, and find the ID for the group you need. Then, use ID as an argument to the Office365Groups.ListGroupMembers() function to build a collection of the members.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the quick response,

    Office365Groups.ListOwnedGroupsV3() returns sites i have but not the groups i created. 

    I think i was not clear in my question , the group i created is a SharePoint group within a SharePoint list.

    Ive attached images for clarification. Thank you !

    20210625_102901-min.jpg
    20210625_102711-min.jpg
  • BCLS776 Profile Picture
    8,994 Moderator on at

    Ah, SharePoint groups aren't connected in the same way as 365 groups. I took a look at the link you posted originally and I can't access the group using the Office365 connector as the author describes.

     

    I know others gain access to SharePoint group membership through flows (look here)

     

    I am tagging @RandyHayes for some assistance. He knows more about SharePoint and might know a better way.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard