- 3 months ago
Looking to migrate mailboxes between two Microsoft 365 tenants? This 2025 step-by-step video tutorial walks you through Office 365 Cross-Tenant Mailbox Migration using Microsoft’s native tools. Easily transfer your mailbox data—emails, contacts, calendars, tasks, and more—between tenants with Microsoft 365 Migration Manager.
With this guide, you’ll perform a smooth Office 365 tenant mailbox migration using only Microsoft’s native method. Note: As of 2025, Microsoft now requires a Cross-Tenant User Data Migration License, assigned either to the source or target mailbox. You’ll also use Windows PowerShell, the Microsoft Azure Portal, and the Microsoft 365 Admin Center to complete essential prerequisites.
What You’ll Learn:
How to prepare for Microsoft 365 Tenant-to-Tenant Migration
Setting up Cross-Tenant Mailbox Migration requirements
Using Microsoft’s built-in (free) migration tool
Avoiding common mistakes during migration
Final verification to ensure smooth user experience
With this guide, you’ll perform a smooth Office 365 tenant mailbox migration using only Microsoft’s native method. Note: As of 2025, Microsoft now requires a Cross-Tenant User Data Migration License, assigned either to the source or target mailbox. You’ll also use Windows PowerShell, the Microsoft Azure Portal, and the Microsoft 365 Admin Center to complete essential prerequisites.
What You’ll Learn:
How to prepare for Microsoft 365 Tenant-to-Tenant Migration
Setting up Cross-Tenant Mailbox Migration requirements
Using Microsoft’s built-in (free) migration tool
Avoiding common mistakes during migration
Final verification to ensure smooth user experience
Category
🤖
TechTranscript
00:00hello welcome to the cloudbix youtube channel hello friends my name is Manoj and today we
00:08are going to perform tenant to tenant migration so let's see this is my source tenant and this
00:16is the target tenant and these are the users in the source tenant actually these users i want to
00:23migrate to target tenant so this is the reference blog which i am using so let's see
00:40actually when we want to move our mailboxes from one tenant to another tenant
00:46then we need to perform tenant to tenant migration or we can say that cross tenant migration
00:53so i am going to show you the complete process
00:59so these are some prerequisites for source and target tenant so what we do what we have to do
01:08we have to create a mail enabled security group in the source tenant these are the steps let me show
01:15you how to do this so this is my source tenant we will go to the admin center
01:23now we will go to active teams and groups
01:33once we have entered in active teams and group we need to create a group
01:38in this window select mail enable security group and click next type a name for the group like
01:54i'm giving it a name as migration
01:57in description group in description we will leave it empty and click next
02:08now we have to assign owners for this group click on the assign owner
02:13and you can see all the members are listed here you need to select
02:24and click on add button and this is the assigned owner
02:32click next to move further
02:33now we need to add members click on the add members button and you can see all the members
02:43are shown here choose the members room mailbox you want to migrate so i am selecting
02:51deepak and ravi mailbox all right now click on the add button and you can see the members are
03:00added in the list now click on the next button now you need to add a group email address so
03:10i am giving it name as migration
03:22now click on the next button
03:25now you can see all the details if you need to add it you can add it any detail
03:33click on the create button
03:38you can see the adding group is in the process
03:46now you can see that migration group created successfully click on the close button
03:55now you can check that in the mail enabled security group click on the mail enabled security group
04:04you can see that the your group has been created
04:10actually we we need to write down these things as we need it later so let's open notepad
04:17what we have created a migration migration
04:32group and email address is migration
04:38migration at the rate tw7 pg e g dot on microsoft dot com
04:53all right so we have done with this step now go to the article
05:01right now we need to find and copy the tenant id of the source and the target tenants so now go to the
05:17portal dot azure dot com
05:20now you need to enter into the azure active directory
05:41so this is my source tenant
05:43tenant
05:45okay this is the tenant id that we need to copy okay click on copy and let's save it
05:59okay
06:02source
06:05tenant id so we will paste it
06:09now we have to copy the tenant id of the target email as well so this is my target tenant
06:25so let's open again portal dot azure dot com
06:40let's go to the azure active directory
06:53okay this is the tenant id of the target tenant so copy this id
07:02and save it
07:02target target target tenant id
07:19all right we have done all these things now go back to the article
07:25so now we have to create and
07:28create the migration application and secret value in the target destination
07:35all right so we will go to the target mailbox this is our target mailbox
07:43okay go back to the azure directory
07:48now click on the view button
07:50now click on the app registration
07:57now click on the app registration
08:05click on the new registration to create an app
08:12okay this
08:13in this step we need to provide the name for the application so we are giving it name as migration
08:25application
08:27all right
08:28in the supported account types we need to select account in any organization directory for multi-tenant
08:41all right
08:43okay in redirect uri option we need to select web and type this url
08:50shttp
08:54semi-colon
08:57office
08:59dot com
09:03okay http s
09:06all right
09:08now click on the register here
09:10you can see application is created
09:20all right
09:22we need to copy the application id as we need it later
09:27all right copy application id and save it
09:32so we will
09:35application id
09:38okay
09:45now we need to provide api permissions
09:50so in the left side click on the api permissions
09:58okay
10:01actually this permission is by default provided and we denote
10:08we do not need it so we need to delete it so remove permissions
10:16yes remove
10:18so now we need to add a new permission so click on add a permission
10:26okay now click on the api as my organization uses
10:30so in this select office 365 exchange online
10:41so in this select office 365 exchange online
10:46so now click on the application permissions
10:49okay okay we have to search mailbox here
10:57we need to provide move mailbox between organizations
11:01and we need to create and click on the add permission
11:06now you can see the permission has been assigned
11:10now we need to create certificates and secrets
11:14click on the certificates and secrets
11:18now click on new client secret
11:22enter description so we will write it
11:26secret
11:29value
11:29value all right now click on the add button
11:37so this is the value which we need so we need to copy it
11:42okay okay we will save is at the secret
11:53value
11:56okay actually once you go back the secret value will be hidden
12:03and now we need to grant msft consent
12:08so go back to the home
12:12click on view under the manage
12:16azure active directory
12:17so here click on the enterprise applications
12:25right this applications we have created so we need to choose this
12:31click on this application
12:39okay
12:41now click on the permissions in the left sidebar
12:47as you can see no admin consented permissions found for this application we need to provide
12:55admin consent so click on the grant admin consent
13:05so you need to login
13:12okay this is saying unverified now you have to click on the set button
13:17to refresh
13:26okay refresh the page complete page
13:40now you can see that the admin consent all right
13:44now let's get back to the article
13:51okay
13:54so we have created application
13:57provided api permission added new client secrets and grant admin consent of msft
14:06okay okay now what we have to do to create the exchange online migration endpoint
14:13and organization relationship in the target tenant
14:18so let's click now we need to open windows power cell
14:23so search for windows power cell okay now click on run as administrator
14:33all right
14:40so this is open now what we have to do
14:48the execution policies set as restricted by default so we will first set it as unrestricted to run the
15:00the external commands so
15:07now
15:11type y and press enter
15:14so this step is done
15:18all right
15:18now connect to exchange online power cell using target tenant login credential okay
15:27so actually we have prepared a complete blog on this also so you can watch it if you have
15:35have trouble connecting to exchange online
15:42so we need to type connect
15:51exchange online
15:55all right
15:56okay we need to log in with the target tenant so this is our target tenant
16:12so choose this and type the password
16:19click on the sign in button
16:21if you have enabled two step authentication then you need to authenticate it
16:31all right
16:39now you can see we are connected to the exchange online
16:44so let's get back to the article for the further steps
16:51so we need to create a migration endpoint
16:56by executing blow scripts
16:59so copy this script
17:06okay we will paste it here
17:08okay now we need to enter the details okay
17:19this is the app id okay
17:24we will need to enter our app id in the place of this so we have copied it earlier so copy your application id
17:36paste it in the place
17:38paste in the place
17:38paste in the place
17:41all right now credential new check convert to okay
17:49this is your secret password actually we have created a client secret value we need to enter it here so
18:00copy our client secret value
18:03paste it here
18:05and paste it here
18:09all right now new migration endpoint remote tenant okay
18:16source tenant tower is
18:18dw7pg dot on microsoft dot com
18:32all right
18:35here we need to provide the name of the migration endpoint
18:39so type the name i am giving it name is migration
18:45location endpoint
18:51now once we have entered these details
18:55okay now copy this command
18:59run in the source target in it okay
19:02all right now our migration endpoint has been created all right copy this name and save it
19:23the name of the migration endpoint
19:36all right now let's get get back to the article
19:45okay we have done this
19:48this so now we need to create or edit organization relationship object to source tenant all right copy this command
20:00okay save it
20:05okay save it
20:15now we have done this so we will delete
20:18now all right we need to paste the source tenant id of your trusted partner where source mailboxes are okay
20:31so we have copied the source tenant id
20:34so copy source tenant id
20:39so copy source tenant id
20:43and put here okay
20:50cool all right
20:54okay now we need to provide organization relationship name
20:59so i am giving it name as relationship
21:09okay
21:13all right
21:15so now
21:17copy this
21:22and
21:24run this command in the window power cell
21:30okay organization relationship has been created
21:35so copy this name
21:39and save it also
21:44relationship
21:46name is
21:50relationship
21:54okay we have done this now get back to the article
21:59okay
22:03okay now we have to do accept migration application and configuring the organization
22:11trip in the source tenant
22:14okay login into a
22:18all right we need to copy this url
22:22where our source mailboxes are okay first added this
22:34so this is the url
22:36source tenant dot on microsoft dot com
22:41source tenant dot on microsoft dot com
22:43source tenant is our
22:47tw7 pg dot on microsoft dot com
22:53okay here we need to put the application of id
22:58so this is our application id
23:07we need to put here
23:09all right now we are good to go
23:15so copy this url
23:21wait okay this is our source tenant
23:25so paste this url here
23:30okay this is our source tenant login with this
23:33okay now accept the application
23:46all right these steps are done
23:49now let's get back to the article
23:56all right
23:58this this i have done
24:02okay now connect to exchange online powershell using source tenant account retail
24:07so let's open up our cell again
24:12run as administrator
24:19all right
24:23now we need to create a organization relationship
24:28to target tenants so copy this command
24:37all right paste it here
24:41here we need to put tenant id of trusted partner
24:46where we want to move our mailboxes
24:50so this is the target tenant id
24:54so copy the target tenant id from here
25:00all right put it here
25:02now paste your application id
25:11okay so we have save it here
25:17so copy this application id
25:21and paste it here
25:25okay
25:28now here email address of the mail enabled security
25:32group so we have saved it also
25:36this is the group we have created earlier
25:43so
25:46these things are done set organization
25:50okay
25:53okay so we have to put here name here
25:56the one which we provided earlier
25:59so relation
26:03save
26:08all right we are good to go
26:10now copy this command
26:13and run in
26:15first we need to connect to
26:20connect to exchange online
26:24okay using our
26:34source tenant
26:36this is our source tenant
26:40all right
26:42put your password here
26:54now we are connected
27:07okay now we are connected so let's see
27:13paste this command here
27:15let's enter
27:27all right
27:30so relationship has been created successfully
27:34let's get back to the article for further steps
27:38okay
27:39okay now we need to create a mail user
27:44in the target tenant
27:48okay
27:50this is our target mailbox so
27:52we need to go to the admin center
28:05all right
28:06click on the sole and click on the exchange
28:15it will take us to the exchange admin center
28:18here here we need to create mail users
28:26okay now click on the contacts
28:32click on add a mail user
28:36we need to enter details of the users
28:40which is which we want to migrate so
28:46here these are two users which i am going to migrate
28:51all right
28:52so
28:56debug
28:58based
29:01initials debug
29:04display name
29:06debug external email address
29:10here we need to put the email address
29:14of the target source tenant
29:18so okay
29:21debug at the rate
29:26dw7pg dot on microsoft dot com
29:36alias we need to put here also debug user id
29:42debug okay domain here we need to select this
29:50okay type a password
30:01okay now click on the next button
30:05okay review user details
30:07click on the create button
30:13mail user creation is in process
30:17okay now mail user creation successfully click on the done button
30:22second mail users i have to create for ravi
30:26the email user
30:28the email user
30:30ravi mark
30:34initials ravi
30:38display name ravi external email address ravi at the red
30:44sqrtw7t dw7pg dot com
30:54this is the email address of the target tenant
31:05okay we need to put alias at ravi user id at ravi
31:16nominates now put a password
31:30okay now click on the next button
31:34review details and click on create button
31:42so mail user creation successful okay now you can see both two users have
31:50been created here now let's get back to the article
31:57so created we have created mail user now we need to find exchange uid and
32:04exchange lejc tn of the okay run the blow command for every users
32:13on your source tenant all right
32:18you need to copy this command
32:22paste here okay so sourced in and mailbox we need to
32:34first we will run it for tpac
32:43okay
32:47copy this
32:50and we need to run the source so this is our source
33:03so so this is the exchange uid copy this
33:16and save it
33:21this is for
33:24debug
33:33this is exchange uid and this is
33:43lejc tn
33:51okay
33:54so run this command for the other user also
33:57now we need to find the details for ravi so copy this place here copy this command
34:11and run again in the source tnet
34:14all right copy this as it is
34:30paste is here
34:34okay we are done with this
34:37get back to the article
34:39now we need to exchange add exchange uid and exchange lejc tn in the target tenants
34:51all right
34:54so this is the command we need to add
35:01okay let's copy this command
35:10all right
35:15so we will need email address of the target user
35:22so target user is
35:26debug at the rate 2 lv gh0
35:31all right now exchange uid of the source user
35:42so we have copied it here
35:46so okay exchange uid for debug is this
35:56replace this
35:58okay
35:58copy this command and run it in the target
36:05power cell
36:11this is our target power cell
36:14okay run this command
36:18create
36:20now we need to run this command for the other user also
36:25right
36:26so we need to
36:30okay exchange uid
36:34copy from here
36:43replace this
36:53okay
36:56run this in the target tnet
37:01done actually you need to perform these steps for the every users
37:06you need to migrate okay let's get back to the article
37:13we have done this we need to add exchange legacy dn
37:18okay
37:20so copy this command
37:26okay
37:32email address of the target user target user is
37:38debug at the rate 2lb
37:440 dot on
37:48dot com
37:49all right we have popped the okay this is the exchange legacy
38:01copy this value
38:06replace here
38:21okay remove this gap
38:23okay here we need to
38:33gap
38:33okay copy this command and run into the target tnet
38:44all right let's do it for the other user
38:55copy this
39:08place here
39:09copy this, place here, okay, remove this gap, only one space here.
39:35Copy this and again run it to the target power cell.
39:52Alright now we have done all these steps, now get back to the article, now it is the time
40:01to test the migration server availability, so copy this command.
40:11We need to run this command in the target tnet power cell, okay, paste this command.
40:23Here we need to put our endpoint name, so this is migration endpoint.
40:34Great, now we need to enter here primary SMTP of male user object in the target tnet.
40:44Okay, we need to see here, this is our target tnet and this is SMTP.
41:03Okay, copy this, alright, place it here, alright, copy this command and run it into the target
41:28power cell, this is our target power cell, okay, now you can see the result success.
41:39So, we have did all the things, great, now let's get back to the article to see further steps,
41:53all right here, now we need to assign license to the male users in the target tnet, okay, so
42:06these are our target tnet, okay, go to the admin center, great, now click on users and click
42:22on the active users, okay, you can see these two users are unlicensed, we need to provide
42:33license, so choose these users, click on manage product licenses, okay, you need to place, okay,
42:49provide the license, okay, provide the license and click on the save changes, so the license
42:56have been provided successfully, you can see here, get back to the article again, okay, now we
43:10need to create a migration batch in target tnet, this is our target tnet, so go to the admin
43:23center again, click on show all and go to the exchange admin center, alright, here you can
43:36see the migration option, so click on the migration, now we need to add a migration batch, give migration
43:47batch a unique name, okay, so we are giving it name as tnet migration, here we need to select
43:58migration to exchange online, click next, select the migration type, okay, now select this as
44:07cross tenant migration and click on the next button, okay, these are some prerequisites for
44:15the cross tenant migration, these are the steps which I have done earlier, click on the next button,
44:25here you need to select migration, this is the migration point, which we have created, so choose
44:32this, click on the next button, alright, now we need to create a CSV file, run excel, create a blank,
44:53here we need to put email, email address, here we need to put the email address of the target
45:12so first, debug at the rate to lvgh on microsoft.com and second one is travi at the rate to lvgh on microsoft.com
45:37so you will need to enter the details of all the users which you are migrating, okay, now click on the file tab, click on save as
46:05browse, tnet csv file, okay, we need to save it as csv, okay, on desktop we will save it, okay, close this, alright, now import your csv file here,
46:33yep, this one, alright, now click on the next button, here you need to put your target
46:46library domain to lvgh on microsoft.com, this is saying that the target library domain not found, actually this is a glitch in
47:02Microsoft new exchange admin center, we will hope that Microsoft will resolve it later, now we need to create the migration batch from the
47:14classic exchange admin center, okay, so go to the classic exchange admin center, here we need to do the migration, okay, we need to add a new migration batch migrate to exchange online, okay, we are doing a remote move migration, click next, select the users that you want to, you can
47:43you can manually choose users here, we have created a csv file, so we will upload it,
47:51desktop server tenant csv file, okay, now click on next, this we do not need to change, click on the next again,
48:10next again, okay, here we can put our target delivery domain, so olpgh0.on.com, here you can select users whom you want to the report, okay, choose automatically start
48:38click on new button, okay, now click on new button, okay, now you can see that the saving completed successfully, okay, here you can see the status syncing, so go back to the power exchange admin center, here in this migration,
49:04you can refresh this, you can see the migration batch is also showing here, you can see the details here, this is invalidating process, okay, one is completed and one needs approval,
49:32actually it will take some time, and it will approve automatically and completed,
49:42click on new button, so it will allow you to continue so, once it is may not,
50:02have created by so for debug at the rate enter the password
50:16open outlook
50:20all right you can see that data has been migrated these are the emails
50:28i don't know why it is showing
50:36needs approval all right this is completed here and as i said you will also receive a report
50:48so let's check we have sent report to the pradeep okay
50:54let's open outlook here okay this is the report migration with tenant csv file
51:09migration is completed
51:15so i hope you have learned how to perform tenant to tenant migration or cross tenant migration in
51:22microsoft office 365 if you have any query you can ask us in the comment section we will be ready to
51:32help you thank you guys for watching the complete video don't forget to like and subscribe our channel
51:43also follow us on other social media platform social media links are in the description
Recommended
2:53
|
Up next
1:52
9:36
1:38
0:46
2:55
11:13
1:00
2:50
Be the first to comment