logo
search
Email Migration

Fix Zoho Mail to Microsoft 365 IMAP Migration Authentication Failures

Amos GikundaAmos Gikunda Oct 26, 2026 868 views

Question details

The user needs to successfully migrate mailboxes from Zoho Mail to Microsoft 365, but the IMAP migration is failing due to authentication errors.

Fix Zoho Mail to Microsoft 365 IMAP Migration Authentication Failures
Product
Microsoft 365
Device & OS
not provided
Scenario
Migrating large user mailboxes from Zoho to Exchange Online using the IMAP migration tool in the Exchange Admin Center.
Observed behavior
The migration fails and returns an error stating that the IMAP server sent a BAD response to AUTHENTICATE with a ClientBug response code.
Before you start

Ensure you have administrator access to both the Zoho Mail Admin Console and the Microsoft 365 Exchange Admin Center, and verify that the target mailboxes are fully provisioned in Microsoft 365.

Solution 1Recommended

Enable Zoho IMAP Access and Generate an App-Specific Password

Resolve the authentication error by enabling IMAP on the source Zoho account and utilizing an App-Specific Password instead of the regular account password.

Zoho Mail enforces strict security policies that often block standard password authentication from automated tools like the Exchange Admin Center. To bypass the 'ClientBug' error, you must explicitly enable IMAP access in the Zoho mailbox and generate an App-Specific Password for the Microsoft 365 endpoint.

1
Enable IMAP in Zoho Mail

Log into the Zoho Mail interface as the user, navigate to Settings (gear icon), select 'Mail Accounts', click on the primary email address, and ensure the 'IMAP Access' checkbox is enabled.

2
Generate an App-Specific Password

Go to your Zoho Accounts security dashboard (accounts.zoho.com), select 'Security', click 'App Passwords', and click 'Generate New Password'. Label it 'Microsoft 365 Migration' and copy the generated password.

3
Recreate the Migration Endpoint

Log into the Microsoft 365 Exchange Admin Center, go to 'Migration' > 'Endpoints', and delete the failing endpoint. Create a new IMAP endpoint using 'imap.zoho.com', port 993, and SSL encryption.

4
Update the Migration Batch

Edit or recreate your migration batch CSV file. In the password column for the Zoho account, paste the newly generated Zoho App-Specific Password instead of the user's standard login password, then start the batch.

Enable Zoho IMAP Access and Generate an App-Specific Password
Test with a single mailbox: Before launching a full migration batch for all users, test the new endpoint and app password on a single, smaller mailbox to confirm that the AUTHENTICATE BAD error is resolved.
Free Microsoft Office alternative

Looking for a Lightweight Alternative to Microsoft 365?

While managing complex email migrations in Microsoft 365, you might be looking for a cost-effective way to handle your daily documents. WPS Office is a highly compatible, free alternative to Microsoft Office that processes Word, Excel, and PowerPoint files natively without heavy subscription costs.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the on-screen prompts to install the suite on your computer.
  3. 3. Open Your Documents: Launch WPS Office and instantly open your existing Microsoft Office files with perfect formatting retained.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Lightweight application that runs smoothly on both older and modern hardwareBuilt-in PDF editor and comprehensive document management toolsFree to use with a familiar, easy-to-navigate interface for seamless migration
microsoft office alternative - wps office

Frequently Asked Questions

Why does Exchange Admin Center show a ClientBug error for Zoho?

This error typically occurs when Microsoft 365 attempts to authenticate with Zoho using a standard password instead of an App-Specific Password, or when IMAP access has not been manually enabled in the Zoho user's account settings.

What is the correct IMAP server and port for migrating Zoho Mail?

You should use `imap.zoho.com` (or your regional equivalent like `imap.zoho.eu`), port 993, and ensure SSL encryption is enabled in your Microsoft 365 migration endpoint configuration.

Can I migrate Zoho emails without using the Exchange Admin Center?

Yes. For a small number of mailboxes, you can sync the Zoho account to a local client like Outlook, export the data to a PST file, and then import that PST directly into the Microsoft 365 mailbox.

How do I generate an app-specific password in Zoho?

Log into your Zoho Accounts page at accounts.zoho.com, navigate to the 'Security' tab, select 'App Passwords', and generate a new password specifically for your Microsoft 365 IMAP migration.