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 / Flow Creates a Corrupt...
Power Automate
Answered

Flow Creates a Corrupted Excel File

(0) ShareShare
ReportReport
Posted on by 18

Good morning, 

 

I created a simple flow through Power Automate. It is meant to receive an input from a user then create an Excel file based on a template. After each test I have performed, the file shows up in the specified folder but upon trying to open it, I receive this message: 

 

"This workbook couldn't be opened because the file format may not be matching with the file extension."

 

I have a suspicion that the template is not able to be reproduced in this flow as it is a limitation of Power Automate. 

 

To be more comprehensive, I have a template Excel file and I watched this video https://youtu.be/RB_ySjhm9Sg to understand how I can create a new Excel file based on the template. This is featured from approximately 1:00 to 2:00. 

 

Is there a limitation of Power Automate to create an Excel file based on a template?

 

Thank you for your assistance, 

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The File Content input is expecting an object in this format:

     

    {
      "$content-type""application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
      "$content""{insert Base64 here}"
    }
     
    Your easiest option would be to save the template as an xlsx in your document library. Then get the file content of the template xlsx, create a new file and populate the new file with the input. 
     
  • kwinkelm Profile Picture
    18 on at

    Thank you for the help! I figured it was a limitation...

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 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard