ActiveSync 10 MB limit despite updating web.config files

Dan Clarke 1 Reputation point
2021-08-17T05:37:35.357+00:00

I recently updated Exchange 2016 from CU19 to CU21 (15.1.2308.14) I can no longer send emails from ActiveSync (i.e. iOS Native Device email) despite re-adding the following to both members of my DAG:

%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:90000000
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync/" -section:system.web/httpRuntime /maxRequestLength:51200
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:90000000
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:system.web/httpRuntime /maxRequestLength:51200
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:appSettings /[key='MaxDocumentDataSize'].value:51200000
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760"
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760"

Any suggestions?

Outlook | Windows | Classic Outlook for Windows | For business
Exchange | Exchange Server | Management
{count} votes

1 answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,396 Reputation points
    2021-08-18T01:57:49.807+00:00

    anonymous usere-8191

    I would suggest you set ActiveSync again follow this article: Configure client-specific message size limits from the command line. After that, run IISReset command on all your Exchange server to restart IIS service.

    Wait half an hour, then try to configure mailbox on Outlook client for mobile rather than native client, check whether configuration works for Outlook Client first.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    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.