Step-by-Step Process to Upload PST Files to Office 365 (Network Upload)
Step-by-Step Process to Upload PST Files to Office 365 (Network Upload)
Uploading PST files to Office 365 (now Microsoft 365) is a common task, especially during migrations, data recovery, or restoring old emails. The Network Upload method allows IT administrators to upload PST files to Microsoft 365 mailboxes using Azure Storage. The data is then imported into users' mailboxes.
This guide will walk you through the Network Upload process step by step. It’s designed for IT professionals who are new to this task.
1. Prerequisites
Before you begin, make sure you have the following:
- Microsoft 365 Admin Access: Ensure you have admin credentials to access the Microsoft 365 Admin Center and Exchange Admin Center (EAC).
- Mailbox Import Export Role: You need to assign the Mailbox Import Export role to your admin account to perform the import operations.
- AzCopy Tool: A command-line tool provided by Microsoft to upload PST files to Azure Storage.
- PST Files: The PST files you wish to upload should be stored in a network location that is accessible for uploading.
2. Assign Mailbox Import Export Role
Before importing PST files, you need to assign the Mailbox Import Export role to your admin account.
Step 1: Access the Exchange Admin Center
- Go to Microsoft 365 Admin Center and sign in with your admin credentials.
- In the Admin Center, expand the Admin centers section and click on Exchange.
Step 2: Assign the Role
- In the Exchange Admin Center, click on Permissions in the left sidebar.
- Under Admin Roles, click on Organization Management.
- Select Edit (pencil icon).
- Under the Roles tab, click + Add and select the Mailbox Import Export role.
- Click Save to apply the role.
Note: It may take up to 1 hour for the role to take effect.
3. Download and Install AzCopy Tool
AzCopy is the command-line tool used for transferring PST files to Azure Storage. You need to download and install AzCopy on your system.
Step 1: Download AzCopy
- Visit the official Microsoft AzCopy documentation page.
- Download the version suitable for your operating system (Windows, Linux, or macOS).
Step 2: Install AzCopy
- Follow the installation instructions for your operating system to complete the installation.
- After installation, you can check that AzCopy is working by opening Command Prompt or PowerShell and typing:
azcopy
This will display the AzCopy help information if the tool is installed correctly.
4. Prepare the PST Files for Upload
Before uploading, ensure that your PST files are organized and ready for the upload process. They should be stored in a network-accessible location (e.g., on a shared drive or server) so you can easily upload them using AzCopy.
5. Upload PST Files to Azure Storage
You will upload PST files using the AzCopy tool to a temporary Azure Storage location created by Microsoft.
Step 1: Create a New Import Job
- Go to the Microsoft 365 Compliance Center.
- In the left pane, click on Information Governance > Import.
- Click on + New Import Job to create a new import job.
- Enter a name and description for the import job, then click Next.
- After creating the job, you'll be provided with a Secure Storage Key. This key is needed to upload the PST files to Azure Storage.
Step 2: Upload PST Files with AzCopy
- Open Command Prompt or PowerShell on your system where AzCopy is installed.
- Use the following AzCopy command to upload your PST files:
azcopy copy "C:\path\to\your\pst\files\*.pst" "https://<your_storage_account>.blob.core.windows.net/ingestiondata?<SAS_token>" --recursive
- Replace
C:\path\to\your\pst\files\*.pst
with the local path to your PST files. - Replace
<your_storage_account>
with the name of your Azure storage account. - Replace
<SAS_token>
with the Secure Storage Key you received when creating the import job in the Compliance Center.
- Once the command is entered, AzCopy will begin uploading the PST files to Azure Storage. The
--recursive
flag will ensure all PST files in the specified directory are uploaded.
Note: Depending on your network speed and the size of the PST files, this process might take some time.
6. Prepare the Import Mapping File
An import mapping file is a CSV file that associates PST files with specific user mailboxes. This file is necessary to ensure the PST data is uploaded to the correct users.
Step 1: Create the CSV Mapping File
- Open Notepad or your preferred text editor.
- Create a CSV file with the following columns:
- PSTFilePath: Full path to the PST file in Azure Storage.
- Mailbox: The email address of the target user’s mailbox where the PST data should be imported.
- TargetRootFolder (optional): The folder within the mailbox to import the data (e.g., "Inbox").
Example of a Mapping File:
PSTFilePath,Mailbox,TargetRootFolder
https://<your_storage_account>.blob.core.windows.net/ingestiondata/pstfile1.pst, user1@example.com, Inbox
https://<your_storage_account>.blob.core.windows.net/ingestiondata/pstfile2.pst, user2@example.com, Archive
- Replace
<your_storage_account>
with your Azure storage account name. - Ensure the PSTFilePath matches the location of the PST file in Azure Storage.
Step 2: Save the File
Save the CSV file and make sure it is accessible for the import process.
7. Create the Import Job in Microsoft 365
Now that the PST files are uploaded to Azure Storage and the mapping file is ready, you need to create the import job and link the mapping file.
Step 1: Create the Import Job in the Compliance Center
- In the Microsoft 365 Compliance Center, go to Information governance > Import.
- Click + New import job.
- Enter a name and description for the import job and click Next.
- Under Select the PST files to import, click Upload PST files from the network.
- Upload the previously created CSV mapping file that links the PST files to the user mailboxes.
- Review your settings and click Create Import Job.
Step 2: Monitor the Import Job
- After the import job is created, you can track the status of the import in the Import section of the Compliance Center.
- The import job will process the PST files and import the data into the corresponding user mailboxes.
8. Post-Import Actions
After the import is complete:
- Verify Data: Check the target mailboxes in Outlook or Microsoft 365 to ensure that the data from the PST file has been successfully imported.
- Manage Imported Data: You may need to apply retention policies or organize the imported data into folders.
Conclusion
Uploading PST files to Office 365 (Microsoft 365) using the Network Upload method is a straightforward process that involves preparing your PST files, uploading them to Azure Storage, and mapping them to user mailboxes. By following the above steps, IT professionals can migrate or restore email data into users' Office 365 mailboxes. Always ensure that you have the necessary roles assigned and that the import job is properly configured for a smooth process.
Comments
Post a Comment
Thank You for Sharing your feedback, We hope article was helpful in some way to you.