Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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

  • Verified answer
    v-yueyun-msft Profile Picture
    on at
    Re: Get File Content Using Path Failing

    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics