Attachment file size issue in Send an email (V2) activity in Azure logic app.

Thinh Nguyen 0 Reputation points
2025-04-29T17:17:13.07+00:00

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:

  1. Is there any official documentation or confirmation regarding file attachment size limits for the Send an Email (V2) action?
  2. 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.

User's image

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,470 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.