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 email attachments...
Power Automate
Answered

Save email attachments to a sharepoint

(0) ShareShare
ReportReport
Posted on by 151

Hi everyone!

I'm having trouble saving .xslx or .xls attachments I get in my sharepoint email.

The file that is saved in sharepoint is corrupted and does not open.

My flow:

Guicord101_0-1678818542931.png


File created:

Guicord101_1-1678818571767.png

My e-mail:

Guicord101_2-1678818637939.png

As you can see, the uploaded file was an excel file but the file created in sharepoint is a corrupted file

Categories:
I have the same question (0)
  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    File name(i.e. TEST) does not have extension(.xlsx).

    File Name - TEST.xlsx

     

    I would suggest use Attachments Name form Dynamic content. It provide file name with extension like test.xlsx, testing.xls, Data.txt etc.

     

    Here is sample flow

    Kaif_Siddique_0-1678823245533.png

     

    If I have answered your question, please mark my post as Solved.

    If you like my response, please give it a Thumbs Up.

     

    Regards

    Kaif

  • Guicord101 Profile Picture
    151 on at
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Guicord101 

     

    Please try:

    vliweimsft_0-1678857669664.png

     

     

    vliweimsft_1-1678857669487.png

     

     

    Best Regards,

    Levi

  • Guicord101 Profile Picture
    151 on at

    It worked!!! Thank you very much.

    Would you know how I could rename the attachment to have the following format:

    [default name] - Today's date (shipped)

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
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard