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 / converting xls to xlsx...
Power Automate
Answered

converting xls to xlsx has stopped working and is now changing existing xlsx files to xlsxx

(1) ShareShare
ReportReport
Posted on by 8

Hi Community,

 

For some time I have been regularly using power automate desktop to convert multiple xls files to xlsx in a specific folder. Suddenly now Power Automate is converting the existing .xlsx files to .xlsxx, despite me using *.xls in the Get files in folder Action.

 

I am scratching my head on this one:

 

dangerous_dan_0-1681904683411.png

output variables from running above Action:

dangerous_dan_1-1681904828513.png

 

any suggestions?

 

Thanks

Dan

 

 

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @dangerous_dan 

     

    Just noticed this issue, the file filter *.xls filter is pulling both xlsx and xls file , in actual it shouldn't do that.

     

    I am not sure whether this is a bug which need to resolved out, as the file filter *.xls should pick up the xls files only not xlsx files.

     

    So currently i would suggest to use condition in loop while renaming to check whether the file extension is xls or xlsx , if xls allow renaming, else not 🙂

     

    Give a try that way.

     

     

  • dangerous_dan Profile Picture
    8 on at

    Hmm I tried but it don't work 😞

     

    dangerous_dan_0-1681917459429.png

     

    @Nived_Nambiar Are you able to replicate this problem above to see if it happens to you?

     

    and If you are able to recreate this problem, how do we report it as a bug?

     

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @dangerous_dan 

     

    The flow you have developed is wrong, you have to design flow like this 

     

    Nived_Nambiar_0-1681920249274.png

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    You can't just add x to the end.  It doesn't work.  The extension is defined by the extension dropdown.  The filepath and filename are defined in the path field.  So, you have to input Path as the following:

     

    %CurrentItem.Directory%\%CurrentItem.NameWithoutExtension%

     

    The whole Close Excel part looks like this:

     

    MichaelAnnis_0-1681955643233.png

     

    Best of luck!

  • dangerous_dan Profile Picture
    8 on at

    Thanks @Nived_Nambiar  this did the trick:

     

    dangerous_dan_0-1681984401824.png

    Why on earth the get files in folder has stopped work - I have no idea.

     

    Hi @MichaelAnnis 

     

    You would think this would make sense with saving Document format as xlsx ............. BUT if you don't add the %CurrentItem%x variable then it still saves it as .xls (I originally tried what you suggested ages ago)

     

    Thanks

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @dangerous_dan 

     

    Even i am facing same issue with extension, I think this issue was in earlier versions as well 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard