cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vecerpa
Memorable Member
Memorable Member

Office 365 Users ManagerV2 Error

 

Hello,

 

I'd like to somehow handle error that is thrown by connector Office 365 Users when trying to get manager of such user and there is none.

 

Connector throw error message like this on picture (in Czech :)):

GetManagerError.png

 

Function in app:

 

GetManagerError2.png

 

I'm looking for some way to handle this error message, not to be shown to users that are using such app and deliver something like "No Manager assigned" in for example label. As this error (missing manager ofr such user) can appear...

Please please is there some way to handle this? And if not, is there something like this on roadmap? I can imagine like this can be related to Graph API for O365 Users that it will deliver just text - "No Manager" or whatever....

 

P.

 

1 ACCEPTED SOLUTION

Accepted Solutions

4 REPLIES 4
v-monli-msft
Community Support
Community Support

Hi @vecerpa,

 

I'm afraid that you cannot force the error message to not show, please consider to post this idea in the PowerApps Ideas forum, so it might be considered for future releases.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

Regards,
Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-monli-msft,

 

New Idea posted. It will be nice to have something like this inside PowerApps - https://powerusers.microsoft.com/t5/PowerApps-Ideas/Error-handling-inside-PowerApps-Try-Catch/idi-p/...

P.

User7
Frequent Visitor

I know this is an old thread but you can find the solution here Hide-error-message-for-Office365users-Manager-function 

Juser007
Frequent Visitor

Don't panic !

Simple Enable this:
Go to
«Experimental features» section -> Enable «Formula-level error management»

and Use this Formula: IfError(Office365Users.ManagerV2(User().Email).displayName,"");

Was glad to help 😊

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,568)