How to migrate from Office 365 back to on-premises Exchange?

Migrate from Office 365 back to on-premises Exchange

Actually, this is not a very popular migration scenario. The migration pattern that the majority of companies choose (and the one Microsoft propagates so widely) is to move organizations to Office 365, not the other way round. This may be the reason for the shortage of resources that would guide admins through this migration process. However, there are three options for you to consider when planning migration back to Exchange on-premises – a third party tool, hybrid migration or PST export/import.

Get help from a migration tool

This option requires you to invest some money in the migration solution but it is the simplest and the quickest way to move user mailboxes away from Office 365. Using a third party tool like CodeTwo Exchange Migration saves you a lot of work and time. With the application, you can easily control the migration process from a single machine (or from multiple machines if you want to speed up the process) via a user-friendly interface. You can set up server connections within seconds with no need to play with PowerShell commands.

CodeTwo Exchange Migration is a tool which connects with Office 365 source environment via EWS and copies the user mailbox data directly to on-premises Exchange Server (also via EWS). The migration is based on jobs. You can create as many migration jobs as you need to better organize and plan your migration task. For each job individually, you can decide which mailboxes to move, what mailbox folders to include and exclude from migration or you can filter items for migration according to their age.

The point of using a third party tool is to maximally ease and speed up the migration project. Especially, this may be a way to go if you need to move mailboxes just over the weekend.

Move within a hybrid environment

This may be a good option if you already have a hybrid environment up and running. In this case, the move is rather simple. You just need to create a migration batch via EAC in Office 365, select users one by one or upload the CSV file with users you want to migrate, run the migration and once the migration is finished remove the batch.

If you have no hybrid deployment in place, you will need to do a lot of planning and preparation first. As this is not the simplest of all admin tasks, it is a good practice to analyze and understand all the steps beforehand. You may want to get some help from this step-by-step guide on how to use Hybrid Configuration Wizard. HCW will walk you through the hybrid deployment configuration. However, before running the wizard you need to put a tick against prerequisites listed here.

Migrate via PST import/export

This migration option is the last on the list as it involves a lot of manual work and is far from perfect. You may go for it if you have relatively a small number of mailboxes to move and some extra time to spend on doing the migration. The whole operation is about downloading the mailbox data to PST files somewhere on local storage, and then uploading the PST files to the target server mailboxes. Exchange on-premises gives you New-MailboxExportRequest cmdlet to make the export kind-of-automatic and less painful. Office 365, on the other hand, lacks this functionality requiring more creativity and attention.

There are two paths you can follow to extract mailbox data to PST files in Office 365. The first one is to export the mailbox content using eDiscovery. The good news is that eDiscovery option is supported by most popular Exchange Online and Office 365 plans. Here you can check the plans that have this feature available. Your second option is a traditional export via Import/Export option in Outlook clients. In other words, you need to physically go to each workstation, open (or add) Office 365 mailbox in Outlook and then navigate to Import/Export functionality to extract the mailbox content. Once you have PST files ready, it is time to import them to on-premises Exchange mailboxes.

Although still relatively popular, more and more IT pros treat this method as the last resort. The dark side of PST export shows that too often the files become corrupted, data lost, or it is difficult to avoid differences between mailbox content copied to PST files and the server copy of mailbox data (if the mailbox still receives emails while doing the PST migration).

How to migrate from Office 365 back to Exchange on-premises using CodeTwo Exchange Migration?

CodeTwo Exchange Migration is a paid solution so you will need a license to activate the program and run the full migration. Before purchasing, you can download a free trial and do some tests in real settings. The trial version can migrate up to 10 items per folder but there is also an option to get a free temporary license key and migrate all items from a limited number of mailboxes. To get that key contact CodeTwo Customer Service.

The migration process itself is very simple. In short, you just need to:

  1. Download and install CodeTwo Exchange Migration and activate it with the license key.
  2. Create a new migration job and within that job:
  1. Configure source and target server connections. This is as simple as following the wizard.
  2. Select source mailboxes for migration and automatically match them with target ones. For this process to work correctly the user mailboxes must exist on the target server. You can create them directly on Exchange or let the program do it for you.
  3. Enable scheduler feature if you want the migration job to start and stop automatically at a scheduled time.
  4. Filter items by age to include/exclude in migration.
  5. Decide with mailbox folders migrate and which not.
  1. Start the migration job (if you didn’t enable the Scheduler feature) to let the program move Office 365 mailboxes to your local Exchange Server.

For a more detailed step-by-step migration guide from Office 365, follow this link.

A bunch of useful functionalities

In fact, CodeTwo Exchange Migration is more than just a tool for simple migration. It gives you a bunch of useful functionalities to better manage the move from Office 365. For example, the tool will let you:

  • Keep an eye on the migration performance directly in the program or via automatic reports that program can send to your inbox.
  • Migrate absolutely everything that you want in one go: primary mailboxes, archive mailboxes and/or public folders.
  • Minimize downtime to zero. The migration is invisible to end users so they can use their mailboxes as usual.
  • Refresh email addresses listed in the program if you switch the domain during the move.
  • Ensure 100% security of migrated data. The program does not read or store it – just replicates mailbox data directly between servers.

But the list of benefits does not end here. For more, visit CodeTwo Exchange Migration website.

You can also take CodeTwo Exchange Migration for a test drive – here you can download the trial.

Useful links:

Tools for Microsoft 365

Recommended articles

How to migrate from Exchange Server 2016/2019 to Microsoft 365

How to migrate from Exchange Server 2016/2019 to Microsoft 365

Migrating Exchange data to the cloud is not rocket science – explore your options and launch the migration stress-free. As you may already know, Exchange Server 2016 and 2019 have reached end of life and are no longer officially supported by Microsoft. If your organization still uses either of these platforms to manage email, contacts, calendars, and tasks, keep in mind that: Your environment may become vulnerable to newly discovered security threats – Microsoft will no longer provide security updates for Exchange 2016 and 2019 (unless you’ve enrolled in the Extended Security Update program, which ends in October 2026). Your emails may get blocked – Microsoft has started to throttle and block emails sent from unsupported Exchange Server versions to Exchange Online (as I covered in this article). That said, migrating to a supported platform is now the only viable long-term option for keeping your organization’s email environment secure, supported, and fully operational. If your organization wants or needs to keep things on‑premises (and continue using Microsoft’s solutions for that), upgrading to Exchange Server Subscription Edition (SE) is the only path forward. But given Microsoft’s clear preference for its cloud services – evident in the faster rollout of new features and the many security capabilities available exclusively in Microsoft 365 (Office 365) – now is a great time to leave your on‑prem environment behind and migrate to Exchange Online as part of Microsoft 365. While switching over to a new platform might seem like a rough ride, I’ll show you some easy ways to follow when migrating mailboxes from Exchange Server 2016/2019 to Microsoft 365. How to prepare for email migration to Microsoft 365 Before you start the migration process, you need to make sure your environment is ready for the move. For this purpose, you can use this guide in the Microsoft 365 admin center – it will help you connect your organization to Microsoft 365 and integrate your existing user accounts with Microsoft Entra ID. Microsoft also recommends completing the steps below: Set up an SPF record to determine valid email sources for your organization’s Microsoft 365 domain. Set up the Exchange Online Protection service as a means of protection against spam and malware. If you’re behind on updates, make sure to install the latest Cumulative Update (CU). And here is my quick, less obvious Microsoft 365 migration checklist: Verify if your software will work in Microsoft 365 (especially when it comes to server software). Microsoft 365 migration might be the time you learn that there is crucial legacy software that half the company uses and which is hard to replace. Encourage the whole company to clean up projects. It’s much easier to do this before the migration and start fresh. Gather as much information about your on‑premises environment as possible. For example, you might need to recreate access roles and permissions from scratch in the cloud or set up mail flow rules. Without prior research, it will be much more difficult. Verify if you need to migrate service accounts. There can be a lot of them on‑premises and in most cases, you won’t need them after the move. Review mailbox size limits in Exchange Online before migration to see which licenses you’ll need and whic
New-ComplianceSearch: how to use the newer version of Search-Mailbox

New-ComplianceSearch: how to use the newer version of Search-Mailbox

Microsoft retired the Search-Mailbox cmdlet – now what? Discover how to use New-ComplianceSearch, its key advantages and how to make the switch seamlessly.
How to start remote PowerShell session to Exchange or Microsoft 365

How to start remote PowerShell session to Exchange or Microsoft 365

One of many features of the PowerShell command line tool is its ability to connect with and manage the Exchange Server remotely. The procedure described below applies to the classic on-prem Exchange server and to the Microsoft 365/Exchange Online version.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

CodeTwo sp. z o.o. sp. k. is a controller of your personal data.
See our Privacy Policy to learn more.