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 / Save .xls email attach...
Power Automate
Answered

Save .xls email attachment as .xlsx to File System

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

saveEmailAtt.PNGHi everyone,

 

My use case is -- I get an email twice a day that has an attached file (in .xls format) that I need to download and save to file system in a .xlsx format. I built a flow that downloads the attachment and it runs correctly when I simply save the attachment as an xls. 

 

However, when I try to save the attachment as .xlsx by hardcoding the extension towards the end of file name ( like FileName = file1.xlsx) then it saves the file but the file itself gets corrupted, cannot open it. Is there any other way, any action I can use within flow to change the file format? 

 

Thanks!

 

Categories:
I have the same question (0)
  • Verified answer
    rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    There is no action readily available to convert the files from .xls to .xlsx.

     

    You can use Power Automate template https://us.flow.microsoft.com/en-us/galleries/public/templates/8925727cb4f044e9b577f5ae111f2947/conv...

     

    There is request for having an action for this conversion:

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Convert-XLS-to-XLSX/idc-p/389466

     

    To use Excel files with Power Automate:

    a. The file should have .xlsx file extension.

    b. The excel file should have a excel table as well to read the content of it.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • RobFischer Profile Picture
    123 on at

    Saying this isn't possible is not a solution to the problem. Microsoft needs to address this!

  • hillpouner Profile Picture
    4 on at

    Has this been resolved since your last post above?  

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