Try the command
complete-migrationbatch PublicFolderMigration -SyncAndComplete
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dear
We want to migrate non mail-enabled public folders to Exchange Online now all our mailboxes are successfully migrated. I followed the Microsoft guide and used the provided scripts in order to migrate these public folders. But when i started the migrationbatch it 'hangs' at 10 percent at stage CreatingFolderHierarchy. After checking the logs i see it throws the following error:
7/14/2020 6:10:35 PM [VI1P193MB0734] Stage: CreatingFolderHierarchy. Percent complete: 10.
7/14/2020 6:10:35 PM [VI1P193MB0734] Transient error MapiExceptionNetworkError has occurred. The system will retry (13/60, 75/600).
7/14/2020 6:11:08 PM [VI1P193MB0734] The Microsoft Exchange Mailbox Replication service 'VI1P193MB0734.EURP193.PROD.OUTLOOK.COM' (15.20.3174.25 ServerCaps:07FFFFFF, ProxyCaps:07FFFFFFFFC7FD6DFDBF5FFFFFCB07EFFF, MailboxCaps:, legacyCaps:07FFFFFF) is examining the request.
7/14/2020 6:11:08 PM [VI1P193MB0734] Connected to target mailbox '1aa9c12b-8ea7-45b4-9af6-722a060312ca', database 'EURP193DG046-db135', Mailbox server 'VI1P193MB0734.EURP193.PROD.OUTLOOK.COM' Version 15.20 (Build 3174.0).
7/14/2020 6:11:09 PM [VI1P193MB0734] Connected to source mailbox 'Outlook Anywhere Public Folders (/o=DOMAIN/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ONPREMISES_EXCHANGE_2010)', database '', Mailbox server 'ONPREMISES_EXCHANGE_2010' Version 14.3 (Build 470.0).
7/14/2020 6:11:09 PM [VI1P193MB0734] Request processing continued, stage CreatingFolderHierarchy.
7/14/2020 6:11:09 PM [VI1P193MB0734] Stage: CreatingFolderHierarchy. Percent complete: 10.
So it keeps retrying but never continues because of the MapiExceptionNetworkError error. I already performed the Outlook Anywhere connectivity test and this succeeded without a problem. Also my service account that i'm using on the migration endpoint and sourceMailboxLegacyDN is member of the 'public folder administrators' group. The mailbox of this account is not migrated to Office 365. Hybrid Azure AD sync is also not enabled. As i said before, our mailbox migrations did not give us any problems.
I already extensively searched the web for a solution but cannot find someone who ran into the same problem. Hopefully someone can help me.
Thanks in advance.
Try the command
complete-migrationbatch PublicFolderMigration -SyncAndComplete
Yes i did. I removed the batch and the migration endpoint and recreated them but still the same result.
I let the batch run through the night and its failed now so it stopped retrying. The last error is TargetDatabaseExcludedFromProvisioningPermanentException.
7/14/2020 7:59:18 PM [VI1P193MB0734] Stage: CreatingFolderHierarchy. Percent complete: 10.
7/14/2020 7:59:18 PM [VI1P193MB0734] Transient error MapiExceptionNetworkError has occurred. The system will retry (34/60, 140/600).
7/14/2020 8:00:32 PM [VI1P193MB0734] The Microsoft Exchange Mailbox Replication service 'VI1P193MB0734.EURP193.PROD.OUTLOOK.COM' (15.20.3174.25 ServerCaps:07FFFFFF, ProxyCaps:07FFFFFFFFC7FD6DFDBF5FFFFFCB07EFFF, MailboxCaps:, legacyCaps:07FFFFFF) is examining the request.
7/14/2020 8:00:32 PM [VI1P193MB0734] Connected to target mailbox '1aa9c12b-8ea7-45b4-9af6-722a060312ca', database 'EURP193DG046-db135', Mailbox server 'VI1P193MB0734.EURP193.PROD.OUTLOOK.COM' Version 15.20 (Build 3174.0).
7/14/2020 8:00:33 PM [VI1P193MB0734] Connected to source mailbox 'Outlook Anywhere Public Folders (/o=DOMAIN/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ONPREMISES_EXCHANGE_2010)', database '', Mailbox server 'ONPREMISES_EXCHANGE_2010' Version 14.3 (Build 470.0).
7/14/2020 8:00:33 PM [VI1P193MB0734] Request processing continued, stage CreatingFolderHierarchy.
7/14/2020 8:00:33 PM [VI1P193MB0734] Stage: CreatingFolderHierarchy. Percent complete: 10.
7/14/2020 8:00:33 PM [VI1P193MB0734] Stage: CreatingFolderHierarchy. Percent complete: 10.
7/14/2020 8:00:33 PM [VI1P193MB0734] Fatal error TargetDatabaseExcludedFromProvisioningPermanentException has occurred.
Agree with Andy, we could try deleting the migration batch, then recreating it as a workaround.
In addition, it takes hours to create folder hierarchy like this thread mentioned: Mailbox migration to Office 365, CreatingFolderHierarchy taking forever
Have you tried stopping the batch migration and restarting it? or recreating it? Sometimes it just needs a kick...