How to Migrate Outlook PST to Office 365 (Microsoft 365)?

If you’re switching to Office 365 (O365) or Microsoft 365 (M365), you also have to migrate the mailbox items, such as emails, contacts, attachments, etc., from the current on-premises environment to Microsoft 365. This can be done by importing or migrating Outlook PST files to the targeted Microsoft 365 mailboxes. In this article, we have shared different ways that can help you to quickly transfer Outlook PST files to Office 365 (Microsoft 365) while maintaining the original mail folders hierarchy and structure.

Methods to Migrate Outlook PST Files to Office 365

Below, we have mentioned different methods to migrate Outlook PST files to Microsoft 365. Depending on the number of Outlook PST files you need to migrate to Microsoft 365, you can choose any of the methods.

Method 1: Network Upload using AzureAZCopy Tool

You can use the Network Upload  method, when you need to import large or multiple PST files into Microsoft 365. However, before using this method, you should remember the following things:

Here are the steps to use this method:

Step 1: Assign Roles

  • Log in to Office 365 using any web browser. Open the Exchange Admin Center and click Roles > Admin Roles.
  • Next, search for Organization Management and select it.
  • It will open the Organization Management screen. Select the Permission tab and scroll down to the Mailbox import export option. Select it and click Save.

open the Organization Management window

  • Click Add under the Assigned tab and choose the user you want to assign the role for importing the Outlook PST file.

choose the want to assign the role for importing the Outlook PST file

  • Search and select the user and click Add.

Search and select the user email address

Step 2: Create PST Import Job in Microsoft 365

To create an Outlook PST to Office 365 import job for uploading PST files to Azure Storage, follow these steps:

  • Click on Microsoft 365 admin center in the left panel to go back to the admin center.

Click on Microsoft 365 admin center

  • On the Microsoft 365 admin center, click on Show all in the left panel and click on Compliance under the Admin centers section.

click on Show all       

  • In the window that opens, click on Data lifecycle management in the left panel and select Microsoft 365.

 select Microsoft 365

  • In the Data lifecycle management window, click on the Import tab at the top to add an import job.

Import tab to add an import job

  • Now, click on + New import job.

Add New Import Job

  • Enter the job name and click Next.

Enter the job name

  • In the Select Import Job Type window, select the Upload your data option and click Next.

Select Import Job Type window

  • Click Show network upload SAS URL.
  • Next, click Copy to clipboard to copy the SAS URL. Paste it in a Notepad file and save it.

Copy to clipboard to copy the SAS URL and Paste it in Notepad

  • Click Download Azure AzCopy to download the tool. The Azure AzCopy tool is available for Windows, Linux, and macOS. It will open the Download AzCopy window with various versions of the software available. Select and download the version that is compatible with your system.

Click Download Azure AzCopy to download the tool

Note: Do not close this window until the PST files are uploaded to Azure Storage.

Step 3: Upload PST Files to Office 365 Azure Storage

To upload the PST files to Office 365 Azure Storage, follow these steps:

  • After downloading the Azure AzCopy tool, extract the tool from the downloaded zip file.

extract the tool from the downloaded zip file

  • Open the extracted folder, copy its path, and paste it in a Notepad file.

copy its path and paste it in a Notepad file

  • Now, launch Command Prompt and type cd followed by the path of the AzCopy tool copied in the previous step. Press Enter.

In Command Prompt and type cd

  • Then, run the following command to upload the PST files to Azure Storage:

Azcopy copy “Folder/FilePathContainingPST” “SAS URL” --recursive=true

Replace the Folder/FilePathContainingPST with the path of your PST file. Similarly, replace SAS URL with the SAS URL you copied earlier.

Notes:

  • In case you want to upload multiple PST files, simply add the path of the folder containing PST files.
  • In case the PST files are in a subfolder, then use --recursive=true at the end of the command.

Replace the Folder/FilePathContainingPST with the path of your PST file

Wait for the PST files to upload. This may take a while, depending on your network speed, bandwidth, and size of the PST files.

Note: Ensure that PST files do not exceed the 20 GB recommended limit as they can impact and degrade the import process.

Step 4: Verify Uploaded Outlook PST Files

To verify that the PST files are uploaded successfully on the Azure Storage, you can use the Azure Storage Explorer. The tool is available for Windows, macOS, and Linux. Follow these steps:

  • After downloading the tool, launch the installer and click Install for me only.
  • Complete the installation and then launch the Azure Storage Explorer.
  • Select Blob container > Shared access signature URL (SAS) and paste the SAS URL you had copied in the Blob container SAS URL: field.
  • Click Next > Connect.

Connect the Azure Storage Explorer

  • Under File Shares, you can see the PST folder. Open it to check if the PST files are there.

check if the PST files are there

Step 5: Map Outlook PST Files

The next step is to map the PST files with the user mailboxes. This is critical as you need to ensure that PSTs are correctly imported into user mailboxes on Microsoft 365. For reference, you can download a copy of the PST Import Mapping file from the Microsoft website.

map the PST files with the user mailboxes

Enter the FilePath (folder name), Name, Mailbox, and TargetRootFolder where mail items will be imported. You may leave other fields empty. Save the .CSV file.

Step 6: Start PST Import Job

To start the PST import, go back to the Office 365 Import data wizard and follow these steps:

  • Tick on the I’m done uploading my files and the I have access to the mapping file checkboxes and click Next.

Select  the checkboxes

  • Click +Select mapping file and then click Validate.

Add Select mapping file

Note: If validation fails, download the logs and check the issue.

  • Once validated, click Next to review the PST import job.

review the PST import job

  • After reviewing the details, click on Submit and then click Done.

Upload to the cloud Succeeded

  • Once done, it will create an import job. You can check its status in the Progress column under the Import tab on the Data lifecycle management window.

it will create an import job

  • Once the import process is complete, the status will change to Import completed.

status will change to Import completed

  • Now, select the item and click on Import to Office 365.

click on Import to Office 365

  • It will ask if you want to filter the data or not. Choose a suitable option and click Next.

 Choose a suitable option

  • Now, review the PST file transfer. If everything is fine, click on Submit.

review the PST file transfer

You can see the status of import job on the Data lifecycle management window as Import in progress. Wait for some time and refresh the page. It will update the status to Completed.

 import job on the Data lifecycle management window as Import in progress

Once the wizard has completed importing PST files into Office 365, you will receive an email from Microsoft in your Outlook account for the same. You will also see a newly created Imported folder in your mailbox indicating that you have successfully imported PST files into Office 365.

Method 2: Migrate PST Files to Office 365 using Drive Shipping Method

Another way to migrate PST files to Office 365 is by using the Drive Shipping method. For this, you need to first transfer all your PST files to a BitLocker-encrypted hard drive and then physically ship this hard drive to a Microsoft data center. A professional at Microsoft will upload your PST files to the Azure Storage.

After they have successfully uploaded all the PST files to Azure Storage, you will have to create PST Import Job, create CSV mapping file, and start the PST import process to import PST files into Microsoft 365 (as mentioned in Method 1).

Before you proceed with this method, you must know that Microsoft charges $2/GB or $2000/TB of data. Make sure that each PST file you add to the hard drive is not larger than 20 GB as it can impact the PST import performance.

Method 3: Migrate PST Files using a PST to Office 365 Migration Software

As you’ve already seen, the above migration methods are a bit complex and requires a lot of efforts. But there is an alternative solution to simplify the process - a specialized PST to Office 365 migration software.

A software apt for this purpose is Stellar Migrator for Outlook. This software can straightforwardly migrate PST files to Office 365 by ensuring absolute data integrity and accuracy. It can facilitate direct migration of PST files to a live Exchange Server.

Now, let’s see the step-by-step process to migrate PST files to Office 365 using this PST to Office 365 migration software:

  • Install the Stellar Migrator for Outlook software on your Windows system after purchasing the license.

Migrator tool software for Outlook

  • Launch the software.
  • You will see the Create migration job window. Enter the Job name and choose the Select whether single or multiple mailboxes have to be migrated option. Click Next.
Note: If you have CSV file of already mapped mailboxes, choose the Migrate mailboxes using CSV option.

choose the Migrate mailboxes using CSV option

  • Next, you will see the Select source window. Click on Select Files to choose the PST files you want to migrate.

choose the PST files you want to migrate

  • It will show you all the PST files. Click the Next button.
  • The Select target screen will show up. Choose the Microsoft 365 option and click Next.

Choose the Microsoft 365 option

  • Now, the Connect Target window will appear. Choose either Auto Registration or Manual Registration.
    • Auto Registration – It allows you to automatically connect to Microsoft 365 by using the Global Admin credentials.
    • Manual Registration – It requires you to enter the details, such as Email Address, Application (Client) ID, Directory (Tenant) ID, and Client Secret Value. Click on Validate after that.
  • After successful connection, the software will display a list of Target mailboxes that are found on Office 365 (target server). You can preview and validate the mailboxes. Then, click Next.

 list of Target mailboxes

  • The software will show the Map mailboxes screen. You can also change the mailboxes mapping from the Edit column. If you want to migrate PST file data to a specific folder, use the Click to specify option. Click Next.

Click to specify option

  • The Date filter screen will appear. Choose a date filter option and click on Next.

 Choose a date filter option

  • The Folder type window will appear. Select the folder you want to migrate. By default, all mailbox folders are selected. Click on Next.

Select the folder you want to migrate

 

  • You will see the Max concurrency window. Use the dropdown list to select the number of mailboxes to be migrated simultaneously. You can select maximum of 10 mailboxes. Click Next.

Max concurrency window

  • The Summary window will appear. Review all the selected parameters before creating the job.

Review all the selected parameters

  • After you have reviewed the selections, click on Finish.
  • You will see the Job created dialog box along with the Job listed. Click OK.

click on Finish 

After this, click on Start in the ribbon to initiate the migration process.

click on Start in the ribbon to initiate the migration process

  • Next, click on Connect to login to the licensing server.
  • After the connection is established, the software will begin the migration.

Once the migration is started, you can also track the progress of mailbox migration. After the migration job is completed, you will see the Completed status in the Mailbox progress window.

How to Migrate PST File from an IMAP/POP3 Account to Office 365?

If you need to migrate a few mailboxes configured with IMAP or POP3 to Office 365, you can first export the mailbox data to PST file using the Outlook’s Import/Export wizard. Once exported, configure your Office 365 account in Outlook and again use the Import/Export wizard to import the PST file into it. Follow the stepwise process given below:

Step 1: Add Credentials for the Account Configured with IMAP/POP3 in Outlook

  • Click on File > Add Account to add your email account in the Outlook client.

add your email account in the Outlook client

  • Add the credentials and click Next.

Add the credentials

  • Follow the onscreen prompts to complete the process.

Step 2: Export the Mailbox Data to PST File

  • Go to File and click on Open & Export > Import/Export.

click on Import and export option

  • You will see the Import and Export Wizard. Select the Export to a file option from the given list of actions and click Next.

Export to a file option from the given list

  • Choose the Outlook Data File (.pst) option and click Next.

Choose the Outlook Data File (.pst) option

  • Select the folder (mailbox) from where you want to export the data. Click Next.

Select the folder from where you want to export the data

Note: Make sure that the Include subfolders option is checked.
  • Go to the location where you want to save the exported PST file.
  • Select the required option for duplicate items. Click Finish.

Select the required option for duplicate items

Follow the steps given in Step 1 again to add your Office 365 account in Outlook.

Step 3: Import the PST File into Office 365 via Outlook

  • After adding the account, go to File > Open & Export and select Import/Export.

Open & Export and select Import/Export

  • Select Import from another program or file and click Next.

Select Import from another program or file

  • Select Outlook Data File (.pst) and click Next.

Select Outlook Data File (.pst)

  • Click Browse to choose the PST file and click Next.

choose the PST file

  • Choose the Microsoft 365 email account and click Finish.

Choose the Microsoft 365 email account

Repeat these steps to import other PST files into Microsoft 365.

Conclusion

In this article, we have explained different methods to migrate PST files to Office 365. But migrating PST files via manual methods is tedious and takes a lot of time as you have to perform multiple steps. To save time and efficiently transfer PST files to Office 365, it’s suggested to use Stellar Migrator for Outlook - specialized PST to Office 365 migration software. This software can also migrate PST and OST files to a live Exchange Server directly. It allows to save the PST/OST items in a separate PST files.



Was this article helpful?
About The Author
author image
Keshav Katyal

An experienced Senior Content Developer with a deep interest in technology.

Table of Contents

WHY STELLAR® IS GLOBAL LEADER

Why Choose Stellar?
  • 0M+

    Customers

  • 0+

    Years of Excellence

  • 0+

    R&D Engineers

  • 0+

    Countries

  • 0+

    PARTNERS

  • 0+

    Awards Received

BitRaser With 30 Years of Excellence
Technology You Can Trust
Data Care Experts since 1993
google-trust
×