Step 1: Connect to the source and target tenants
This article details Step 1 in a solution designed to complete a Cross-tenant OneDrive migration. To learn more, see Cross-tenant OneDrive migration overview.
- Step 1: Connect to the source and the target tenants
- Step 2: Establish trust between the source and the target tenant
- Step 3: Verify trust is established
- Step 4: Pre-create users and groups
- Step 5: Prepare identity mapping
- Step 6: Start a Cross-tenant OneDrive migration
- Step 7: Post migration steps
Before you begin
- Microsoft SharePoint Online Powershell. Confirm you have the most recent version installed. If not, Download SharePoint Online Management Shell from Official Microsoft Download Center.
- Be a SharePoint Online admin or Microsoft 365 Global admin on both the source and target tenants
Important
Microsoft recommends that you use roles with the fewest permissions. Using lower permissioned accounts helps improve security for your organization. Global Administrator is a highly privileged role that should be limited to emergency scenarios when you can't use an existing role.
Connect to both tenants
Sign in to the SharePoint Management Shell as a SharePoint Online admin or Microsoft 365 Global admin.
Run the following entering the source tenant URL:
Connect-SPOService -url https://<TenantName>-admin.sharepoint.com
When prompted, sign in to the source tenant using your Admin username and password.
Run the following entering the target tenant URL:
Connect-SPOService -url https://<TenantName>-admin.sharepoint.com
When prompted, sign in to the target tenant using your Admin username and password.
Important
Microsoft 365 Multi-Geo customers: You must treat each geography as a separate tenant. Provide the correct geography-specific URLs throughout the migration process.