web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to get the "manage...
Power Apps
Unanswered

How to get the "manager" from an employee on my form.

(0) ShareShare
ReportReport
Posted on by 1,042

Hi, 

I am a beginner. And i have an empty canvas with a combobox on it called PeoplePicker. I have set this function for the PeoplePicker: office365users.searchuser({searchTerm:PeoplePicker.SearchText}). I have set multiple textboxes for getting

the properties like: jobtitle, emailadres, department etc... It al works fine. Only I need to get the property "Manager" too

But the Search for user (V2) connecter doesn't have this property Get User profile does? but i can not find this connecter

in PowerApps. How can this be solved? Gr. P

 

 

Categories:
I have the same question (0)
  • SagarVIS96 Profile Picture
    212 on at

    Hi @PeKi72 ,

    You can use to get the manager name:

    Office365Users.Manager("<user_email>").DisplayName

     

  • CU16021406-1 Profile Picture
    1,042 on at

    I have put a seperate textbox on the form to display the manager name of an employee. And put the query in it. But i get an error.

     

  • CU16021406-1 Profile Picture
    1,042 on at

    PeKi72_0-1688725985749.png

     

  • Verified answer
    SagarVIS96 Profile Picture
    212 on at

    Hi @PeKi72 ,

    Enter the user email over here where I have wrote user_email.
    Example: 

    Office365Users.Manager("someone@example.com").DisplayName

    Replace the email with your valid email 

  • CU16021406-1 Profile Picture
    1,042 on at

    Hi,

    I have a peoplepicker on my form and when I choose a user with the peoplepicker

    the name of the manager must be display in another label. 

    I have tried:

    'Office365-gebruikers'.ManagerV2(PeoplePicker.Selected.DisplayName).displayName

    Office365Users.Manager({searchTerm:PeoplePicker.SearchText}).DisplayName

     But no luck

     

    How can I get the manager of the user I select in the peoplepicker in the label called txtLabel ?

     

    PeKi72_0-1688938232854.png

    gr, P

  • CU16021406-1 Profile Picture
    1,042 on at

    Got it: 

    'Office365-gebruikers'.ManagerV2(PeoplePicker.Selected.Id).displayName

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard