web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : a2tR8tdCY/03bqozsK9AYV
Power Automate - Building Flows
Answered

Uploaded Attachements are corrupt in SharePoint and OneDrive

Like (0) ShareShare
ReportReport
Posted on 20 Sep 2019 15:41:31 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

I have the same question (0)
  • andyolb28 Profile Picture
    196 on 23 Sep 2019 at 19:22:45
    Re: Uploaded Attachements are corrupt in SharePoint and OneDrive

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

  • Verified answer
    v-litu-msft Profile Picture
    on 23 Sep 2019 at 08:00:45
    Re: Uploaded Attachements are corrupt in SharePoint and OneDrive

    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.

  • yashag2255 Profile Picture
    24,690 Super User 2024 Season 1 on 22 Sep 2019 at 14:40:44
    Re: Uploaded Attachements are corrupt in SharePoint and OneDrive

    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!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete