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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard