cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Solution Sage
Solution Sage

Office 365 Profile Information - getting user manager

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

 

Error message

16 REPLIES 16

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.

View solution in original post

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...

Regular Visitor

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

test

If you are going to use the new V2, all the properties begin with lowercase letters now.

 

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,432)