cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Office365Users.ManageV2

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

Highlighted
Frequent Visitor

Re: Office365Users.ManageV2

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

Highlighted
Super User
Super User

Re: Office365Users.ManageV2

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)
Highlighted
Helper IV
Helper IV

Re: Office365Users.ManageV2

@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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Kudoed Authors
Users online (6,439)