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.
Check out our new profile badges recognizing authored solutions!
We are excited to announce the Power Apps Super Users!
Did you miss the call? Check out the Power Apps Community Call here.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!