Avatar of Jon Lamb
Jon Lamb
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

Exchange 2010 to 2013 Public Folder Migration - MaxEnvelopeSize error on migration request

I’m attempting to move my Exchange 2010 Public Folders over to our new Exchange 2013 server.

I’m following these guides … https://supertekboy.com/2014/10/13/2013-public-folder-migration-made-easy/ and also https://practical365.com/exchange-server/exchange-server-2010-2013-migration-moving-public-folders/

I’m running into this error on the Exchange 2013 management shell when I start the migration request …

[PS] C:\pfmigration>New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server server) -CSVData
(Get-Content C:\PFMigration\FolderToMailbox.csv -Encoding Byte) -AcceptLargeDataLoss -BadItemLimit 100

Starting a command on the remote server failed with the following error message : The WinRM client sent a request to
the remote WS-Management service and was notified that the request size exceeded the configured MaxEnvelopeSize quota.
For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OperationStopped: (server1.mydomain.local:String) [], PSRemotingTransportExcepti
   on
    + FullyQualifiedErrorId : JobFailure
    + PSComputerName        : server1.mydomain.local

I’ve googled it and I’ve increased the MaxEnvelopeSize in the Win-RM on both servers and also in the below paths

C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell\web.config on source server
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\PowerShell\web.config on destination server

And restarted the servers afterwards

I’ve played about with the MaxEnvelopeSize and initially increased it to 8192 everywhere and then went up as high as 32768. Does it need to be even higher?

Can anyone tell me where I’m going wrong?
Exchange* WinRMEmail ServersSBS

Avatar of undefined
Last Comment
Ajit Singh

8/22/2022 - Mon