To fix the message size of ActiveSync device, locate to %ExchangeInstallFolder%\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Sync, open Web.config file and search "MaxDocumentDataSize", then increase it to higher value, also search "MaxRequestLength" and increase it too.
Quota from Web.config file:
<add key="MaxDocumentDataSize" value="10240000"></add>
.......
<httpRuntime maxRequestLength="10240" />
For Exchange 2016 server, it's fine if you uninstall .Net 4.7.1 and re-install 4.6.2 correctly.
I hope answer the question if issue resolve please accept answer