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 File Content Using...
Power Automate
Answered

Get File Content Using Path Failing

(0) ShareShare
ReportReport
Posted on by 15

Hello,

 

I recently created a desk reservation app. When the user reserves a desk, Power Automate sends a confirmation email to the user, along with a map location of the reserved desk. Something has changed in the SharePoint site and now my Power Automate flow is failing at the base64 step, before the map is inserted into the email template. Attached is an image of the current base64 function. 

 

This is the new output from the previous 'Get File Content Using Path' step:

 

{
"fileName": "Reserved_ImageAttachment_[12]_[DeskLocation][36]_[f8d7e86a-85bf-4073-8f7b-f5734fa6313a][1]_[1].png"
}

 

How can I extract the only the DeskLocation image from the output above and convert it to the base64 image?

 

Thanks for the help in advance

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

    Hi , @gcorprew 

    According to your description, you want to get the image in SharePoint List. And you have got the fileName in your side .

    This is my SharePoint List image Column "ImageTest":

    vyueyunmsft_0-1704762888625.png

    First we can get the fileName using this http request:

    vyueyunmsft_1-1704763024852.png

    Then we can get the file content:

    vyueyunmsft_2-1704763097490.png

     

    json(outputs('Send_an_HTTP_request_to_SharePoint')?['body']?['d']?['ImageTest'])?['fileName']

     

     

    Then we can embed with <img> tag :

    vyueyunmsft_3-1704763152746.png

     

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

     

     

    For more information, you can refer to :

    Get SharePoint List Image in Power Automate - Torben Pedersen

     

    If this reply can help you , you can click mark this reply as solution, thanks in advance!


    Best Regards,

    Yueyun Zhang

     

     

     

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard