troubleshooting Question

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

Avatar of Jon Lamb
Jon LambFlag for United Kingdom of Great Britain and Northern Ireland asked on
Exchange* WinRMEmail ServersSBS
7 Comments2 Solutions440 ViewsLast Modified:
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?
ASKER CERTIFIED SOLUTION
E A
Tech Lead

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros