Prepare the Source Environment
- Enable OAuthentication 2.0 within your Google admin portal, to grant MigrationWiz access to G Suite. KB005019
Enable API Access. Log in to the Google Admin portal > Security > API Reference > checkmark the Enable API Access button. Note: This extra step is mandatory when migrating from Google Drive.
Export mailboxes to CSV file(s). From the Google Admin portal > Click Users > Click on ⁝ (3 vertical dots) > Download Users > Download All Users > Click OK > Save.
If you are migrating from multiple domains, repeat these steps for each domain.
Under Authorized API clients > Client Name > Enter: 118005701438129985126
Under One or more API Scopes > enter the scope for G Suite as Source (read-only scopes):
https://mail.google.com/, https://www.google.com/m8/feeds, https://www.googleapis.com/auth/contacts.readonly, https://www.googleapis.com/auth/calendar.readonly, https://www.googleapis.com/auth/admin.directory.group.readonly, https://www.googleapis.com/auth/admin.directory.user.readonly, https://www.googleapis.com/auth/drive, https://sites.google.com/feeds/
OAuth administrative credentials will not function properly with G Suite for Business Legacy free accounts. If a G Suite tenant is a G Suite for Business Legacy free account, end user credentials must be used. Refer to KB005124 for more information on migrating with end user credentials.
Make sure there are no spaces before or after the scope entry. This will cause the authorization to fail.
Prepare the Destination Environment
Create an administrator account in Office 365 to be used for migration, or use the global admin account for the tenant. KB004948 Important: The admin account must have a full license assigned to it, in order to be able to provision OneDrive profiles for each user during the migration process. KB005537
Assign a SKU license that contains OneDrive for Business to the admin account that will be used for migration.
- If users have never used OneDrive before, MigrationWiz will provision OneDrive (SharePoint) profiles for each user being migrated, using the admin account credentials that are entered in the MSPComplete Destination endpoint. However, it does not create the user account; the user account needs to have already been created.
- MigrationWiz cannot provision a OneDrive profile for blocked users. If a user is blocked, there will be a provisioning or access error.
Set up accounts on Office 365 and assign licenses. These can be created in several ways:
Set up groups on Office 365. If permissions were assigned to groups on Google Drive, and you want these to be migrated, the group names on Office 365 must match the group names on Google Drive. KB004843
Create the required Office 365 CNAME for your domain. See the Microsoft instructions here.
- Manually, one at a time.
- By bulk import, via CSV file. Microsoft instructions. Note: You can use the CSV file that was created under Step 3 of the Prepare the Source Environment section of this guide.
- By PowerShell script. TechNet article
- By DirSync, AAD Sync or AAD connect. KB004336
- Important: If you are migrating permissions, the part of the usernames before the "@" sign on Office 365 must match the part of the username on Google Drive before the "@" sign, e.g., firstname.lastname@example.org on Google Drive must follow the same format before the @ sign on Office 365, and so must also equal "john.smith" on Office 365. The domain name, however, can be different. KB004843
- Create the customer. KB005421
- Create the Source and Destination endpoints. KB005427
- For the Source endpoint:
- Click on EndPoints > Add Endpoint > Enter endpoint name > For endpoint type, select Google Drive.
- Enter the Google admin account email address and domain name in the appropriate fields.
- For the Destination endpoint:
- Click on EndPoints > Add Endpoint > Enter endpoint name > For endpoint type, select OneDrive for Business. Note: Do not select the endpoint named OneDrive Pro for Business V2. That endpoint is used for other migration scenarios, and does not support the moderate mode MigrationWiz Advanced Option, which is important for this migration scenario. KB005509
- Enter the administrator username and password, for the admin account that was set up under Step 1 of the Prepare the Destination Environment section of this guide.
- Important: The domain name of the admin account must match the domain name of the user accounts, otherwise OneDrive profiles cannot be created during migration, and permissions will not be migrated. For example, do not set the admin account to use the .onmicrosoft.com domain name if the users will be entered with the vanity domain name.
- Create the Document Migration project. KB005070
Add the accounts (also referred to as "items") that will be migrated to the project. Note: If you are using the Bulk Add option, only the Source and Destination columns need to be filled in. You can use the CSV file that was created under Step 3 of the Prepare the Source Environment section of this guide. KB004842
Run an assessment to calculate the number of licenses required for your migration. KB005237
Set the Project Advanced Options. KB004834
- Create the Document Migration project > Select the customer > Select the Source endpoint (Google Drive) > Select the Destination endpoint (OneDrive).
Run Verify Credentials. KB004511
Purchase Document Migration licenses. KB004647
Notify users that a migration is occurring. Send email to all users telling them the time and date of the migration. During this time, they should not modify any documents in their Google Drive accounts, because any modifications will not be included in the migration.
Perform the migration using one of the following strategies:
- Set the value for maximum licenses to consume per item, per pass. The default value is one license per user, which allows up to 10GB to be migrated per user. However, if a user has 28GB of data, the migration will pause at 10GB, and you will have to assign more licenses to the user. The recommended maximum number of licenses to consume per user for a document migration project is five (5) licenses per user, which allows up to 50GB of data to be migrated per user. The project will only consume the number of licenses for the amount of data migrated. If a user has 28GB of data, only three out of the five licenses will be consumed, and two licenses will remain. KB004890
- Under Support/Support Options add:
- InitializationTimeout=28800000 - This increases the initialization timeout window to eight hours. KB005099
- FolderLimit=20000 - This increases the maximum number of folders for the migration to 20,000. Large companies might have more than 10,000 folders (the default) to migrate, so we recommend increasing the folder limit to 20,000. KB005557
- IncreasePathLengthLimit=1 - Use this Advanced Option in MigrationWiz to enable the use of 400 characters for the file path name. For more information, see KB008088.
- RemoveExistingPermissionsWhenUnspecified=1 KB005572
ShrinkFoldersMaxLength=200 (optional, but recommended) KB005007
DocumentBrowsingMode=Moderate (optional, but recommended) KB005034
RenameConflictingFiles=1 (optional, but recommended). KB004954
- Note: There are no spaces on either side of the "=" sign, and the entries are case-sensitive, so pay special attention to the capital letters in the commands detailed above.
- Set the Advanced Option to send a notification to end users after the migration pass completes.
- Notifications > Send successful migration and notification to: > Source email address (if users are still using G Suite Gmail) or Destination email address (if users are already using Office 365).
- Customize notification email. Checkmark the Customize "successful migration" email box. Add your own customization text and company name to this email.
- Note: Notifications should only be set up before the final pass. If performing a single, Full pass, set this up now. If you are following a Pre-Stage migration strategy, only set this up prior to the final Full (Delta) pass.
Click on the pie chart icon in the MigrationWiz dashboard to receive an email containing all the project migration statistics. KB004626
- For small- to medium-sized migration projects that have less than 500 users, we recommend a Big Bang Migration strategy. This is a single, Full pass migration.
- Steps for a Full Migration pass:
- Select the users > From the top navigation, click on the Start button > From the drop-down list, select Full Migration > Click on the Start Migration button. KB004938
- For large migration projects that have more than 500 users, we recommend a Pre-Stage Migration strategy. This is a multiple-pass migration.
- Steps for a Pre-Stage Migration:
- Pre-Stage pass: Select the users > Click on the Start button from the top, and select Pre-Stage Migration > Under the Migration Scheduling section, from the drop-down list, select 90 days ago > Click on Start Migration. KB004938
- Full (Delta) pass: Select the users > Click on the Start button from the top, select Full Migration > Click on Start Migration. KB004938
- To prevent users from inadvertently logging in and using their Google Drive accounts, decommission the Google Drive user accounts, or change their passwords.
- Notify users once the migration has completed. Note: If you set the MigrationWiz Advanced Option for Notifications, they will receive an email upon migration completion. Assist them with setting up access to their OneDrive for Business accounts, and setting up their synchronization settings.
- Provide training on OneDrive For Business. Here are some useful third-party training videos on OneDrive for Business to provide to your end users: