web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Office 365 Users Manag...
Power Apps
Unanswered

Office 365 Users ManagerV2 Error

(1) ShareShare
ReportReport
Posted on by 786

 

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.

 

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    on at

    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

  • Verified answer
    vecerpa Profile Picture
    786 on at

    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/119311#M5093

    P.

  • HS-02011419-0 Profile Picture
    on at

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

  • Community Power Platform Member Profile Picture
    on at

    âš  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 😊

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard