Ready to migrate?
Admin Guide

Zimbra to Microsoft 365 Migration Guide

This guide explains how to migrate Zimbra mailboxes, contacts, and calendars to Microsoft 365 or Google Workspace using the Cloudiway SaaS platform.

10 min read Updated: 2025-12-18 Zimbra to Microsoft 365

Overview

The Cloudiway migration platform supports Zimbra server migration to Microsoft 365 or Google Workspace. This is a SaaS platform that connects directly to your Zimbra server - no on-premises agent is required.

Important: Your Zimbra server must be accessible from the internet for the Cloudiway SaaS platform to connect. Firewall rules must allow inbound connections on the required ports.

Looking for our Zimbra Migration Solution?

Discover all features, pricing, and use cases for Zimbra to Microsoft 365 migration.

View Solution Page

Prerequisites

To perform the Zimbra to Microsoft 365 migration, your Zimbra server must be accessible from the Cloudiway SaaS platform. The following ports must be open:

Port Protocol Purpose
143 IMAP Standard IMAP port for email migration
993 IMAP over SSL Secure IMAP port for email migration
7071 HTTPS Zimbra Admin port (default)
443 HTTPS Zimbra web services (for contacts/calendars)
Firewall Rules: Contact Cloudiway support through the portal to get the specific IP addresses to whitelist in your firewall.

What is Migrated

Cloudiway migrates emails using IMAP protocol. Contacts and calendars are migrated using native Zimbra APIs for full fidelity:

Email Messages (via IMAP)
Folder Structure
Contacts (via Zimbra API)
Calendars (via Zimbra API)
Attachments
Recurring Events

Migration Modes

Cloudiway supports two migration modes for Zimbra:

Admin Account Mode

Use an admin account that has all necessary delegations to access all mailboxes. Requires LoginAsAdmin rights.

Self-Service Mode

For hosted Zimbra where admin access is not available. Users provide their own credentials to migrate their mailboxes.

Hosted Zimbra: If you're using hosted Zimbra where the provider cannot give you an admin account with permissions to all mailboxes, use the self-service migration mode.

Step 1: Create Zimbra Connector

Create a Zimbra connector in the Cloudiway platform to connect to your Zimbra server:

1

Create New Connector

Go to Connectors > New and select Zimbra as the connector type. Select Mail as the product to migrate.

2

Configure Connector Settings

Configure your Zimbra server connection with the following parameters:

Zimbra Connector Configuration
Zimbra connector configuration in Cloudiway platform

Administration Settings

Parameter Description
Administration Server Name* The hostname or IP address of your Zimbra administration server
Administration Server Port* The admin port for Zimbra administration API (default: 7071)
Use Administration ServerName for Zimbra Calls Enable if the admin server should be used for all API calls

Server Settings

Parameter Description
Domain Names The email domains hosted on your Zimbra server (e.g., company.com)
Server Name* The IMAP server hostname (usually the same as the admin server)
Server Port* The IMAP port: 993 (SSL) or 143 (standard)
Ignore Mount Point Errors When enabled, mount point errors will be ignored during migration. Keep disabled unless you experience issues with shared folders.

Authentication Settings

Parameter Description
Administrator Account* The Zimbra administrator email address with delegated access to all mailboxes
Administrator Password The password for the administrator account
Authentication Mode Select None for admin-based authentication, or choose another method if required
3

Complete Setup

Click NEXT to review your configuration, then click NEXT again to save your connector.

Admin Account Permissions: The admin account must have LoginAsAdmin rights to access all user mailboxes. Without these permissions, you will get "Failed To Authenticate" errors.
Self-Service Mode: For hosted Zimbra environments where you don't have admin access, leave the Administrator Account and Password fields empty. Users will be prompted to enter their own credentials during migration.

Step 2: Create Target Connector

Create a target connector for your destination platform. You can migrate Zimbra to Microsoft 365, Google Workspace, or Exchange On-Premises.

Option A: Microsoft 365 Target

Microsoft 365 target connector configuration
Microsoft 365 target connector configuration
1

Create New Connector

Go to Connectors > New, select Microsoft 365 as connector type.

2

Configure Authentication

Choose Automatic mode and enter your Microsoft 365 Global Administrator credentials, then click GRANT ADMIN CONSENT.

3

Complete Setup

Review settings and complete the connector creation.

Documentation: For detailed instructions, refer to our Microsoft 365 Connector Configuration guide.

Option B: Google Workspace Target

Google Workspace target connector configuration
Google Workspace target connector configuration
1

Create New Connector

Go to Connectors > New, select Google Workspace as connector type.

2

Configure Service Account

Choose Automatic mode and sign in with your Google Workspace Super Admin account to authorize access.

3

Enable Domain-Wide Delegation

Follow the prompts to enable domain-wide delegation for the Cloudiway service account in your Google Admin Console.

4

Complete Setup

Review settings and complete the connector creation.

Documentation: For detailed instructions, refer to our Google Workspace Connector Configuration guide.

Option C: Exchange On-Premises Target

You can also migrate Zimbra to an on-premises Exchange server using EWS (Exchange Web Services).

1

Create New Connector

Go to Connectors > New, select Exchange On Premises as connector type.

2

Enter EWS URL

Enter your Exchange Web Services endpoint URL: https://your-exchange-server/EWS/Exchange.asmx

3

Select Authentication Mode

Choose your authentication method:

  • Impersonation: Migration account impersonates each user (requires ApplicationImpersonation role)
  • Delegation: Migration account has Full Access rights to each mailbox
  • Self Service: Each user provides their own credentials
4

Complete Setup

Enter the migration account credentials and complete the connector creation.

Documentation: For detailed instructions, refer to our Exchange Configuration guide.

Step 3: Configure Global Settings

Navigate to Mails > Global Settings to configure your migration options:

Mail migration global settings
Mail migration global settings configuration

Migration Scope

Setting Description
Migrate Emails Enable to migrate email messages from Zimbra mailboxes via IMAP
Migrate Calendar Enable to migrate calendar events, appointments, and recurring meetings
Migrate Contacts Enable to migrate contacts from Zimbra address books
Migrate Tasks Enable to migrate tasks (if supported by target)

Advanced Settings

Setting Description
Date Filter Optionally filter items by date range to migrate only recent data
Convert Email Address Rewrites email addresses found in headers and calendar items from old domain to new domain
Tip: Use the Date Filter option to run a pilot migration with only recent emails before migrating the full mailbox history.

Step 4: Run Migration

Now you can populate the user list and run the migration.

Populate User List

Navigate to Mails > User List to add users for migration. There are three ways to populate the user list:

Discovery (Get List)

Automatically discover all users from the Zimbra directory.

Import User List

Upload a CSV file with the list of users to migrate.

Create Manual Entry

Manually add individual users one by one.

Option 1: Discovery (Get List)

Under MIGRATION, click on the Get List option:

Get List menu option
Migration > Get List option

Specify the following parameters:

1

Source Pool

Select the Zimbra source connector you created earlier.

2

Target Pool

Select the Microsoft 365 or Google Workspace target connector.

3

Matching Rule

Choose how source emails should be mapped to target emails:

  • Mail Exact Match: source email = target email
  • Keep Email Prefix Same as Source: only the domain changes
  • FirstName.LastName: (e.g., [email protected])
4

Target Domain

Specify the target domain for the migrated users.

Admin Account Required: The Get List feature for Zimbra requires an admin account with permissions to query the Zimbra directory.

Option 2: Import User List

Click on MANAGE > Import to upload a CSV file containing the users to migrate.

Import users dialog
Import users from CSV file
1

CSV File

Click on BROWSE to select your CSV file. You can click Download sample csv to get a template file.

2

Source Connectors Pool

Select the Zimbra source connector.

3

Target Connectors Pool

Select the target connector (Microsoft 365 or Google Workspace).

CSV Format: For more details on the syntax of the CSV file, read our guide: How to Fill the Users/Groups CSV File

Option 3: Create Manual Entry

Click on MANAGE > Create to manually add individual users. Enter the source Zimbra email address and the target email address for each user.

Run Audit (Recommended)

Before migrating, run an Audit task to assess mailbox sizes and identify potential issues:

1

Select Users

Select the users you want to audit using the checkboxes.

2

Start Audit

Click MIGRATION > Audit to start the audit process.

3

Review Results

Check the audit results to see mailbox sizes, item counts, and any errors.

Execute Migration

Once you have reviewed the audit results, you can start the migration:

1

Select Users or Batches

Select the users you want to migrate. You can migrate all users at once or create batches for phased migration.

2

Start Migration

Click MIGRATION > Start to begin the migration process.

3

Monitor Progress

Monitor the migration progress in the dashboard. You can see the status of each user and any errors that occur.

4

Delta Migration (Optional)

Run a delta migration to sync any new items created since the initial migration. Click MIGRATION > Start again to perform incremental sync.

Delta Migration: Cloudiway tracks which items have been migrated. Running the migration again will only migrate new or modified items since the last run.

Frequently Asked Questions

What ports does Cloudiway use to connect to Zimbra?

Cloudiway uses IMAP ports 143 (standard) or 993 (SSL) for email migration, port 7071 for Zimbra admin API, and port 443 for web services (contacts and calendars).

Can I migrate from hosted Zimbra without admin access?

Yes, Cloudiway supports self-service migration mode for hosted Zimbra. Each user receives an email with a migration link and provides their own credentials.

What if I get "Failed To Authenticate" error?

The admin account configured in your source connector doesn't have enough permissions. It should be granted LoginAsAdmin rights to access users' mailboxes.

What if I get "No Connection" error?

The Zimbra server blocked the connection. Check your firewall settings, server security restrictions, or IP whitelisting configuration.

What if I get "Request Not Allowed On Port" error?

The port configured in the platform is incorrect. Make sure you're using port 143 or 993 for IMAP and restart your migration.

Ready to Start Your Migration?

Get a free migration quote in minutes — entirely self-service.