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.

Before you begin

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

  1. Sign in to the SharePoint Management Shell as a SharePoint Online admin or Microsoft 365 Global admin.

  2. Run the following entering the source tenant URL:

    Connect-SPOService -url https://<TenantName>-admin.sharepoint.com
    
  3. When prompted, sign in to the source tenant using your Admin username and password.

  4. Run the following entering the target tenant URL:

    Connect-SPOService -url https://<TenantName>-admin.sharepoint.com
    
  5. 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.

Step 2: Establish trust between the source and target tenants