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

Save my email attachments to a sharepoint document library flow / Documents saved wont open

(0) ShareShare
ReportReport
Posted on by

Hello All. I setup this flow recently https://flow.microsoft.com/en-us/galleries/public/templates/f7a46809e53c42108034e56acf83bb79/save-my-email-attachments-to-a-sharepoint-document-library/

 

So far I have made it work. I send the email to the specified mailbox, email with attachment arrives and I see the flow run successfully. Check the sharepoint folder and the file is there. Same name, type and size looks similar, but when you try to open the file, whether it be a pdf, docx or txt file it says there is no preview and when you download the file each respective program says the file cant be opened. Let me know if I need to upload anything and I will. I have a csv I exported but not sure if there is sensitive in there. But like I said docs are going in, the flow is passing and then the files wont open.

 

Capture123.PNG

Categories:
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @ElizabethB,

     

    Have you tried to populate Attachments Content instead of Current item in Create file-File Content?

    The Current item contains more than just file content, which can cause errors when used here.

    I did the test on my side, and the files created with Attachments Content can be opened.

    Image reference:

    24.PNG25.PNG

    preview:

    26.PNG

    Please take a try again.

     

    Best Regards,

    Barry

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    I'm having the same problem of not being able to open attachments that are uploaded to a SharePoint document library using a Flow. I have set up my flow as you show in your screenshots below, but still having no luck opening attachments once they're uploaded to SharePoint.

     

    Are there other troubleshooting actions you can suggest I take?

     

    Many thanks

    Laura

     

     
  • RashmiSk Profile Picture
    2 on at

    Why does this solution not work for word document. After flow is run, when i try to open the word document from sharpoint, Im getting an error that word document cannot be opened.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard