cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Office365Users!UserPhoto not retrieving a photo get an invasive error

Hi, 

 

The following formula gets me as many error messages as I have Users without photo registered.

 

If('Utilisateursd''Office365'.UserPhotoMetadata(ThisItem.Id).HasPhoto=false;SampleImage;'Utilisateursd''Office365'.UserPhoto(ThisItem.Id))

 

I cannot get rid of them. Can anyone help me with this ?

 

With what can I replace the "SampleImage" so that I juste have a Blanck square ?

 

Thanks

1 REPLY 1
Anonymous
Not applicable

I am also interested in this. I am having the same issues. The photos seems to be coming back fine, but the error is always popping up even if the user has a picture.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (33,179)