cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mac
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
claudiosvcc
Power Apps
Power Apps

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

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

 

 

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

v-xida-msft
Community Support
Community Support

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.

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,915)