Hello!
Does anyone know who to resolve this error message? It doesn't stop my Power App from functioning as it should, or showing the User's photo, but it's not ideal for the users to see!
My image is taken from a component:
User = Office365Users.MyProfileV2()
UserPhoto = IfError(If(UserProfile.UserHasPhoto,Office365Users.UserPhotoV2(UserProfile.User.id)),SampleImage)
UserhasPhoto = If(!IsBlank(UserProfile.User.id),Office365Users.UserPhotoMetadata(UserProfile.User.id).HasPhoto)

Office365Users.UserPhotoMetadata failed: The method 'UserPhotoMetadata' has an invalid value for parameter 'userId'
