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 / Save Base64 Image to S...
Power Automate
Answered

Save Base64 Image to Sharepoint

(0) ShareShare
ReportReport
Posted on by 16
Hi there,

I have a Base64 encoded image that seems to be working correctly. Now I want to upload this image to SharePoint and save it as a file, but unfortunately it is not working the way I want it to.

I can see the data in the text editor when I open the image there, but I cannot view or open it as a picture. In the Apply to each action I have the output of select('Body') as input. In the Compose action, I use the replace(items('Apply_to_each')?['Images64'], 'data:image/png;base64,', '') formula to remove the Base64 header from the images. In the Base64ToBinary action I then use base64ToBinary(outputs('Compose_3')).

For the Create file action I set the output of Base64ToBinary in the file content. In the In and Output of Base64ToBinary I have added the image.

However, the image does not seem to be saved correctly. Where is my mistake?

Thanks for your help!
Screenshot 2024-11-21 102325.png
Screenshot 2024-11-21 103616.png
Categories:
I have the same question (0)
  • Verified answer
    Srini007 Profile Picture
    3,473 Super User 2026 Season 1 on at
    Hi,
     
    Check below link for your reference
     
     
     If I have answered your question, please mark it as the Answered. If you like my response, please give it a Like.
     
    Regards,
    Srini

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 464

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 323 Super User 2026 Season 1

Last 30 days Overall leaderboard