cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
silkwire
Level: Powered On

SearchUser() not returning consistent results with short last names.

I use Office365Users.SearchUser in several combo boxes. I am able to search and return about 80% of the users in the organization. But... the other 20% won't return.

 

The majority of searches are ran on the last name. The documentation I can find states that the search term searches through displayname, given name, surname, email, etc...but I don't get consistent results depending on search term length. Reference - SearchUser

 

But when I search 'Berg' ... I get no results. If I search 'Steve.Berg' it returns a result because it apparently chooses to search email addresses when a . is present.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: SearchUser() not returning consistent results with short last names.

Hi @silkwire ,

 

I just tested with my name and I got the same result. I searched "Li" for "Mona Li" and the result does not show. I think this is by design behavior. If you need this feature, please try to add an idea in below forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: SearchUser() not returning consistent results with short last names.

Hi @silkwire ,

 

I just tested with my name and I got the same result. I searched "Li" for "Mona Li" and the result does not show. I think this is by design behavior. If you need this feature, please try to add an idea in below forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,297)