Cross Tenant Mailbox Migration: Microsoft 365 Tenant to Tenant Mailbox Migration

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone and welcome back to our phase 365 Concepts in today's video we will explore an important topic in Microsoft 365. if you have ever wondered how to seamlessly migrate mailboxes from one Microsoft 365 channel to another Microsoft 365 Channel this video is just what you need in this video we are going to discuss in detail how to migrate mailboxes from one Microsoft 365 tenant to another Microsoft 365 tenant so let's dive in being an administrator you can come across a scenario where you want to move mailboxes from one Microsoft 365 10 into another Microsoft 365 channel for example when two companies are merged together in this scenario you might need to move mailboxes from one Microsoft 365 channel to another tenant and this type of mailbox migration is called cross tenant mailbox migration so let's take a look at this deck and let's understand how does crosstalk migration work in this deck we have two Microsoft 365 tenants those are merged and we are planning to move mailboxes from tenant 1 to 10 and 2. so the tenant 1 will be the source tenant and tenant 2 will be the target challenge because we are migrating mailboxes from tenant 1 to 10 and 2. the first step in Cross tenant mailbox migration is we create mail user accounts in the Target tenant for the mailboxes that we want to move from The Source tenant that means if you have two mailboxes in the source tenant that you want to migrate to the Target tenant you need to create two mail user accounts within the target tenant also you need to copy few properties of the source mailboxes and you need to update those properties to the mail users within the target tenant these properties are exchange grid and Legacy exchange DN the user principal name of the mail user within the target tenant should have same initials as per the source tenant and the domain for that UPN will be the domain of the target tenant and the extra internal email address of the mail user will have the domain of the source tenant if you are not able to understand this do not worry we are going to cover all these steps practically also and things will be more clear the second step in Cross tenant mailbox migration is we create a mail enabled Security Group within the source tenant and we add users within this security group that we want to migrate to the Target tenant so the users who are part of this Security Group only these mailboxes will be moved to the Target tenant this way the source tenant admin can restrict or scope the specific set of mailboxes that need to be moved to the Target tenant after these steps we assign license to the mail user accounts within the target tenant this license should have exchange online service included so that a mailbox can be provisioned for these accounts next we create a migration application within the target tenant Azure ad and we assign migration permissions on this application in the next step we create a migration endpoint and organization relationship on the target tenant this migration endpoint connects to the source tenant and enables the mailbox migration from The Source tenant to the Target tenant and the organization relationship creates a relationship between the source tenant and the target tenant using the tenant ID of the source tenant in The Next Step Target tenant sends a request to the source tenant to accept the migration application that was created on the target challenge by accepting this request Source tenant allows mailbox migration from The Source tenant to the Target tenant and in the next step we create an organization relationship within the source tenant that creates a relationship between the source tenant and the target tenant so once these steps are performed successfully you are ready to move the mailboxes from The Source tenant to the Target tenant so let's move towards the lab and let's configure all these steps practically so I have two Microsoft 365 channels this is the source tenant and this is Target challenge I will be migrating mailboxes from Source tenant to the Target Talent so the first step is we will create mail users in Target tenant in Source tenant I have two users with name migration 1 and migration 2 these two accounts I will be moving these two mailboxes to the Target Talent so the first step is we will create mail users for these two accounts in exchange online so go to exchange admin Center go to contacts and click add a mail user type the name of the user and type the display name as well you can also verify the details from the old channel from The Source tenant click on the user account and here you can see the user principal name we will copy the initial and rest you can see the display name as well migration one is the display name and first name is migration one so let's go to Target challenge and in external email address first let's paste it here Alias and user ID will be the initial of the user account that is being used in The Source tenant domain will be your target tenant domain and the external email address will be the email address being used in the source tenant you can also check the email address from here as well if it is different than user principal name you can go to edit exchange properties and here you can see the email address for this user account so copy it go to the Target tenant and paste it here and type the password and click next click create same way we will create one more mail user for migration two external email address will be the email address being used within the source tenant so for migration 2 it's migration to domain.com go back to Target tenant paste it here Alias migration 2 user ID will be migration to and the domain will be your target tenant domain give it a password so click next and click create so we have created two mail user accounts now the next step is we will copy exchange grid and Legacy exchange DN of the source tenant mailboxes and we will copy these values Within These mail user accounts within the target tenant so we will go to Powershell and in Powershell we will connect to exchange online and here we will enter the credentials for the global administrator of the source tenant so once you are connected to exchange online you will type get hyphen mailbox hyphen identity first we will get the details for migration one mailbox so we need two properties exchange grid and Legacy exchange DN press enter so we have these two details for migration one and we will run the same command for migration to mailbox and we have details for migration to mailbox as well now we will open another Powershell window again we will connect to exchange online but this time on this Powershell we will connect to the Target challenge so here we will type the credentials for the Target Channel Global administrator so we are connected to the Target tenant now to verify the mail users we can run command catch hyphen mail user press enter we can see migration 1 and migration to mail users now we have to update these details one by one to these two male users so let's go to the Target tenant Powershell and here we will type a command set hyphen mail user hyphen identity first let's update it for migration one so we will update exchange grid so we will copy The Exchange grid value for migration 1 user from here go to the Target tenant Powershell and paste the value here and for legacy exchange DN you will type email addresses and the format for legacy exchange DN will be x 500 colon and you will go to the source tenant Powershell and you will copy this value go back to Powershell for the Target tenant open notepad and paste it here just to make sure there is no space so we will remove this face now copy this value and go to Target challenge Powershell and paste it here press enter so we have made these changes if you want to verify run get hyphen nail user hyphen identity migration one pipe FL exchange grid and Legacy exchange DN so we can see these two values are updated for migration one now same way we will do it for migration 2 as well so let's run this command let me remove this so we will run set hyphen mail user hyphen identity migration to hyphen exchange grid go back to Source tenant Powershell copy this value paste it here email addresses x 500 colon copy this value go to notepad paste it here and let's remove the space and let's update it here and press enter now to verify we can run the same command that we initiated for migration one this time we will run it for migration two and we can see exchange quit and Legacy exchange DN for both male users are updated so in the next step we will assign license to these two mail users so let's go to active users let's assign these users a license that has exchange online plan included I have Microsoft 365 business premium so I'm going to assign this license to these two users let's assign for migration 2 as well so that is done now we will create a migration application within the target tenant so let's go to portal.azure.com in Target challenge go to Azure active directory and go to app registrations click new registration let's give it a name for example migration application and here you need to select the second option that says accounts in any organizational directory any Azure ID directory or multi-tenant and under redirect URI select a platform will be web and here you will type https office.com and click register so this application is created let's go back to Azure active directory go to app registrations again Let me refresh this page and here we can see the migration application that we just created it will show under oned applications so open this application now here you need to copy this application ID so copy this and go to notepad and paste it here so this is the app ID that we just created we will use this application ID later next we will go to API permissions on the left and under API permissions you will see user.read permission delete this permission we don't require this permission for now click remove and click add a permission and go to tab that says apis my organization uses and here type Office 365 exchange online click on this permission and select application permissions under select permissions we will expand mailbox and we will check mailbox dot migration click add permissions so this permission is added next we will go to certificates and secrets click new client secret and give it a name for example migration secret key and click add and we'll copy this value so let's go back to notepad file and here we will save this value as password we will need this password while creating the migration endpoint now the next step is to create an invitation link that we will give to the source tenant administrator and the source tenant administrator will accept that invitation it will allow required permissions for the application and it will enable the mailbox migration I have the link copied on the notepad already this is the link you need to make some changes within this link so the changes that you need to make within this link is first you will copy this application ID and you will paste this ID next to the client ID and second change that you need to make is you will type here the source tenant initial domain The Source tenant is Office 365 Concepts dot on microsoft.com now Target tenant administrator will copy this link he will give this link to the source tenant administrator Source tenant admin will go to browser and paste this link he will log in with his Global admin credentials and then he will allow and accept all the permissions and this invitation is accepted now in the next step we will create a migration endpoint on the target challenge so that the target channel can connect to the source challenge where the mailboxes are hosted so to create migration endpoint we need to run a script and this is the script that we are going to run on the target challenge we need to make some changes within this script and first here we need the application ID so it says migration application ID we will paste the application ID here and next change we will do here the password that we copied we will paste here the password and next we will give here Source tenant initial domain so that will be Office 365 Concepts dot on microsoft.com and we will give a name for the migration endpoint let's say cross tenant migration endpoint that's it copy this script go to the Powershell where we connected with the target tenant and run this script here so the migration endpoint is created with name cross tenant migration endpoint endpoint type is exchange remote move and remote server is outlook.office.com because the other tenant is also on Microsoft 365. next we will create an organization relationship between the target tenant and the source tenant and for this we have a script this is the script that we are going to use to create organization relationship from the target tenant to the source tenant but again we need to make some changes here now first we need the tenant ID of the source tenant so we'll go to the source tenant and you will go to portal.ajar.com go to Azure active directory go to properties and from here you can copy the tenant ID go back to notepad and paste this tenant ID here next you need to change new hyphen organizational relationship here we will give a name to this relationship so this will be from Target to Source tenant so we will copy this script and we will go to the Powershell where we are connected to the Target tenant and press enter so this organizational relationship is also created and with this we have prepared the target channel for mailbox migration and now we will prepare the source tenant in the source tenant we will create a mail enabled Security Group and we will add the two mailboxes within that Security Group so go to groups add a group mail enabled security and let's create a security group here then enable security click next give it a name migration group click next let's add honor let's add admin go next now let's add members so first we will add migration one and we will add migration 2 also for this particular demo we are going to migrate only these two mailboxes to the Target challenge so that is the reason we have added only these two mailboxes within this Security Group if you want to migrate more mailboxes you can add all those users within the security group once it is done go next and here you need to type the email address for this Security Group so I'll give it a email address migration Security Group and click next click create group so the security group is created but we need the email address of this Security Group and we will be using this email address within this script that we are going to run so let's copy this email address go back to notepad I will paste it here for the time being next we will create an organization relationship with the target talent and for this we will run this particular script and this time we are going to create organization relationship on the source tenant but before that we need to make certain changes within this script first we need tenant ID of the target tenant so we will go to Azure ad of the target tenant and we will go to properties copy the tenant ID go back to script paste the tenant ID next is app ID so app ID you can copy it from here that is already pasted and here goes the migration application ID next is name of the security group either you can use the name or the email address or the security group and paste it here next let's see if we have to make any other changes we need to add the name for the organization relationship so this will be from source to Target tenant and no other changes are required so copy the script go to the Powershell where we are connected to the source tenant and let's run this script so with this we have prepared The Source Talent as well and the last step in this process is we will create a CSV file that we will be using while migrating the mailboxes so let's open Excel file and here we will use the column as email address and here we will type the email address for these two users that we're going to migrate migration to and we will save this file and let's give it a name migration user and we will select CSV and click save so the CSV file is also created now we are good to go now we can migrate mailboxes from Source Talent to the Target Talent you can initiate mailbox migration from exchange admin Center and from Powershell as well using Powershell commands let me show you how to do it from Powershell and then I'll show you how to do it from exchange admin Center so we have a command that we'll be using here in this command we will make some changes this will be the migration batch for example test batch Source endpoint will be the endpoint name that we just created migration endpoint and you can copy the migration endpoint let me run get hyphen migration endpoint this is the name of the migration endpoint that we just created we will paste it here and then we need this CSV file path so you will paste the path here like this and Target delivery domain will be your initial domain the target challenge initial domain for my case it is office CPT dot on Microsoft dot com copy this script go to the Target Channel and Powershell and run it here so we can see here test batch is created status says syncing and it has Type exchange remote move and it has two mailboxes within this batch now if you want to run same migration from exchange admin Center you will go to the Target Channel and exchange admin Center then go to migration click add migration batch you can see here we have this batch that we just created from Powershell and if you want to create another batch give it a name under select mailbox migration path you will select migration to exchange online click next select the migration type will be cross tenant migration click next next again here you will select the migration endpoint that you just created click next here you will import the PSD file then you will click next and under Target delivery domain you will try the dot on microsoft.com domain for the Target tenant so this way you can run this batch from exchange admin center now if you want to verify this batch from Powershell you can run get hyphen migration batch pipe FL and you can see all these details regarding the migration batch whether it is running not running what is this status is it completed or not you can check all these details from here so this is how you do cross tenant migration I hope you found this video informative and gained a better understanding of how to seamlessly migrate mailboxes from one Microsoft 365 challenge to another Microsoft 365 challenge if you have any questions or want to share your migration experiences feel free to leave a comment below and please subscribe to our Channel and give this video a thumbs up thanks for watching I'll see you in the next video
Info
Channel: Office365Concepts
Views: 36,537
Rating: undefined out of 5
Keywords: tenant to tenant migration, office 365 tenant to tenant migration teams, microsoft tenant to tenant migration, microsoft 365 cross tenant migration, o365 tenant to tenant migration, office 365 tenant to tenant migration step-by-step guide[2023], office 365 to office 365 migration, office 365 tenant migration, microsoft 365 tenant migration, office 365 cross-tenant migration, migrate office 365 mailboxes, cross-tenant migration, office365concepts, office 365 concepts
Id: 8VuE3KOWEu4
Channel Id: undefined
Length: 26min 39sec (1599 seconds)
Published: Wed Jul 12 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.