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

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    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

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard