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 / 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!
Categories:
I have the same question (0)
  • Verified answer
    Srini007 Profile Picture
    3,327 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard