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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get user photo (V2) an...
Power Automate
Unanswered

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard