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 / Upload/create mail att...
Power Automate
Answered

Upload/create mail attachment to SharePoint document library

(0) ShareShare
ReportReport
Posted on by 12
Hello all,
I am newice here but maybe you will can help to resolve problem with flow. I want to upload mail attachment to SharePoint Online document library but when document has uploaded he become is damaged. My Flow is:
 
Capture1.JPG
Capture2.JPG
Capture3.JPG
 
My Test documents is with content
 
Capture4.JPG
After Upload file content is
 
Capture5.JPG
 
Maybe anybody can help resolve this issue?
 
 
Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @SDainius,

     

    Are you trying to save email attachments to SharePoint library?

    Please use action Get attachments instead of action Get email.

    I have made the following test which is working fine, please take a try with it.

    1.PNG 

     

    Best regards,

    Mabel

  • SDainius Profile Picture
    12 on at

    Yesss it works,

     

    Now I can open document from document library but now I want to attach this to List Item. After that I cant open from List Item.

    Capture0.JPG

     

    Capture1.JPG

    Capture2.JPG

    Capture3.JPG 

     

    After add I see attachment in List Item but I can't open it

  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @SDainius,

     

    If you want to save the email attachments in a list, please see the following flow configuration.

    By the way, if you want the flow just to be triggered by emails with attachments, you could set Has attachment and Include attachment to Yes.

    2.PNG

     

    Best regards,

    Mabel

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

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard