Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Auto-Populate employee details

Hello Power App Community!


I'm brand spanking new to Power Apps and trying to learn as I go. One of the things that I'm trying to do is create a form that would search our O365 database and auto-populate the following fields:


Search Box to enter name/number/email 



(Uses DisplayName from O365)


(Uses City from O365)

Employee Number

(Uses MailNickname from O365)


This would then be submitted and shared to a SharePoint list. 


Any help is super appreciated!

Super User III
Super User III

You will want to the Office365Users connector.  Add it to your app.


Create a SharePoint list with a Person field called 'Employee'.  Then add a form to your app based on that SP List.  The user search box will appear without you having to create it.

Then you could find each piece of data by making a reference to the Employee ComboBox.  Data will only appear once you have selected a person.




Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Resolver III
Resolver III

Hi there add a TextBox for search and three labels


label1 text = First(Office365Users.SearchUserV2({searchTerm:TextBox.Text}).value).DisplayName


label3 text = First(Office365Users.SearchUserV2({searchTerm:TextBox.Text}).value).OfficeLocation


label3 text = First(Office365Users.SearchUserV2({searchTerm:TextBox.Text}).value).MailNickname


there you go

Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,121)