I am creating a power app which is forever coming up with the following error
Office365Users.UserPhoto failed: The function 'UserPhoto' has an invalid value for parameter 'userId' - a blank value was passed to it where it was not expected. Please make sure that a valid argument is passed to the function.
In the app I have a User Photo in the header for the current user, which is working fine. I also have a couple of entries in a gallery with User Photo's. Again both of these are working fine. When I have looked at past examples they imply that the ID's have no photo's assigned to them which is the cause of the issue, I have in this example, made sure the only ID's being used have a photo.