Рет қаралды 46,643
Microsoft 365 Tenant to Tenant Migration: office365conce...
#office365concepts #m365 #migration #exchangeonline #office365
In this video, we'll walk you through how to migrate mailboxes from one Microsoft 365 tenant to another. Migrating a mailbox from one Microsoft 365 tenant to another can be a challenging task. However, with the help of this video, you will be able to migrate your mailbox without any Issues! By the end of this video, you'll know how to migrate a mailbox from one Microsoft 365 tenant to another Microsoft 365 Tenant.
Commands:
=========
Invitation Link:
========
login.microsof...[application_id_of_the_app_you_just_created]&redirect_uri=office.com
Create Migration Endpoint
$dehydrated=Get-OrganizationConfig | select isdehydrated
if ($dehydrated.isdehydrated -eq $true) {Enable-OrganizationCustomization}
$AppId = "Migration Application ID"
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $AppId, (ConvertTo-SecureString -String "Password copied in previous step" -AsPlainText -Force)
New-MigrationEndpoint -RemoteServer outlook.office.com -RemoteTenant "SourceTenant.onmicrosoft.com" -Credentials $Credential -ExchangeRemoteMove:$true -Name "Name of your migration endpoint" -ApplicationId $AppId
Create Organization Relationship
$sourceTenantId="Tenant ID of Source Tenant"
$orgrels=Get-OrganizationRelationship
$existingOrgRel = $orgrels | ?{$_.DomainNames -like $sourceTenantId}
If ($null -ne $existingOrgRel)
{
Set-OrganizationRelationship $existingOrgRel.Name -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability Inbound
}
If ($null -eq $existingOrgRel)
{
New-OrganizationRelationship "Name of organization relationship" -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability Inbound -DomainNames $sourceTenantId
}
#Prepare Source tenant
$targetTenantId="Tenant id of the Target Tenant"
$appId="Migration Application ID"
$scope="Name of the Security Group"
New-DistributionGroup -Type Security -Name $scope
$orgrels=Get-OrganizationRelationship
$existingOrgRel = $orgrels | ?{$_.DomainNames -like $targetTenantId}
If ($null -ne $existingOrgRel)
{
Set-OrganizationRelationship $existingOrgRel.Name -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability RemoteOutbound -OAuthApplicationId $appId -MailboxMovePublishedScopes $scope
}
If ($null -eq $existingOrgRel)
{
New-OrganizationRelationship "name of your organization relationship" -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability RemoteOutbound -DomainNames $targetTenantId -OAuthApplicationId $appId -MailboxMovePublishedScopes $scope
}
#Create migration batch
New-MigrationBatch -Name "Batch Name" -SourceEndpoint "Migration Endpoint Name" -CSVData ([System.IO.File]::ReadAllBytes('c:\file.csv')) -Autostart -TargetDeliveryDomain "Target Tenant .onmicrosoft.com domain"
tenant to tenant migration office 365 step by step
tenant to tenant migration
tenant to tenant migration office 365
tenant to tenant migration o365
tenant to tenant mailbox migration
tenant to tenant migration step by step
tenant to tenant migration tool
tenant to tenant migration checklist