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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps Office365gr...
Power Apps
Unanswered

Power Apps Office365groups -- Group Dropdown list controls User Dropdown

(0) ShareShare
ReportReport
Posted on by 11

Hello All, 

 

I have two dropdowns in my Power App. One is a group dropdown, which lists other groups included in the dropdown. 

 

I have a second dropdown, which I would like to show users based on the Group selected in Dropdown 1. 

 

I cannot seem to figure out how to make this happen; I've seen some IF statements & Sort(), but nothing seems to link the Group ID from the first Dropdown to select the users in that Group that is selected. 

 

To give a description of the process: User selects Group from Dropdown 1; user can then select a user from that Group in Dropdown 1 in Dropdown 2. I do not want to allow a user to see all users in the organization. 

 

Any thoughts? 

 Thank you for your time! 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at

    Hi @SRVAdmin ,

    To get the members of a Group, you need

    Office365Groups.ListGroupMembers(YourGroupIDHere).value

    YourGroupIDHere would the one selected from the first combo Box

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • SRVAdmin Profile Picture
    11 on at

    Thanks, Warren; I am using this for the first combo box to see the groups, but how would I tie that value to the search criteria in the office365groups code for the second box? 

     

    Thank you for your time! 

     

  • WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at

    @SRVAdmin ,

    It should be 

    FirstComboBox.Selected.id

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard