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.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Check out the Power Apps Community Call for January 2021
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!