cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mac
Level: Powered On

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
Power Apps Staff claudiosvcc
Power Apps Staff

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
Power Apps Staff claudiosvcc
Power Apps Staff

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

Mac
Level: Powered On

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

Community Support Team
Community Support Team

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.
Mac
Level: Powered On

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,983)