question

gvo-0874 avatar image
0 Votes"
gvo-0874 asked ·

Exchange 2010 to Exchange Online public folder migration fails

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.

office-exchange-hybrid-itpro
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid1608 avatar image
0 Votes"
AndyDavid1608 answered ·

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

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered ·

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


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

gvo-0874 avatar image
0 Votes"
gvo-0874 answered ·

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][1]


[1]: /answers/storage/attachments/12237-image.png

image.png (6.0 KiB)
· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi gvo-0874, I am wondering at this point if there is something going on the Exchange Online side. I would consider opening a support ticket with Microsoft 365 and they can look at the batch statistics and check for any issues on the 365 side. That error indicates its on the ExO side: TargetDatabaseExcludedFromProvisioningPermanentException

It appears that others are seeing this as well in the last month or so: https://answers.microsoft.com/en-us/msoffice/forum/all/legacy-public-folder-batch-migration-to-exchange/8bfed291-e881-4d64-a8d7-597ce5a541cf

0 Votes 0 ·
BLAKEDRENNEN-2672 avatar image
0 Votes"
BLAKEDRENNEN-2672 answered ·

Try the command

complete-migrationbatch PublicFolderMigration -SyncAndComplete

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.