
Hello all! Hoping someone can help me with an odd error I'm running into.
I've built a company shoutout app that allows users to scroll through a dynamically updating employee directory pulled from O365. The directory works fine and shows all employees and their photos, and replaces their photo with a company logo if they don't have one.
In trying to bomb-proof my application as best as I can, I've found that when I rapidly scroll through the list or use the search function to quickly bounce between employees, I get the following obnoxious error message at the top of the screen:
This 'Office365Users.UserPhotoMetadata failed' message has no impact on the app outside of looking scary- everything and everyone still looks and loads just fine. I'm assuming this error is from the connecting service failing to keep up when I quickly scroll/bounce around the company directory.
My question is, since this error does not actually seem to impact the end user experience outside of looking scary, is there any way to suppress error messages like this from appearing within the app so the end user does not see them?
Thanks in advance for the help!
Trevor
Actually managed to solve my own question. Ran the app in monitoring mode and isolated the issue triggering the error message- I had some guest users within our system showing up in the directory, which was throwing the error since they did not have a company associated domain name for their O365 accounts.
I added the following to the end of my filter code in Items to exclude the guest accounts-
&& Not("#EXT#" in UserPrincipalName))
That removed the guest accounts and also the massive error message. Huzzah!