I created a flow to grab a PDF attachment from an email when one arrives and save it in a Sharepoint document library. The file is created correctly but it cannot be previewed or opened in Adobe Acrobat. The attachments can be opened just fine when I open them through the email. When I try to open it in Adobe, it gives this error:
Here are screenshots of my flow. I omitted the middle section but it is just variable manipulation and shouldn't have any impact on the file content. Any help is appreciated!