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 / Send email with power ...
Power Automate
Answered

Send email with power automate with graph api and user ad photo

(0) ShareShare
ReportReport
Posted on by 10

Hi all, 

 

i succes to create a flow to get the image of user in Azure AD with Graph API , i follow this great article : 

 

How to extract User Profile Photo using MS Graph API? | Pankaj Surti's Blog

 

But when i add my Output Compose in the mail, i receive it but don't see the photo, its totally encrypt base 64 i think.

 

Whats the best way to see the picture in email.

 

Thanks

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

    Hi @Bishope ,

     

    Please try:

    vbofengmsft_0-1667195839496.png

    <img src="@{concat('data:',body('GetProfileImage')?['$content-type'],';base64,',body('GetProfileImage')?['$content'])}">

     

     

    Best Regards,

    Bof

  • Bishope Profile Picture
    10 on at

    yeahhh its works perfectly, very 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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard