Power Automate: Error Message: ‘Attachment file size limit exceeded

Ragavan Rajan
2 min readAug 5, 2022

Attaching large files in Power Automate throwing error

Power Automate- Attachment File Size Limit Exceeded Error

When you are running attachment with approval flow, you may encounter the following error

BadRequest. The request failed. Error code: 'CdsApiAttachmentSizeLimitExceeded'. Error Message: 'Attachment file size limit exceeded. Please contact your admin to make sure the limit is properly configured (The default is 5MB).'.

Solution:

You can quickly solve the above error by following the below steps

  1. Go to the Power Platform Admin Centre: https://admin.powerplatform.microsoft.com/
  2. Choose the right environment. Note: Make sure you have the System Administrator role in the environment
  3. Click Settings on the top. Under Email> Email Settings
  4. Under Attachments Increase the file size as per your need.

Ex: I have increased the attachment size to 55 MB

Power Automate — Attachment error file size configuration

Note: The maximum file size currently allowed is 128 MB (131,072 KB)

Offical Source: https://docs.microsoft.com/en-us/power-platform/admin/settings-email

5. Hit save and wait for five minutes

If you can, retry the Power Automate flow. The error should be gone.

--

--

Ragavan Rajan

Microsoft Business Applications MVP|5X PowerPlatform Superuser |Solution Architect|Full Stack Developer|Modern web developer, etc.