Exchange 2010 to Exchange Online public folder migration fails

gvo 6 Reputation points
2020-07-14T20:36:40.29+00:00

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.

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,873 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Andy David 701 Reputation points
    2020-07-14T22:05:36.023+00:00

    Have you tried stopping the batch migration and restarting it? or recreating it? Sometimes it just needs a kick...

    0 comments No comments

  2. Joyce Shen - MSFT 16,641 Reputation points
    2020-07-15T06:12:53.74+00:00

    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

    0 comments No comments

  3. gvo 6 Reputation points
    2020-07-15T06:45:55.333+00:00

    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.

    12237-image.png


  4. BLAKE DRENNEN 1 Reputation point
    2020-08-28T15:03:45.757+00:00

    Try the command

    complete-migrationbatch PublicFolderMigration -SyncAndComplete

    0 comments No comments