Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Approval with attachement array from email



Im trying o attach an attachments array in Approval. Im failing each time. Either the file is corrupted or is empty. I tried multiplie solutions from forums


1) Add multiple attachments to an approval email with Power Automate ( - empty or corrupted file

2) Solved: Re: Power Automate approval with Attachments - Power Platform Community ( - corrupted file

3)Solved: Attachment corruption on approval emails - Power Platform Community ( - corrupted file


i tried couple other of versions which combines all above and some other treads that i found. each time effect was the same - corrupted or empty file. 


i tried making attachments array directly from email attachments, i tried saving them on SP and on OneDrive.  


current attempt look like this - effect -> corrupted files. Files that are saved on OneDrive are fine, they open properly.


So you are my last hope - any ideas on how to make it run? Please help 😞


in case its important - All attachments are in PDF 


Accepted Solutions

@TeodorTeter - Yes, just use attachment content and do not wrap in the base64() expression.

View solution in original post

Frequent Visitor



This video has you covered -

Having reviewed your screenshot I would expect you need to remove the "" around the base64() expression... as the quotes tell PA that you are adding a string, and therefor it will try to re-encode the content, in affect base64 encoding a base64 string... thus a corrupt file.

Frequent Visitor

@Jay-Encodian  - it helped! however only while I'm saving the attachment on on OneDrive. and using advanced scenario 

"name": "file.docx",
"content": {
"$content-type": "application/octet-stream",


Is there any way to make it run directly from email attachments? 

@TeodorTeter - Yes, just use attachment content and do not wrap in the base64() expression.

View solution in original post

Frequent Visitor

Thank you! 


Now it works as it should from beginning




Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (10,967)