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!
Does anybody have a solution for that problem?
Thank you. Great solution! @v-litu-msft
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:
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.
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.
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!
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2