Content migrated from TechNet. Post attribution to: Hilary Stoupa
Hi - I am trying to follow this tutorial on connecting PowerApps to the Office 365 user profile data. I can get my own data or that of another user.
I can't get my Manager information. I've got the manager field filled out in my user profile in the SharePoint Admin Center in Office 365.
The error text is:
The service returned an error: office365users!Manager: {"status":404, "message": "No user found with the specified id.", "source": "127.0.0.1"}
I'm not sure how to debug this - anyone have any ideas?
Thanks
Solved! Go to Solution.
Thank you for your help!
So - upon review with an MS Support Engineer, it appears the issue is that to use .Manager or .DirectReports, I need to have Azure Active Directory set up. This makes sense - I had assumed these functions would be using my SharePoint user profile information, but they are not.
I saw your answer regarding power apps Office365Users.Manager error , actually I have the same error and I cannot fix this issue and and I cannot understand how can I setup active directory with office 365
As I just have office 365 business essential without ad on premises and I tried to find a way to setup AD with office 365 and I register and open AAD but I’m still have the same issue raised in the post
Please I need your help
I am trying to pull the email id from the display Name i have pulled with the below syntax, but no good. Can any one help me on the below.
office365users.Manager(TextInput1.Text).Mail
Thanks in Advance...
If this is for the current person using the PowerApp use the following:
Manager Email:
Office365Users.Manager(Office365Users.MyProfile().Mail).Mail
Manager DisplayName:
Office365Users.Manager(Office365Users.MyProfile().Mail).DisplayName
If you are going to use the new V2, all the properties begin with lowercase letters now.
User | Count |
---|---|
257 | |
110 | |
97 | |
52 | |
39 |