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.SearchU...
Power Apps
Unanswered

Office365Users.SearchUser Limit

(0) ShareShare
ReportReport
Posted on by

My organization wants a full list of users displayed.  Not just a list of users when entering text in a search field.  Our organization has less than 300 users but over 999 user accounts.  I have no way to filter the results in PowerApps until after it attempts to pull the entire list.

 

Filter(
   Office365Users.SearchUser({searchTerm: Trim(txtSearch.Text), top: 999}),
   AccountEnabled,
   CompanyName = "City of Xyz"
)

 

The resulting list of items are close, but since the list truncates after 999 results are found prior to applying the filter, it's incomplete.

 

Are there plans to increase the limit or add the capability to use wildcards for the searchTerm parameter?

Categories:
  • mariagiugno Profile Picture
    23 on at

    Have you tried adding distinct to ensure you are not receiving duplicate records in this search:

     

    Distinct(Filter(
    Office365Users.SearchUser({searchTerm: Trim(txtSearch.Text),top: 999}),
    AccountEnabled,
    CompanyName = "City of Xyz"
    )

     

     

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