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 Platform Community / Forums / Power Automate / Power Automate File Sy...
Power Automate
Answered

Power Automate File System Create File Creating Corrupted PDF's

(0) ShareShare
ReportReport
Posted on by 108

I'm populating an MS Word Template, saving it to onedrive, converting it to pdf, then saving both the word file and pdf to our file server as well as emailing it to the requester. The pdf that's creating opens fine in the email attachment but when it opens on the server I get "... could not open [File name] becaust it is either not a supported file type or because the file has been damaged..." Deductive reasoning tells me that since the pdf that's emailed opens fine, it must be an issue with the Create File component. This used to work in previous testing but, recently, I discovered several corrupted pdfs. The Word docs save just fine. 

Screenshot 2021-05-07 120547.jpg

Categories:
I have the same question (0)
  • Verified answer
    obadiahjohnson Profile Picture
    108 on at

    I've figured out my issue. 

    I was passing the ID of the MS Word file to the "Get File Content 3" connection and passing that file content into the "Create File 8" connection. 

    I removed "Get File Content 3" entirely and get the File Content from the Convert File connector instead and passed that into "Create File 8". 

    For some reason, passing the file content of an MS Word file into a pdf in an email opens fine but, when saving it to the server, it's not as flexible. 

    By getting the file content from Convert file instead, I passed pdf file content into my newly created pdf instead of Word file content.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 612

#2
Valantis Profile Picture

Valantis 344

#3
11manish Profile Picture

11manish 326

Last 30 days Overall leaderboard