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 / Uploaded Attachements ...
Power Automate
Answered

Uploaded Attachements are corrupt in SharePoint and OneDrive

(0) ShareShare
ReportReport
Posted on by 196

Hi,

 

i try to upload email attachements to SharePoint or OneDrive but all my files are corrupt.

It doesnt matter if i copy to sharepoint or to onedrive, all files have bigger file sizes than in the mail before!Bildschirmfoto 2019-09-20 um 17.39.36.png

 

 

Does anybody have a solution for that problem?

 

Bildschirmfoto 2019-09-20 um 17.37.13.pngBildschirmfoto 2019-09-20 um 17.37.00.pngBildschirmfoto 2019-09-20 um 17.36.21.pngBildschirmfoto 2019-09-20 um 17.36.13.png

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @andyolb28 

     

    A bit difficult understanding the language that the screenshots are in. Please see the screenshot below and replicate and check if you continue to face the same error.ggd.PNG

    Ensure that you are passing the attachments content in the file content attribute of the add attachment action.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

    Hi @andyolb28,

     

    Before you create the file in the SharePoint, you should get the attachment content.

    The Dateiinhalt of "Datei erstellen" action in your Flow should put the content of each attachment, not attachments content.

    I have tested it on my side that When an email if flagged get its attachments, then create files in the SharePoint library.

    You could follow these steps:

    Annotation 2019-09-23 154930.png

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • andyolb28 Profile Picture
    196 on at

    Thank you. Great solution! @v-litu-msft 

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 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard