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 / Filter users based on ...
Power Apps
Answered

Filter users based on a group

(0) ShareShare
ReportReport
Posted on by 11

I want the list of users to appear in my items property, which belongs to a specific group: "Remote"
This group exist in Office365, and I tried adding the office365Groups connector, however unable to filter it.
Currently it displays all the users, and allows me to search for any text. I need an extra filter to display only this group members.

Nilo_1792_0-1692811567618.png

 

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Nilo_1792 ,

     

    You could use this formula to list group members:

    Office365Groups.ListGroupMembers(LookUp(Office365Groups.ListOwnedGroupsV3().value,displayName="Remote").id).value

     

    Best Regards,

    Bof

  • Nilo_1792 Profile Picture
    11 on at

    Thanks, this gives me the list of Group members, but I also want to be able to  search for name in the text value, and match with the list of members in this group.

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Nilo_1792 ,

     

    Please try:

    Filter(Office365Users.SearchUser({searchTerm:tbSearch.Text}),DisplayName in
    Office365Groups.ListGroupMembers(LookUp(Office365Groups.ListOwnedGroupsV3().value,displayName="Remote").id).value.displayName)

     

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard