Hello guys.. I have created one small application in powerapp.It works properly until now but this error is showed up when I open it.
"Call Office365Users.UserPhotoMetadata failed. The method UserPhotoMetadata has no valid value for the userid
The code for this problem is this "
//whenever user navigates to this page, set their approver to their manager
Set(_selectedApproverPhoto; If(Office365Users.UserPhotoMetadata(_selectedApprover.Id).HasPhoto =true; Office365Users.UserPhoto(_selectedApprover.Id)))
To fix it, don't use UserPhotoMetadata at all. On my app, the UserPhoto Advanced > Data > Image formula is:
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.