cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

How do i get my managers manager email?

I can retrieve my mangers email address using the following string within a label:

 

Office365Users.Manager(MyEmail.Text).Mail

 

But how do I retrieve my managers, manager email address? I’ve tried the below but always with an error

 

Office365Users.Manager(MyManagersEmail.Text).MaiCapture1.gifCapture2.gif

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Apps
Power Apps

Re: How do i get my managers manager email?

Can you please show what's the error you're seeing (if you hover the red line)?

By doing apaprently the same formula you showed I can see the right values.

 

You can also try Office365Users.Manager(Office365Users.Manager(Office365Users.MyProfile().Mail).Mail).Mail

 

 

View solution in original post

4 REPLIES 4
Highlighted
Power Apps
Power Apps

Re: How do i get my managers manager email?

Can you please show what's the error you're seeing (if you hover the red line)?

By doing apaprently the same formula you showed I can see the right values.

 

You can also try Office365Users.Manager(Office365Users.Manager(Office365Users.MyProfile().Mail).Mail).Mail

 

 

View solution in original post

Highlighted
Helper I
Helper I

Re: How do i get my managers manager email?

Thanks for the qucik responce. Unfortunalty it didint work. Ill post an update on the error message im gettgin shortly

Highlighted
Community Support
Community Support

Re: How do i get my managers manager email?

Hi @Mac,

 

Could you please share more details about the error message within your app?

 

I have made a test on my side and don't have the issue that you mentioned. The screenshort as below:8.JPG

 

 

I suppose that you have faced a "No manager found for the specified user" issue within your app, is it true?

 

If you have faced the "No manager found for the specified user" issue within your app, please check if your manager has also configured a manager in his Azure Active Directory (AAD). If your manager does not configure a manager in his Azure Active Directory (AAD), the error would show up.

 

More details about the "No manager found for the specified user" error within Office365Users connector, please check the following article:

https://docs.microsoft.com/en-us/connectors/office365users/#known-issues-and-limitations

 

If you don' t face the above issue and your manager has configured a manager in his Azure Active Directory (AAD), please consider take a try to create a new connection to Office365Users connector within your app, then try your formula again to check if the issue is solved.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper I
Helper I

Re: How do i get my managers manager email?

Thank you for everyone’s prompt replies. The solution below did work. Kudos to you all.


Office365Users.Manager(Office365Users.Manager(Office365Users.MyProfile().Mail).Mail).Mail


I think it’s with the Azure Active Directory (AAD) hasn’t been updated and is inaccurate when it came to my line manager and reports. I’ve run a test it with a few colleagues it was working for them 🙂

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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