Attachment file size issue in Send an email (V2) activity in Azure logic app.
I have searched and come across multiple questions like this, but I haven’t found a clear answer.
Currently, I'm creating a Logic App that queries logs, creates a CSV table, and then sends an email with the data as a CSV file attachment (around 5MB). The first run succeeds, but after some time, it returns a 500 Internal Server Error. When I remove and re-add the Send an Email (V2) action, it starts working again.
In other threads, the common response is that there's a 1MB limitation on attachment file size. However, based on the official documentation for Outlook Office 365 - Send an Email (V2), the 1MB limit seems to apply only to images in the email body—not to file attachments. I haven’t found any documented limitations that specifically apply to file attachments.
My questions are:
- Is there any official documentation or confirmation regarding file attachment size limits for the Send an Email (V2) action?
- If the 1MB limit mentioned in other answers applies to attachments, how was my workflow able to run successfully with a ~5MB file? The actual behavior contradicts the answers I've seen, which makes the issue inconsistent and hard to troubleshoot.