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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / File Type Error when u...
Power Automate
Answered

File Type Error when uploading Excel email attachment to Sharepoint

(0) ShareShare
ReportReport
Posted on by 69

When attempting to automate the upload of an excel email attachment when I attempt to change the name of the attachment I receive the "This workbook couldn't be opened because the file format may not be matching with the file extension." error.

 

If I use the attachment name control this error does not occur. Any ideas how to save an excel attachment to a sharepoint folder with a different name? I've looked extensively at the existing questions surrounding this issue out there but none address changing the name of the attachment.

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Please upload a screenshot of your flow

     

  • ekru222 Profile Picture
    69 on at

    This is where the error is. Whenever I attempt to hard code a File Name, for example 'Test.xlsx', the file will not open. However if I use the attachment's name, as seen in the screenshot, it works fine.

     

    ekru222_0-1716303946339.png

     

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @ekru222 I think you have the actions in a loop. It is attempting to convert all attachment to excel and hence failing.

    Please note any embedded images in the email (such as signatures) are also treated as attachments.

     

  • ekru222 Profile Picture
    69 on at

    Yes I'm pretty sure that was it. I found a work around and haven't retested it, but I do have a signature and that was probably messing with it in the way you describe.

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard