Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

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

Avatar of tribz
tribzFlag for United Kingdom of Great Britain and Northern Ireland asked on
ExchangeSBSEmail Servers* WinRM
7 Comments1 Solution438 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
Avatar of E A
E AFlag of India imageTech Lead

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

Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers