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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

How to handle Office365Users.Manager failed error in canvas app?

(1) ShareShare
ReportReport
Posted on by

Hi Folks,

 

I'm trying to handle the error Office365Users.Manager() whenever a user has no manager. Power apps not seem to be catching this even after using ifError.

 

rbn_nue_0-1658740027049.png

 

 

I tried turning on formula level error management, but it enabled a bunch of other errors to show up in several other locations (which did not show up before). Some of them I'm not able to handle even after validating for empty or blank object.

 

Is there anyway to check if manager exist for user first, without error showing up?

 

Thank you. 

 

 

I have the same question (0)
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at
    Re: How to handle Office365Users.Manager failed error in canvas app?

    Hi @rbn_nue ,

     

    Did you already tried IfBlankorError() with formula level error management ?

     

     

  • rbn_nue Profile Picture
    on at
    Re: How to handle Office365Users.Manager failed error in canvas app?

    Hi @PriyankaGeethik ,

     

    Yes, I have already tried formula level error management and ifError. But after turning it on I could see around 30 new errors (with user friendly messages), some of them I was able to avoid by using validation for empty or blank variable/collection. But some are not going away whatever I do. I had to turn off formula level error management due to this. 

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard