On one of my projects i'm working on, i'm getting the following error when opened 1 of the screen.
Office365Users.UserPhotoMetadata failed: The method 'UserPhotoMetadata' has an invalid value for parameter 'userId'
Now my challenge is i'm unable to find which part of the powerapp that is using this method. I've looked through every screens, every objects.
Leave Request Template: https://powerapps.microsoft.com/en-us/blog/create-and-manage-leave-requests-with-ease/
Is there a debugging tool to locate this?
Note this error does not show in the creator studio app and allows me to save and publish without any issues, only on the app itself.
@ebDev : Yes I have checked those. There are some delegation warnings but it has nothing to do with this error. As mentioned, I can save and publish the app just fine. In fact the app works fine too for the users.
The error only appears when a user and/or his/her manager does not have a photo in their account. Even so, the app still works as expected.
It is just annoying trying to explain these to the users to ignore it each time I get asked about it.