Announcements
Hello,
I am building an app but having an issue with an error message I am trying to suppress. I am using Office365Users.ManagerV2 to autofill a person field (Field 2) when someone is selected in another person field (Field 1). I have If("ManagerV2" in FirstError.Message,false,true) in the OnError property of the app but I am still receiving the error message below when the app is loaded. The field and functionality are working fine but is there to hide the error message when the app loads?
Hi @steve1955
What I'd suggest is to locate the place where you call Office365Users.ManagerV2 and to wrap the call inside a call to IfError. That should hopefully suppress the error notification.
https://learn.microsoft.com/en-gb/power-platform/power-fx/reference/function-iferror
Try this formula: If("ManagerV2" in FirstError.Message, Notify("",NotificationType.None), true)
This will suppress the error message when the app loads. The Notify function is used to display a blank notification with no type. You can replace this with a custom message or type if desired.
@timl and @WonderSerota - Thanks for the info. Unfortunately neither of the fixed the problem and the error still shows up when the app loads. Any other thoughts I can try?
I'm sorry to hear that. At the moment, I have no idea how to do it but I will thoroughly look into it again and see if I can help
@steve1955 - what I'd suggest is to use Monitor to trace the load of the app. When the error message appears, can you see in the trace whether it's been raised in a call to Office365Users.ManagerV2 that's wrapped inside a call to IfError?
Thanks @timl
I was able to identify and correct the issue.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 529 Most Valuable Professional
Haque 230
Kalathiya 217 Super User 2026 Season 1