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 / People Picker - Multip...
Power Apps
Unanswered

People Picker - Multiple Search Types

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to update a people picker "Search Field" to accept both the user email and name but its only letting me select one type. I tried a few different options but not sure how to proceed.

 

["DisplayName"] || ["UserPrincipalName"]

Categories:
  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    @Anonymous ,

    You can only specify one field for searching in these controls

     

    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.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Based on the issue that you mentioned, do you want to search DisplayName and UserPrincipalName based on the search text?

    Could you please share a bit more about the scenario?

    As @WarrenBelz said, "you can only specify one field for searching in these controls".

    As an alternative solution, you could add a Gallery and populate it will a table pulling from the Office365User.SearchUser.

    I have made a test for you, please take a try.

    Add a Combo Box and set the Items as below:

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

    Add a Gallery and set the Items as below:

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

    Set the Text of the Label within the Gallery as below:

    ThisItem.DisplayName
    ThisItem.UserPrincipalName

    vqiaqimsft_0-1627627487315.png

    Hope it could help.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard