Office 365 IMAP migration between tenants

%3CLINGO-SUB%20id%3D%22lingo-sub-2596894%22%20slang%3D%22fr-FR%22%3EOffice%20365%20IMAP%20migration%20between%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2596894%22%20slang%3D%22fr-FR%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Ei've%20an%20issue%20performing%20bulk%20IMAP%20migration%20of%20Office%20365%20mailboxes%20from%20one%20teannt%20to%20another.%3C%2FP%3E%3CP%3EI%20need%20to%20move%20mailboxes%20using%20migration%20admin%20account%2C%20for%20that%20i%20provided%20FullAccess%20rights%20to%20the%20admin%20account%20on%20all%20mailboxes%20to%20migrate%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3EGet-Mailbox%20-ResultSize%20unlimited%20-Filter%20%7B(RecipientTypeDetails%20-eq%20'UserMailbox')%7D%20%7C%20Add-MailboxPermission%20-User%20AdministratorAccount%40mydomain.com%20-AccessRights%20fullaccess%20-InheritanceType%20all%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3ENo%20problem%20with%20connecting%20to%20exchange%20online%2C%20creating%20endpoint%2C%20batch%3C%2FP%3E%3CP%3Ethe%20csv%20file%20foramt%20is%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3Etargetmailbox_email.admin_email%5Csource_email_ID.admin_password%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ethe%20csv%20format%20file%20is%20correct%20%3F%20i%20can't%20find%20any%20information%20regarding%20this%20on%20MS%20KB%3C%2FP%3E%3CP%3EBatch%20failed%20with%20this%20error%20%3A%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3EError%3A%20TooManyTransientFailureRetriesPermanentException%2FImapTemporaryServerErrorException%2FImapBadResponseException%3A%20Error%3A%20The%20job%20encountered%20too%20many%20transient%20failures%20(61)%20and%20is%20quitting.%20The%20most%20common%20failure%20is%20ImapTemporaryServerErrorException%2FImapBadResponseException%20with%20the%20hit%20count%2060.%20--%26gt%3B%20Imap%20server%20has%20encountered%20a%20temporary%20error.%20--%26gt%3B%20Imap%20server%20sent%20BAD%20response%20to%20ListCommand.%20Response%20code%3A%20''%2C%20message%3A%20'User%20is%20authenticated%20but%20not%20connected.%20'.%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAny%20ideas%20Please%3F%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2596894%22%20slang%3D%22fr-FR%22%3E%3CLINGO-LABEL%3EMigration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hello,

i've an issue performing bulk IMAP migration of Office 365 mailboxes from one teannt to another.

I need to move mailboxes using migration admin account, for that i provided FullAccess rights to the admin account on all mailboxes to migrate:

Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Add-MailboxPermission -User AdministratorAccount@mydomain.com -AccessRights fullaccess -InheritanceType all

No problem with connecting to exchange online, creating endpoint, batch

the csv file foramt is:

targetmailbox_email,admin_email\source_email_ID,admin_password

the csv format file is correct ? i can't find any information regarding this on MS KB

Batch failed with this error :

Error: TooManyTransientFailureRetriesPermanentException/ImapTemporaryServerErrorException/ImapBadResponseException: Error: The job encountered too many transient failures ‎(61)‎ and is quitting. The most common failure is ImapTemporaryServerErrorException/ImapBadResponseException with the hit count 60. --> Imap server has encountered a temporary error. --> Imap server sent BAD response to ListCommand. Response code: ‎'‎', message: ‎'User is authenticated but not connected.‎'.


Any ideas Please ?

Thank you.

2 Replies
@M_MAdmin... What happens when you migrate 1 mailbox instead of bulk at first instance? Test and you may see a more detailed error than while performing a Bulk operation.

@SanatKM 

I got the same error message when migrating a single mailbox with his password (inseated of using admin account)

 

I found the problem, my destination tenant has expired, I initially used https://cdx.transform.microsoft.com/ to create it and the 90 days expired now.

 

Thank you for your help