You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Step 6 of the OneDrive Cross-tenant migration feature"
18
18
---
19
+
19
20
# Step 6: Start a OneDrive cross-tenant migration
20
21
21
-
This is Step 6 in a solution designed to complete a Cross-tenant OneDrive migration. To learn more, see [Cross-tenant OneDrive migration overview](cross-tenant-onedrive-migration.md).
22
+
This article is Step 6 in a solution designed to complete a Cross-tenant OneDrive migration. To learn more, see [Cross-tenant OneDrive migration overview](cross-tenant-onedrive-migration.md).
22
23
23
24
- Step 1: [Connect to the source and the target tenants](cross-tenant-onedrive-migration-step1.md)
24
25
- Step 2: [Establish trust between the source and the target tenant](cross-tenant-onedrive-migration-step2.md)
25
-
- Step 3: [Verify trust has been established](cross-tenant-onedrive-migration-step3.md)
26
-
- Step 4: [Precreate users and groups](cross-tenant-onedrive-migration-step4.md)
26
+
- Step 3: [Verify trust is established](cross-tenant-onedrive-migration-step3.md)
27
+
- Step 4: [Precreate users and groups](cross-tenant-onedrive-migration-step4.md)
>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.
33
34
34
-
Now you're ready to start your OneDrive migration. Before starting any cross-tenant migration, do the following steps.
35
+
Now you're ready to start your OneDrive migration. Before starting any cross-tenant migration, do the following steps.
35
36
36
-
1.Ensure you have verified the compatibility status. If you see a status of either **Compatible** or **Warning** on your source tenant, you can continue. Run:
37
+
1.Make sure you verified the compatibility status. If you see a status of either **Compatible** or **Warning** on your source tenant, you can continue. Run:
|SourceUserPrincipalName|User principal name of the user who owns the OneDrive on the Source tenant.|
51
-
|TargetUserPrincipalName|User principal name of the user who owns the OneDrive on the Target tenant.|
52
-
|TargetCrossTenantHostUrl|The Cross-tenant Host URL of the target tenant. To find the TargetCrossTenantHostUrl, run *Get-SPOCrossTenantHostUrl* on the tenant.|
49
+
|Parameters|Description|
50
+
|-------------------------|------------|
51
+
|SourceUserPrincipalName|User principal name of the user who owns the OneDrive on the Source tenant.|
52
+
|TargetUserPrincipalName|User principal name of the user who owns the OneDrive on the Target tenant.|
53
+
|TargetCrossTenantHostUrl|The Cross-tenant Host URL of the target tenant. To find the TargetCrossTenantHostUrl, run *Get-SPOCrossTenantHostUrl* on the tenant.|
To Schedule a migration for a later time, you can use and append the above command with the one of the following parameters.
61
+
To Schedule a migration for a later time, you can use and append the previous command with the one of the following parameters:
62
62
63
-
These commands can be useful when planning bulk batches of OneDrive migrations. You can queue/migrate up to 4,000 OneDrive migrations per batch. If your user count exceeds 4,000, create separate batches, and schedule them to run once the current batch is close to completion.
63
+
|Parameter |Description |
64
+
|-----------------------|------------|
65
+
|PreferredMoveBeginDate |The migration likely begins at this specified time. Time must be specified in Coordinated Universal Time (UTC). |
66
+
|PreferredMoveEndDate |The migration likely completes by this specified time, on a best effort basis. Time must be specified in Coordinated Universal Time (UTC). |
64
67
65
-
|Parameter|Description|
66
-
|---|---|
67
-
|PreferredMoveBeginDate|The migration will likely begin at this specified time. Time must be specified in Coordinated Universal Time (UTC).|
68
-
|PreferredMoveEndDate|The migration will likely be completed by this specified time, on a best effort basis. Time must be specified in Coordinated Universal Time (UTC).|
68
+
These commands can be useful when planning bulk batches of OneDrive migrations. You can queue/migrate up to 4,000 OneDrive migrations per batch. If your user count exceeds 4,000, create separate batches, and schedule them to run once the current batch is close to completion.
69
69
70
70
## OneDrive status premigration
71
71
72
-
Before you start the migration, the users current source OneDrive status is similar to the example below. This example is from the users source tenant, showing their current files and folders.
72
+
Before you start the migration, the users' current source OneDrive status is similar to the following screenshot. This example is from the users' source tenant, showing their current files and folders.
:::image type="content" source="../media/cross-tenant-migration/t2t-onedrive-status-premigration.png" alt-text="A screenshot showing a premigration status. There are files and folders displayed in a window, and a red box is drawn around the address of the OneDrive.":::
75
75
76
76
## Cancelling a OneDrive migration
77
77
78
-
You can stop the cross-tenant migration of a user's OneDrive by using the following command, provided the migration doesn't have a status of *In Progress*, *Rescheduled* or *Success*.
78
+
You can stop the cross-tenant migration of a user's OneDrive by using the following command, provided the migration doesn't have a status of *In Progress*, *Rescheduled*, or *Success*.
79
79
80
80
```powershell
81
81
Stop-SPOCrossTenantUserContentMove – SourceUserPrincipalName [UPN name of user who you wish to stop]
|Scheduled|The migration is now in the queue and is scheduled to run when a slot becomes available.|
144
-
|ReadytoTrigger|The Migration is in its preflight stage and will start the Migration shortly.|
145
-
|InProgress|The migration is in progress in one of the following states: </br>- Validation </br>- Backup </br>- Restore </br>- Cleanup|
146
-
|Success|The Migration completed successfully.|
147
-
|Rescheduled|The migration may not have completed and has been requeued for another pass.|
148
-
|Failed|The migration failed to complete.|
140
+
|Status|Description|
141
+
|---------------|------------|
142
+
|NotStarted|The migration isn't started.|
143
+
|Scheduled|The migration is now in the queue and is scheduled to run when a slot becomes available.|
144
+
|ReadytoTrigger|The Migration is in its preflight stage. The Migration starts shortly.|
145
+
|InProgress|The migration is in progress in one of the following states: </br>- Validation </br>- Backup </br>- Restore </br>- Cleanup|
146
+
|Success|The Migration completed successfully.|
147
+
|Rescheduled|The migration may not be completed and is requeued for another pass.|
148
+
|Failed|The migration failed to complete.|
149
149
150
150
## Post-migration status checks
151
151
152
152
**Target tenant**: After the migration successfully completes, check the status of the user on the target tenant by logging into their new OneDrive account.
153
153
154
-
**Source tenant**: Since the user has successfully migrated to the target tenant, they no longer have an active OneDrive account on the source.
154
+
**Source tenant**: Since the user was successfully migrated to the target tenant, they no longer have an active OneDrive account on the source.
0 commit comments