Skip to main content

Notifications

Power Automate - General Discussion
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?
 
 
  • Verified answer
    v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: Upload/create mail attachment to SharePoint document library

    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

  • SDainius Profile Picture
    SDainius 12 on at
    Re: Upload/create mail attachment to SharePoint document library

    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

  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: Upload/create mail attachment to SharePoint document library

    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard