I am using the following flow for saving attachments to SharePoint:
I am trying to implement a simple flow for saving email attachment
The file appears to save but when I try to open it, I get the following error message: Adobe Acrobat could not open 'FileName.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
When I save the file manually, it opens just fine. It only fails when PA saves the file.
Solved! Go to Solution.
Thank you for your input. That setting was already in place. I started over using a template this time and the attachments now save without giving an error message about being decoded improperly. There must be a key difference between the template's version of creating a file in SharePoint vs. the generic create file when building from scratch. Using the peek code option, I see the following differences that might contribute:
Generic create file version:
Template create file version:
I'm not sure what makes the working difference between them, but the second one is working and I'll use it going forward.
Dear Partner,
Set Include Attachment to “Yes”, in Action when a new email arrives
Regards,
Mohamed Sanuj Basheer
Thank you for your input. That setting was already in place. I started over using a template this time and the attachments now save without giving an error message about being decoded improperly. There must be a key difference between the template's version of creating a file in SharePoint vs. the generic create file when building from scratch. Using the peek code option, I see the following differences that might contribute:
Generic create file version:
Template create file version:
I'm not sure what makes the working difference between them, but the second one is working and I'll use it going forward.
Thanks a lot @ryan_ndwe for sharing this.
1,5 years later and this bug still exists - what a waste of lifetime...
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.