Maximum Message Size in Outlook Web Access

In the last post i showed the way to increase the message size for the outlook users from different exchange scopes and how to modify the registry on the client to break the outlook limitation.

Today I’m going to increase the message size limit for the OWA users.

The modification has to be done on the CAS servers using Web.config file and the Exchange Management Shell.

To reach this goal you have to modify the maxRequestLength value by following the below steps:

  • Find the Web.config files on the Client Access server on OWA and EWS directories. The default locations are <drive>\Program Files\Microsoft\ExchangeServer\ClientAccess\Owa  and  <drive>\Program Files\Microsoft\ExchangeServer\ClientAccess\exchweb\ews

  • Make a backup copy of the file.

  • Use Notepad or another text editor to open the original file. Do not use Internet Information Services (IIS) to edit the Web.config file.

  • Find the maxRequestLength value, and change it to the value that you want. The value is in kilobytes (KB), and the default value is 30000.

    <httpRuntime maxRequestLength="70000" />


  • Save and close the files

  • open the command prompt and run the following:
         cd \Windows\System32\inetsrv
    appcmd set config "Default Web Site/ews" -section:requestFiltering -requestLimits.maxAllowedContentLength:value
    appcmd set config "Default Web Site/owa" -section:requestFiltering -requestLimits.maxAllowedContentLength:value




  • do iisreset




  • Advertisements

    Leave a Reply

    Fill in your details below or click an icon to log in: Logo

    You are commenting using your account. Log Out /  Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out /  Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out /  Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out /  Change )


    Connecting to %s

    %d bloggers like this: