cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate IV
Advocate IV

Uploaded Attachements are corrupt in SharePoint and OneDrive

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

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.

View solution in original post

3 REPLIES 3
Highlighted
Dual Super User III
Dual Super User III

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!

Highlighted
Community Support
Community Support

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.

View solution in original post

Highlighted
Advocate IV
Advocate IV

Re: Uploaded Attachements are corrupt in SharePoint and OneDrive

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

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,139)