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 / Office365Users but ins...
Power Apps
Answered

Office365Users but instead only list the members of a Sharepoint site

(0) ShareShare
ReportReport
Posted on by 678

I have a combo box in my app and for the items I'm using...

Office365Users.SearchUser({searchTerm: CmbEmployees.SearchText})

That's fine. It works, but I see a bunch of "crap" in the search... because it's displaying everything on our tenant I assume for Office365Users. Some people have multiple accounts and some are simply weird ... is there a way to filter these junk ones out ?

For a bonus question: I'm also interested in only displaying members of a particular private SP site. Can that be done? I realize that's a 2nd question but maybe these paths cross?

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    @sasrsc ,

    You will need to talk to your O365 Admin on the first one (to clean it up) - you have asked Power Apps to search the users and it will do exactly that.

    Second question - I maintain a separate user list in SP for this reason - it also allows me to include any parameter fields I need. You can use Office365 Security Groups (I have a blog on this), but I prefer the separate list.

     

    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.

    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

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard