cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

Office365Users.ManageV2

Hi All,

 

Yesterday this formula If(IsBlank(DropdownRequestorPDM.Selected);Parent.Default;Office365Users.ManagerV2(DropdownRequestorPDM.Selected.Id).jobTitle) was with no error, but today I have a problem 

 

Error of Office365Users.ManagerV2:{"error":{"code":"Request_ResourceNotFound","message":"Resource 'manager' does not exist or one of its queried reference-property objects are not present.""innerError":{requqest-id:"746ac166-2f1a-46af-9882-10130b052fcd","date":"2019-08-28T16:31:27}}}

 

Thanks

4 REPLIES 4
Community Support
Community Support

Hi @v-joriva .

 

Did you changed the user the next day? Does the user you select have a manager when you meet error?

I have made a test on my side, and find that when the user selected from DropDown have no manager, the error you describe will show up. But if the user has a manager, It would work well.

Capture3.PNG

So you should sign into Azure AD Portal as a User administrator for the organization to confirm the user’s Manager Info.

Please follow the path: Home > Users - All users >   [User] – Profile >  Job Info - Manager.

If there is no manager, you have to click the ‘change’ button and assign the manger to User. Then try again in PowerApps to check if the issue has been fixed.

Annotation 2019-08-29 143023.png

For more information about Azure AD, please refer to this doc: Add or update a user's profile information using Azure Active Directory

 

Best regards,

Sik

What about cases where the person doesn't have a manager, e.g. the CEO, contractors, and service accounts?

There is currently no way to handle it.

The best bet would be you do a manual check and if there is null responded you can use if and else

If(IsBlank(Office365Users.ManagerV2(Dropdown3.SelectedText.Value).jobTitle),"No Manager",Office365Users.ManagerV2(Dropdown3.SelectedText.Value).jobTitle)

@Rahber @v-siky-msft Though I have handled the issue with "No Manager" message, how do get rid of the error prompt shown on the top of the screen?

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
Users online (6,305)