cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andyolb28
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
v-litu-msft
Community Support
Community Support

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

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!

v-litu-msft
Community Support
Community Support

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.

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,834)