cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cressif1
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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,752)