How it works
SharePoint moves each OneDrive from the source to the target and leaves a redirect behind. Permissions are rewritten using an identity map that the target admin uploads. The target user must exist and must not have a OneDrive yet: anyone who already signed in to the target and got a OneDrive is refused, so check provisioning first and route those users to a third-party tool.
Before you start
| Requirement | Where | Why it matters |
|---|---|---|
| Cross-Tenant User Data Migration licence | One per migrated user | Required for the move. |
| SharePoint Administrator | Both tenants | Sets the relationship, uploads the map, starts moves. |
| Latest SharePoint Online Management Shell | Windows admin workstation | The cross-tenant cmdlets ship with recent versions only. |
| Target users created, OneDrive not provisioned | Target tenant | A provisioned OneDrive blocks the native move. |
| Identity map CSV | Target tenant | Rewrites permissions from source to target identities. |
Set up the trust (once)
- 1
Get both host URLs
BothEach tenant has a cross-tenant host URL. Exchange them between the two admins.
PowerShell · Both Connect-SPOService -Url https://kestrel-admin.sharepoint.com Get-SPOCrossTenantHostUrl - 2
Set the relationship on each side
BothIn the source, name the target as partner. In the target, name the source as partner. Both use the M&A scenario.
PowerShell · Both # Source tenant Set-SPOCrossTenantRelationship -Scenario MnA -PartnerRole Target -PartnerCrossTenantHostUrl $TargetHostUrl # Target tenant Set-SPOCrossTenantRelationship -Scenario MnA -PartnerRole Source -PartnerCrossTenantHostUrl $SourceHostUrl - 3
Verify the trust
BothRun the verification on both sides before going further, and check the compatibility status.
PowerShell · Both Verify-SPOCrossTenantRelationship -Scenario MnA -PartnerRole Target -PartnerCrossTenantHostUrl $TargetHostUrl Get-SPOCrossTenantCompatibilityStatus -PartnerCrossTenantHostUrl $TargetHostUrlExpected result: Both sides report the relationship as compatible.
Run a wave
- 1
Check who is already provisioned
TargetList target users who already have a personal site. Route them to the third-party tool and move everyone else natively.
PowerShell · Target Get-SPOSite -IncludePersonalSite $true -Limit All -Filter "Url -like '-my.sharepoint.com/personal/'" | Select Url, Owner - 2
Upload the identity map
TargetInclude every user in the wave and the groups whose permissions must carry over.
PowerShell · Target Add-SPOTenantIdentityMap -IdentityMapPath "C:\Waves\B07-identitymap.csv" - 3
Tell users the window
BothThe source OneDrive is read-only while it moves. Files saved during the move fail to sync, so send the window in advance.
- 4
Start the moves
SourceStart one move per user from the source tenant.
PowerShell · Source Import-Csv .\B07.csv | ForEach-Object { Start-SPOCrossTenantUserContentMove -SourceUserPrincipalName $_.SourceUPN ` -TargetUserPrincipalName $_.TargetUPN -TargetCrossTenantHostUrl $TargetHostUrl } - 5
Monitor until Success
SourceStates go Queued, InProgress, then Success or Failed. Check on a schedule rather than by hand.
PowerShell · Source Get-SPOCrossTenantUserContentMoveState -PartnerCrossTenantHostURL $TargetHostUrl -UserPrincipalName asha@kestrel.comExpected result: State is Success and the source URL redirects to the target.
Get the next guide by email
The Cutover is a monthly email with new guides and what we learned on recent waves.
Related
Cross-tenant mailbox migration, end to end
The native Exchange Online path from trust setup to cutover, with every step, the PowerShell behind it and the checks that stop a wave failing on the night.
Device migration between tenants: three paths and when to use each
There is no native button to move an Intune device to another tenant. How to choose between a reset, an Autopilot re-registration and a profile move, and the exact steps for each.
Set up PIM before the migration starts
Engineers need Exchange and SharePoint admin rights in two tenants. Make them eligible, not permanent, and keep a clean audit trail.
