I created the Org Browser Power App adding a employee picture on the last screen. The app works fine but I have an error message of "The method 'UserPhoto' has an invalid value for parameter 'userID'. How can this be fixed?
Please take a try to change the formula as below:
See if doing this would help.
Would you please share the error messages in a screenshot?which data you are trying to work with?
the UserID for the Office365.Userphoto() should be the User principal name or email id.
Check the document below:
For the Userphoto function, please check:
The Email used in the userPhoto should be within the same organization as yours.
The error message told that the Value input for the Office365Users.UserPhoto () is not right.
Please verify the Email Address or the corresponding UserId.
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021