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 :)):
Function in app:
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.
Solved! Go to Solution.
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.
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
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.
I know this is an old thread but you can find the solution here Hide-error-message-for-Office365users-Manager-function
⚠ 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 😊
User | Count |
---|---|
256 | |
110 | |
90 | |
51 | |
44 |