Hey there
Our users are getting the following error by using Office365Users.UserPhotoMetadata().HasPhoto
Office365Users.UserPhotoMetadata failed: { "error": { "code": "AuthenticationError", "message": "Error authenticating with resource", "innerError": { "date": "2020-08-31T10:16:13", "request-id": "<GUID>" } } }
I've read in this thread about it, but by reading the final answer it basically means it is useless in PowerApps and I don't really believe that.
Anyone knows how to overcome this issue?
** Edit **
This is the formula I'm using for PhotoMetadata:
If(!IsBlank(txtSearchAttendees.Text) && Not(IsBlank(ThisItem.Id)) && Office365Users.UserPhotoMetadata(ThisItem.Id).HasPhoto,
Office365Users.UserPhoto(ThisItem.Id),
'default-profile'
)