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 / Outlook CSV attachment...
Power Automate
Answered

Outlook CSV attachment get corrupted when sent to Sharepoint folder

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hihi, I'm kinda stuck and super confused. And would be grateful to anyone who can help me out. I have been using this template for all of my other reports, I simply copy the template and make minor adjustments (report number and file name only). However, recently. This report and another report tends to get corrupted. 

 

Part 1.pngPart 2.png

Categories:
  • Jay-Encodian Profile Picture
    2,922 on at

    Hi @Anonymous 

    For the Flows that generate a corrupt document... have you checked the run history to see if the 'Apply to each' is running multiple times?

    If the user sending the email has an image embedded in the email signature then this would be handled as an attachment, and as the CSV filename is hardcoded the 'Apply to each' loop could be writing in the signature image as a CSV thus corrupting your file.

    This seems the most likely cause to me...

    If that's the case I can help with a conditional check to avoid this scenario

    HTH

    Jay

    -------------------------------------------------------------------------

    If I have answered your question, please mark your post as Solved.

    If you like my response, please give it a Thumbs Up

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Jay-Encodian, I tried manually moving the file into Sharepoint, and it seems that the issue was because of Sharepoint and not Microsoft Flow. Thank you for your reply.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard