Home » Blog » Office 365 » How to Transfer Office 365 Mailbox to Another Account? PowerShell Scripts

How to Transfer Office 365 Mailbox to Another Account? PowerShell Scripts

How to Transfer Office 365 Mailbox to Another Account PowerShell Scripts
Anuraag Singh ~ Modified: June 23rd, 2022 ~ Office 365 ~ 5 Minutes Reading

We’re all overwhelmed just by the thought of “how to move Office 365 mailbox to another user account?”. It’s a tedious and time-consuming operation.

However, when it comes to mergers, acquisitions, or rebranding, companies are left with no choice but to switch their Office 365 mailboxes to a different user account.

How can you do that?

In this post, we will share the two methods by which this transfer process can complete.

There are Two Methods to Transfer Office 365 Mailbox to Another Account:

  1. Use Powershell Scripts to do it on your own. It is a Microsoft framework that uses a command-line shell and a scripting language to automate tasks.

Note: This technique is tough for non-technical people to grasp.

  1. Make use of an automated tool. People who are not technically savvy can also utilize this tool.

Pre Migration Checklist to Move Office 365 Mailbox To Another User Account

Given below are a few guidelines that a user needs to follow while moving this Office 365 mailbox to another user account.

Step 1: Begin Planning Within Three Days

Prepare the Primary and Dedicated Accounts:

To make changes to the processing accounts, follow the steps below:

  1. Ascertain that the destination tenant is for the source Exchange Online domain.
  2. Connect the source Office 365 account to the destination Office 365 account. When you’re finished, make a TXT record.
  3. DNS records require 72 hours to show the circulation.
  4. Make sure that neither the source nor the destination tenant mailboxes are being utilized by another application.

The setting of the Office 365 Cross-Tenant Migration Platform

  • Make a list of all mailboxes that need to be migrated.
  • If it is necessary, map the targeted and source tenant mailboxes.

Setup Of An Office 365 Source Account Before Moving Office 365 Mailbox to Another Account

  • Delete the Office 365 tenant’s targeted email ID from wherever it is set.
  • If the account setting is complete, reset all URLs to their initial state.
  • Using the Lync admin interface, you may remove Microsoft Lync license.
  • Create a configuration in which the default email ID of the targeted account’s mailboxes is specified. Once the operation up to this point has been completed, return all email addresses on rooms, distribution lists, and resources to their original state.

Setup of an Office 365 Target Account

  • Launch the target Office 365 account and create new domains within it if you’re using AD FS.
  • Grant all rights and licences required for Office 365 tenancy transfer to a new account.
  • Set up the primary account as a primary postal address.
  • If the user is not utilizing the password sync function or AD FS, the password for each mailbox must be specified in the account domain.
  • Examine the mail flow to see how the account performs in different situations.

Step 2: PowerShell Scripts to Transfer Office 365 Mailbox To Another User Account

Reset Passwords in Batches

  1. Start an Excel spreadsheet and create a CSV file called ‘password.csv.’
  2. Create two columns in this Excel file called ‘upn’ and ‘password.’
  3. Fill up this document with all of the account information.
  4. To do Office 365 tenant-to-tenant migration, launch MS Exchange PowerShell and enter the following command:

Import-CSV password.csv|

%{Set-MsolUserPassword –userPrincipalName $_.upn -NewPassword $_.newpassword -ForceChangePassword $false}

Step 3: Make a Copy of the Messages to Move Office 365 Mailbox to Another User Account

To begin transferring messages from the basic domain to any specific proxy addresses listed in the CSV file, use the following PowerShell commands:

Step 4: Build a Room Mailbox for your Office 365 tenant

To execute Office 365 cross tenancy migration, use the following instructions.

1).ToString()

@”

NAME:

}

##### END OF CREATE-ROOMS.PS1

Step 5: Remove Secondary Email Addresses from Office 365 Mailboxes

Execute the instructions listed below:

Alternative And Simpler Way to Move Office 365 Mailbox to Another User Account

From the above method, it is quite clear how complicated the manual method is. If you don’t want to go through that situation, then you can follow this straightforward tool- Office 365 to Office 365 Migration Tool

Download Now Purchase Now

The application allows users to export their full Office 365 tenant user mailboxes to another account.

You would also love to know: how to perform OneDrive for the business tenant to tenant migration? Read the linked article to clear all your doubts regards data transfer in Office 365 easily.

Go through the given steps to understand how to use the tool:

Step 1: Begin by installing and launching the application on your system. Then, from the screen, select Office 365 as the source and destination to transfer Office 365 mailbox to another account.

Step 2: Choose items from the workload section that you want to transfer (email, contacts, calendars, documents).

Then, press the Next button to move Office 365 mailbox to another user account.

Step 3: To validate authorization, input the source Office 365 admin ID and application ID into the given boxes. After that, hit the Validate option.

Step 4: Now, hit the Next button after you’ve verified your permissions transfer Office 365 mailbox to another account.

Step 5: After entering the target Office 365 admin ID and Application ID, click the Validate button.

Step 6: Click on the Next option once you’ve validated the privileges.

Step 7: Build a mapping between the users at the source and destination. To complete this process, the software offers three options: recover users, import users, and download the template to move Office 365 mailbox to another user account.

Step 8: The mapping between both the source and destination users has been fully completed.

Step 9: To validate authorization, hit the validate option.

Step 10: Once the permissions have been validated, select the Start Migration button to move Office 365 mailbox to another user account.

Wrapping Up

Moving from one Office 365 mailbox to another user account is a difficult procedure, as demonstrated in the preceding article. However, if the automated program is used as instructed, it may be made simple and followed even by inexperienced users.

Office 365 Migration Services