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 / Get user photo (V2) an...
Power Automate
Answered

Get user photo (V2) and embed it in an email.

(0) ShareShare
ReportReport
Posted on by 89

Hi, How do i embed a users profile photo in an email on flow? 

 

if i just enter the 'Get User Photo" i just get the box with an X in it (i am using a profile which has a photo)

 

I have tried to google this but it just seems to come up with solutions for PowerApps and not Flow.

 

Thank you,

Helen. 

 

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

    Hi @ Helen_BB,

     

    I have made a test on my side, on my test, the pictures also couldn’t be displayed and are shown as red X in Outlook as you.

     

    To embed a user’s profile photo in an email is not supported in Microsoft Flow currently, If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

     

    Regards,
    Alice Zhang

  • marcosfromeroey Profile Picture
    18 on at

    Hi!

    I just tried it and it worked:

     

    In the email body insert this piece of HTML code:

     

    <img src="data&colon;image/jpeg;base64,{function}">

     

     

    Where {function} is this expression:

     

    base64(outputs('photo')?['body'])

     

     

    And photo is the name of the step where you get the user profile photo.marcosfromeroey_0-1632869511997.png

     

  • ErwinR Profile Picture
    9 on at

    can you explain how you put the {function} expression?

     

    Thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard