When we talk about migration of Exchange mailboxes to Office 365, then there are multiple methods like cutover, staged, and hybrid migration. If you have used any of these methods, then you must be aware that all these methods require creating a batch of the mailboxes in a CSV file, configuring the Exchange settings for a smooth migration, and running the batch. This process takes time, and the administrator needs to monitor the migration process throughout the time continuously.
When you want to migrate public folders from Exchange to Office 365, then there are no direct methods, but you can perform the migration using Exchange Management Shell.
If you only want to migrate the public folder mailbox to Office 365, then you can do it directly as any other mailbox without making the changes. If you wish to replace the legacy public folder with Office 365 groups, then here is the procedure to follow.
The manual process to migrate the public folders is completed in multiple steps, and here we have provided the steps here –
Step – 1: – Download the migration scripts from the following URL –
There are multiple scripts which are essential in the migration process at multiple levels –
It helps to include the users and owners from the source Exchange.
It is an associate script for the first script.
It locks the public folder from any updates or changes while migration is in progress.
It is an associate script for the third script.
It unlocks the public folder’s properties and restores them to their original state.
It is associated script for the fifth script.
It activates the first, third, and fifth scripts to write logs.
Step – 2: Prepare the migration environment.
Perform the steps to create a suitable migration environment –
It will provide you with a list of all the features in Office 365. If the record has PAW in it, it means it is enabled.
Step – 3: Create a comma separated value (.csv) file.
Create a CSV file having two columns FolderPath and TargetGroupMailbox. The FolderPath will include the complete path of the public folder and TargetGroupMailbox will have the Office 365 Group SMTP address. You also should know that you can create only 500 entries in a single CSV file.
Step – 4: Start the Batch Migration.
Before starting the batch migration, you should complete some prerequisites –
Provide the administrator credential (of the source Exchange Server) to $Source_Credential variable –
Provide the MRS Proxy Endpoint to the $Source_RemoteServer variable –
Create the migration endpoint with the following command –
PFToGroupEndpoint -RemoteServer $Source_RemoteServer -Credentials $Source_Credential
Create a new migration batch –
-PublicFolderToUnifiedGroup -SourceEndpoint $PfEndpoint.Identity [-NotificationEmails
<email addresses for migration notifications>] [-AutoStart]
As you have added the AutoStart parameter, the migration will instantly start.
Step – 5: After completing the batch migration, you can delete the batch migration request with the following command –
So, this is the whole process of migrating public folders from on-premises Exchange to Office 365. But there are lots of patchworks which you need to fix before and after the process. Here are some conditions which the batch migration process should fulfill –
The whole process of migrating public folder data to Office 365 is time-consuming, error-prone, and requires expertise. If you want to reduce all your migration problems, then use Kernel Migrator for Exchange which can access public folders directly from its source and place them in desired Office 365 Groups. It also provides multiple filtering options which help you to select only the required data to migrate. Simply, this is the most desired migration tool for Exchange administrators.