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 / Auto-Populate employee...
Power Apps
Unanswered

Auto-Populate employee details

(0) ShareShare
ReportReport
Posted on by 2

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 

 

Name: 

(Uses DisplayName from O365)

Location

(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!

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

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

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-office365-users

     

    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.

     

    ComboBox_Employee.Selected.displayName
    ComboBox_Employee.Selected.Email
    ComboBox_Employee.Selected.mailNickname

     

    ---
    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."

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard