What is the message size limit (including attachments) in Exchange Online Protection (EOP) standalone, and can it be extended?

Binod Maharjan 46 Reputation points
2025-03-20T05:33:20.69+00:00

Hi,

I have an on-premises Exchange Server environment with Exchange Online Protection (EOP) standalone licenses as my email gateway.

My mail flow is configured through EOP connectors for both inbound and outbound emails.

I need to increase the message size limit from 35MB to 50MB (including attachments).

I have already configured the message size limit to 50MB in my Exchange Server, and it works fine for internal emails. However, when sending emails externally, I receive an error from Exchange Online (Microsoft 365):

Error Message: "AMS0EPF00000199.mail.protection.outlook.com gave this error: Message size exceeds fixed maximum message size [AMS0EPF00000199.eurprd05.prod.outlook.com 2025-03-19T16:19:57.214Z 08DD64C4E8CFEDBF]"

I checked the EOP portal, but I couldn’t find any settings to extend the message size limit. Based on my understanding, only Exchange Online (with mailbox users) allows such modifications, whereas EOP standalone does not provide this option.

I am still searching for a solution and would like to know if the message size limit in EOP standalone can be extended using PowerShell, similar to how it is done in on-premises Exchange.

Could you please confirm if this is possible or suggest any alternative solutions?

Image

Reference link: Microsoft Documentation Exchange Online Protection limits - Service Descriptions | Microsoft Learn

Thanks

Binod Maharjan

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,850 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alex Zhang-MSFT 6,935 Reputation points Microsoft External Staff
    2025-03-20T07:19:58.4433333+00:00

    Hello, @Binod Maharjan

    Welcome to the Microsoft Q&A platform!

    According to Microsoft's official documentation, it does mention that under an EOP standalone license, the email size limit (including attachments) is 150MB. this means that it is theoretically possible to receive and send emails that are larger than 35MB.

    However, the message size limit for EOP standalone licenses is fixed and cannot be modified through configuration. If you have configured the local Exchange Server's message size limit to 50MB and still experience problems receiving messages from external sources that exceed 35MB, it may be due to other configurations or limitations. We recommend that you check the following points:

    1.Use the following command in EMS to query the current mail size limit under the Exchange Online Protection (EOP) standalone license. After this, please adjust the email size limit to a value below 150MB according to your needs. It is worth noting that emails arriving at the receiver may be a bit larger than when they are at the sender, so please try to make this value as large as possible.

    Get-TransportConfig | Select-Object MaxSendSize, MaxReceiveSize
    
    Set-TransportConfig -MaxSendSize " "MB -MaxReceiveSize " "MB
    

    2.Check your EOP connector configurations to make sure they are set up correctly to handle large messages.

    3.Verify that there are no mail flow rules that limit the size of messages.


    If the answer is helpful, please click on “Accept answer” as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions.

    Thank you for your support and understanding.

    Best Wishes,

    Alex Zhang

    0 comments No comments

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.