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 / Populate Manager Name
Power Apps
Answered

Populate Manager Name

(0) ShareShare
ReportReport
Posted on by 640

Hello,

 

I have a combo box containing a list of users. And I'm trying to get the manager's email for the selected person. What I'm missing from the below formula? 

 

Office365Users.ManagerV2(SelectBox.Selected.Result).mail

 

Any suggestions?

 

Thanks,

Omi

 

 

Categories:
I have the same question (0)
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Office365Users.ManagerV2(emailaddresshere).mail

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @omi18 

    Depends...where are you putting this formula?

    And what are the following properties of your combobox - Items, DefaultSelectedItems?

  • omi18 Profile Picture
    640 on at

    @JR-BejeweledOne 

     

    No, Person Name.

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    It needs an email address.

  • omi18 Profile Picture
    640 on at

    @RandyHayes ,

     

    label text.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @omi18 

    What is the items property of SelectBox?

  • omi18 Profile Picture
    640 on at

    @RandyHayes 

     

    Distinct(SortByColumns(Filter('[database].[Desc]',Year=YearBox_1.Selected.Result).FullName,"FullName",Ascending),FullName)

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @omi18 

    So your FullName column then is a text column in your datasource.  You have no column with the email of whoever is "fullname"?

     

  • omi18 Profile Picture
    640 on at

    @RandyHayes ,

     

    Yes, It is a text column. and no email for a full name. 

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @omi18 

    Okay, then you'll need to do a double call to the 365 user connector.

    With({_user: First(Office365Users.SearchUserV2({SearchTerm:SelectBox.Selected.Result, top:1).value)},
    
     Office365Users.ManagerV2(_user.Mail).mail
    
    )

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard