web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Save .xls email attach...
Power Automate
Unanswered

Save .xls email attachment as .xlsx to File System

(1) ShareShare
ReportReport
Posted on by

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
    119 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard