web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Display user photo in ...
Power Automate
Answered

Display user photo in a Vertical Gallery using Office365Users.UserPhoto Function

(0) ShareShare
ReportReport
Posted on by 100

Hi All,

 

Not sure how to get rid of the error  below in the gallery when displaying UserPhoto.   if the text email input box is empty, the form throws some error.   Appreciate help on this.

 

I've tried  !IsBlank Function but no luck.

 

vicsaisan_0-1711957336874.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @vicsaisan ,

     

    Please try the following formula:

    IfError(Office365Users.UserPhotoV2(ThisItem.'Email address'),SampleImage, Office365Users.UserPhotoV2(ThisItem.'Email address'))

     

    Best regards,

  • floxfloat Profile Picture
    100 on at

    Thank you @v-jefferni , Appreciate your prompt response.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard