Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1047343%22%20slang%3D%22en-US%22%3EUpcoming%20change%20in%20the%20way%20migration%20batches%20for%20public%20folders%20are%20created%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1047343%22%20slang%3D%22en-US%22%3E%3CP%3EA%20new%20mandatory%20parameter%2C%20%3CEM%3ESourcePfPrimaryMailboxGuid%3C%2FEM%3E%2C%20is%20being%20added%20to%20the%20New-MigrationBatch%20command%20for%20public%20folder%20migrations%20from%20Exchange%202013%20(or%20later)%20on-premises%20to%20Exchange%20Online.%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-355761484%22%20id%3D%22toc-hId-355761484%22%3E%3CFONT%20size%3D%225%22%3EWhy%20are%20we%20making%20this%20change%3F%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EBefore%20this%20change%2C%20we%20relied%20on%20the%20on-premises%20server%20to%20find%20the%20primary%20public%20folder%20mailbox%20and%20route%20the%20Mailbox%20Replication%20Service%20(MRS)%20to%20the%20correct%20server.%20However%2C%20there%20were%20limitations%20with%20this%20method%20as%20the%20on-premises%20server%20relied%20on%20organization%20mailbox%20to%20proxy%20the%20call.%20In%20some%20cases%2C%20if%20the%20on-premises%20server%20routed%20the%20call%20to%20the%20wrong%20server%2C%20the%20migration%20batch%20could%20fail%20with%20%3CSTRONG%3EMailboxDatabaseNotOnServerTransientException%3C%2FSTRONG%3E%20error.%3C%2FP%3E%0A%3CP%3EWith%20the%20introduction%20of%20this%20new%20parameter%2C%20we%20are%20eliminating%20the%20uncertainty%20involved%20in%20proxying%20of%20the%20MRS%20call.%20The%20change%20will%20ensure%20MRS%20will%20reach%20to%20the%20correct%20on-premises%20server%20hosting%20the%20primary%20public%20folder%20mailbox%20in%20all%20scenarios.%3C%2FP%3E%0A%3CP%3EThe%20change%20is%20specific%20to%20migration%20of%20public%20folder%20deployments%20on%20Exchange%20Server%202013%20and%20above%20(public%20folder%20migrations%20from%20Exchange%20Server%202010%20will%20continue%20to%20be%20same).%20Also%2C%20the%20change%20does%20not%20affect%20any%20on-going%20migration%20batches%2C%20only%20newly%20created%20migration%20batches%20will%20need%20to%20use%20this%20parameter.%3C%2FP%3E%0A%3CP%3EHere%E2%80%99s%20an%20example%20of%20a%20new%20way%20of%20creating%20migration%20batch%3A%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1046322958%22%20id%3D%22toc-hId-1046322958%22%3E%3CFONT%20size%3D%225%22%3EStep%201%3A%20Find%20out%20the%20GUID%20of%20primary%20hierarchy%20mailbox%20on-premises%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EOn%20your%20on-premises%20Exchange%20server%2C%20open%20Exchange%20Management%20Shell%20and%20run%20the%20following%20command%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E(Get-OrganizationConfig).RootPublicFolderMailbox.HierarchyMailboxGuid.GUID%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EExample%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%5BPS%5D%20C%3A%5C%26gt%3B(Get-OrganizationConfig).RootPublicFolderMailbox.HierarchyMailboxGuid.GUID%0A91edc6dd-478a-497c-8731-b0b793f5a986%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--761131505%22%20id%3D%22toc-hId--761131505%22%3EStep%202%3A%20Create%20the%20migration%20batch%3C%2FH2%3E%0A%3CP%3EOpen%20the%20EXO%20Management%20Shell%20and%20use%20the%20GUID%20from%20Step%201%20to%20create%20the%20migration%20batch%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3ENew-MigrationBatch%20-Name%20PublicFolderMigration%20-CSVData%20%24bytes%20-SourceEndpoint%20%24PfEndpoint.Identity%20-SourcePfPrimaryMailboxGuid%2091edc6dd-478a-497c-8731-b0b793f5a986%20-AutoStart%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20check%20the%20following%20documentation%20to%20find%20more%20details%20about%20the%20change%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fcollaboration%2Fpublic-folders%2Fmigrate-to-exchange-online%3Fview%3Dexchserver-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EUse%20batch%20migration%20to%20migrate%20Exchange%20Server%20public%20folders%20to%20Exchange%20Online%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fmove-and-migration%2Fnew-migrationbatch%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ENew-MigrationBatch%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThe%20change%20is%20already%20being%20rolled%20out.%20If%20you%20receive%20following%20error%20when%20creating%20the%20migration%20batch%2C%20your%20tenant%20has%20already%20received%20the%20change%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%22Source%20public%20folder%20PrimaryMailboxGuid%20is%20required%20for%20public%20folder%20migration.%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUpdate%201%2F9%2F2020%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20become%20aware%20of%20the%20issue%20that%20might%20cause%20some%20of%20our%20customers%20to%20get%20the%20following%20error%20when%20trying%20to%20execute%20the%20CMDlets%20once%20the%20change%20has%20been%20rolled%20out%20to%20their%20tenant%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EThe%20parameter%20'SourcePfPrimaryMailboxGuid'%20cannot%20be%20found%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20this%20problem%2C%20for%20immediate%20help%2C%20you%20can%20reach%20out%20to%20our%20support%20team%2C%20who%20will%20be%20able%20to%20help%20you%20resolve%20this.%20Alternatively%2C%20waiting%20for%20the%20changes%20to%20fully%20propagate%20is%20also%20possible%20(but%20this%20might%20take%20several%20days%20to%20happen%20on%20it's%20own).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22author%22%3EPublic%20Folder%20team%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1047343%22%20slang%3D%22en-US%22%3E%3CP%3EA%20new%20mandatory%20parameter%2C%20%3CEM%3ESourcePfPrimaryMailboxGuid%3C%2FEM%3E%2C%20is%20being%20added%20to%20the%20New-MigrationBatch%20command%20for%20public%20folder%20migrations%20from%20Exchange%202013%20(or%20later)%20on-premises%20to%20Exchange%20Online.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1047343%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAnnouncements%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%202013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%202016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%202019%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOn%20Premises%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E

A new mandatory parameter, SourcePfPrimaryMailboxGuid, is being added to the New-MigrationBatch command for public folder migrations from Exchange 2013 (or later) on-premises to Exchange Online.

Why are we making this change?

Before this change, we relied on the on-premises server to find the primary public folder mailbox and route the Mailbox Replication Service (MRS) to the correct server. However, there were limitations with this method as the on-premises server relied on organization mailbox to proxy the call. In some cases, if the on-premises server routed the call to the wrong server, the migration batch could fail with MailboxDatabaseNotOnServerTransientException error.

With the introduction of this new parameter, we are eliminating the uncertainty involved in proxying of the MRS call. The change will ensure MRS will reach to the correct on-premises server hosting the primary public folder mailbox in all scenarios.

The change is specific to migration of public folder deployments on Exchange Server 2013 and above (public folder migrations from Exchange Server 2010 will continue to be same). Also, the change does not affect any on-going migration batches, only newly created migration batches will need to use this parameter.

Here’s an example of a new way of creating migration batch:

Step 1: Find out the GUID of primary hierarchy mailbox on-premises

On your on-premises Exchange server, open Exchange Management Shell and run the following command:

 

(Get-OrganizationConfig).RootPublicFolderMailbox.HierarchyMailboxGuid.GUID

 

Example:

 

[PS] C:\>(Get-OrganizationConfig).RootPublicFolderMailbox.HierarchyMailboxGuid.GUID
91edc6dd-478a-497c-8731-b0b793f5a986

 

Step 2: Create the migration batch

Open the EXO Management Shell and use the GUID from Step 1 to create the migration batch:

 

New-MigrationBatch -Name PublicFolderMigration -CSVData $bytes -SourceEndpoint $PfEndpoint.Identity -SourcePfPrimaryMailboxGuid 91edc6dd-478a-497c-8731-b0b793f5a986 -AutoStart

 

Please check the following documentation to find more details about the change:

The change is already being rolled out. If you receive following error when creating the migration batch, your tenant has already received the change:

 

"Source public folder PrimaryMailboxGuid is required for public folder migration."

 

Update 1/9/2020:

 

We have become aware of the issue that might cause some of our customers to get the following error when trying to execute the CMDlets once the change has been rolled out to their tenant:

 

The parameter 'SourcePfPrimaryMailboxGuid' cannot be found

 

If you have this problem, for immediate help, you can reach out to our support team, who will be able to help you resolve this. Alternatively, waiting for the changes to fully propagate is also possible (but this might take several days to happen on it's own).

 

Public Folder team