The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
I ran into this same issue and got tired of manually re-applying the web.config fix after every cumulative update, so I automated it.
The problem is that Exchange CUs overwrite the web.config file and remove the GetListDefaultResultSize key every time. I created a PowerShell script with a scheduled task that:
Checks the ECP web.config for the GetListDefaultResultSize key
Adds it automatically if missing or updates the value if too low
Creates timestamped backups before making changes
Restarts the MSExchangeECPAppPool to apply the fix
Runs daily so you never have to manually fix this post-CU again
GitHub repository: https://github.com/digitron64/ECPFix
Works on Exchange Server 2013, 2016, 2019, and Subscription Edition (SE). Must be deployed to all Exchange servers with the Mailbox role since ECP requests can hit any server in the environment.
The repo includes the PowerShell script and pre-configured scheduled task XML. Tested and working across our three-server environment.
Hope this helps!