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).Mai
Solved! Go to Solution.
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
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
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:
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
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 🙂