Member-only story
Power Automate: Error Message: ‘Attachment file size limit exceeded
2 min readAug 5, 2022
Attaching large files in Power Automate throwing 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
- Go to the Power Platform Admin Centre: https://admin.powerplatform.microsoft.com/
- Choose the right environment. Note: Make sure you have the System Administrator role in the environment
- Click Settings on the top. Under Email> Email Settings
- Under Attachments Increase the file size as per your need.
Ex: I have increased the attachment size to 55 MB
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.