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 / Show Full Name When Us...
Power Apps
Unanswered

Show Full Name When Using the Office365Users.SearchUser().

(1) ShareShare
ReportReport
Posted on by 395

Currently when I use the Office365User.SearchUser() it only displays the first name in a SharePoint list. Is there a way to Show the First and Last Name. 

In the Item Control of the Dropdown Box:

 

Office365Users.SearchUser(
 {
 searchTerm:cmbSearch_3.SearchText,top:10
 }
)

 

 

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @lbolin ,

     

    The data shown in the Combo Box fold out is determined by the DisplayFields property.

     

    An easy way to set that is by selecting the Combo Box and in the settings pane, on the right side of the screen, click Edit next to Fields. Then set the Primary text to DisplayName to show more than the just the first name:

    BCBuizer_0-1714503266301.png

     

     

  • Robu1 Profile Picture
    1,711 Super User 2026 Season 2 on at

    Hi @lbolin ,

     

    There is also an existing solution here:

     

    Solved: Display First Name Lastname From Sharepoint Person... - Power Platform Community (microsoft.com)

     

    Do  Check Display Name Settings in Azure AD: Ensure that the display name fields in Azure Active Directory (AAD) are set to “Last Name, First Name.” If they are not, you may need to adjust the AAD settings.

     

    Alternative Approach (SharePoint List): If you’re directly using a SharePoint list, consider adjusting the data source. For example, you can create a collection or variable to split the title text by spaces to extract the first name, last name, and middle name

     


    If this post helps, then Click on the Thumbs Up below and Accept it as the solution to help others.

    Thanks,

    Robu1.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard