Hi Folks -
I have a greeting on my PowerApp where I say "Hello, <username>!" but I also display their image if they have one.
However, I'm getting the "Office365Users.UserPhotoMetadata failed:" error claiming I have an invalid value for parameter "userId" and I can't figure out why.
here is my syntax:
If(Office365Users.UserPhotoMetadata(Office365Users.MyProfile().Id).HasPhoto=false,SampleImage,Office365Users.UserPhoto(Office365Users.MyProfile().Id))
Can anyone see what's wrong?
Thank you