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

Creating ZIP Folder

(1) ShareShare
ReportReport
Posted on by 48
Hello,

I have a flow that takes in a zip file, extracts it to make some changes then I need to zip the file up again. The first steps work fine, and the initial HTTP request works fine and returns the token and file list as required. However the file returned from the ZIP http request when saved to sharepoint is invalid. I have put screenshots below - is there anything that is wrong or additional steps that I need to add to ensure this works correctly?
 
The file name and file is passed through from PowerApps, and the extracted zip and edited files are fine and accessible. Please let me know if you need any further information.
 
Thank you in advance,
 
Adam Jones
Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
     
    instead of base64ToBinary function - try to use base64 function - see whether that helps ?

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • adamjones_kkp Profile Picture
    48 on at
     
    Thank you for your suggestion, unfortunately this doesn't resolve the issue I am having.
     
    Regards,
     
    Adam
  • Verified answer
    adamjones_kkp Profile Picture
    48 on at
    I found the solution to the issue, I just needed to add some additional JSON to the "Attachment Items" section. If anyone has the same issue I found this blog post useful: https://global-sharepoint.com/sharepoint/create-zip-file-using-power-automate/

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard