# Google Workspace Drives

### Introduction

Movebot uses the Google Drive API with delegate access, and we provide everything you need for quick authorization in Google Admin. Connecting to Google Workspace by delegate access provides Movebot access to user data and shared drives in the Google Workspace domain and full support for migrating Google Drive content.

{% hint style="info" %}
To connect a personal Google Drive account see [Google Drive (Personal)](https://docs.movebot.io/connections/other-connectors/google-drive-personal)
{% endhint %}

### Requirements

To connect Movebot to Google Workspace, you will need:

* A Google Workspace administrator account
* To be familiar with the Google Admin Centre
* To have access to the Shared Drives you wish to migrate

### Configuration Steps

1. When configuring a new connection, select Google Workspace from the list of available connection types and give the connection a name
2. Enter your Google administrator account email address
3. Enter your domain (find this under "Manage domains" in Google Admin) .
4. Click "Create Service Account" - this will generate a Client ID
5. Use this Client ID when configuring domain-wide delegation in the Admin console, required to allow Movebot to access necessary data for migrations. Include the following OAuth scopes:&#x20;

```
https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/admin.directory.user, https://www.googleapis.com/auth/admin.directory.user.readonly, https://www.googleapis.com/auth/admin.directory.user.security
```

{% hint style="info" %}
For detailed instructions on how to set this up, see [Delegating Domain Wide Authority](https://docs.movebot.io/platform-guides/google/delegating-domain-wide-authority)
{% endhint %}

6. Test the connection

### Common Errors

Movebot supports migrations of MyDrive and Shared Drive data within Google Workspace tenants. Below are common GWS Drive-specific errors, their resolutions, and answers to frequently asked questions.

<details>

<summary><strong>Error: invalid_request: Invalid impersonation</strong></summary>

**Cause:** The admin email address specified in your Google connection is invalid or does not have sufficient permissions.

**Resolution:** Ensure the email address exists, is correctly entered, and belongs to a licensed Google Workspace admin user with appropriate privileges.

</details>

<details>

<summary><strong>Error: Bad Request. "&#x3C;email address>" is not a member of this shared drive. Only members can access items in this shared drive.</strong></summary>

**Cause:**  Destination tenants sharing settings do not allow non-members to be assigned permissions on a Shared Drive.

**Resolution:** To resolve this, you can either:

1. Add the user as a member of the Shared Drive before rerunning the migration,\
   or
2. Adjust the Shared Drive’s settings to allow sharing with users who are not drive members.

These changes can be made in the Google Workspace Admin Console under the Shared Drive's access and sharing configuration.

</details>

<details>

<summary><strong>Error: teamdrive-not-found: Could not find team drive</strong></summary>

**Cause:** Movebot was unable to locate a Shared Drive with the specified name.

**Resolution:** This error may be caused by one or more of the following:

* **Hidden whitespace:** Check for extra spaces at the beginning or end of the Shared Drive name in Google Drive.
* **Special characters:** `/teamdriveid:<drive_id>`  can be used to access drives by their Drive ID instead of their name. This will avoid issues with special characters. [Learn more](https://docs.movebot.io/using-movebot/transfer-mapping/import-csv-mappings#id-01h8055v9asmr1cykjcc57791m-1).
* **Insufficient access:** Confirm that primary and secondary admin accounts specified in your Movebot configuration have been granted Manager access to the Shared Drive.

</details>

<details>

<summary><strong>Error: parent-folder-not-found</strong></summary>

**Cause:** Google Drive creates folders asynchronously, which means there can be a short delay before new folders are fully available. If Movebot tries to upload a file to a folder that hasn’t been fully created yet, it triggers a **parent-folder-not-found** error.

**Resolution:** Run a **Delta Migration** to retry the failed uploads. By the time you run the Delta Migration, the necessary folders usually exist—allowing the uploads to complete successfully.

</details>

<details>

<summary><strong>Error: user-teamdrive-access-denied</strong></summary>

**Cause:** Occurs when the source or destination Shared Drive lacks the required permissions or settings.&#x20;

**Resolution:** You must have **Manager** permissions on both the source and destination Shared Drives.

For Google to Google migrations, Google Docs require the following Shared Drive Settings. Ensure these are enabled on the source/destination drives, then re-run the migration or Delta Migration to complete the transfer.

* *Allow people who aren’t Shared Drive members to access files.*
* *Allow people outside of `<your_domain>` to access files.*

</details>

### Frequently Asked Questions

<details>

<summary><strong>Is it possible to migrate between two existing Google tenants using Movebot?</strong></summary>

**Answer:** Yes. Movebot fully supports bi-directional migrations between Google tenants, including full tenant-to-tenant transfers.

</details>

<details>

<summary><strong>Why does the Movebot scan result show more/less data than the Google Admin Console?</strong></summary>

**Answer:** The discrepancy occurs because Google and Movebot calculate storage usage differently.

* **Google Admin Console** reports storage based on **file ownership**. It includes all files a user owns, even if they are located in folders shared with them by others.
* **Movebot** only scans and reports on content located **within a user’s actual MyDrive**. It does **not** include files the user owns inside folders shared with them by other users.

***

#### When Google Admin shows **more** data than Movebot

**Scenario:**\
Jeff shares a folder with Sarah. Sarah adds 50GB of photos to Jeff’s shared folder.

* **Google Admin Console:** Reports 50GB of storage used by **Sarah**, because she is the file owner.
* **Movebot:** Scans **Sarah’s MyDrive** and detects **0KB**, since the data physically resides in **Jeff’s** folder.

***

#### When Movebot shows **more** data than Google Admin

**Scenario:**\
Mathias creates a Shared Folder and shares it with five colleagues. They add 20GB of data to it, but Mathias doesn’t add anything himself.

* **Google Admin Console:** Reports **0KB** usage for **Mathias**, because he doesn’t own any files.
* **Movebot:** Scans **Mathias’s drive** and detects **20GB**, since he is the owner of the Shared Folder—meaning all content within it is considered his for the purpose of migration.

***

</details>

<details>

<summary><strong>What happens to Google Docs, Sheets, and Slides during migration?</strong></summary>

**Answer:** When migrating between two Google tenants, the native Google file formats (Docs, Sheets, Slides, etc.) are retained, and everything will function the same in the destination tenant as it did in the source.

If you're migrating **out of the Google ecosystem** (e.g., to Microsoft 365), Google files will be automatically converted to their equivalent Microsoft Office formats (e.g., Docs → Word, Sheets → Excel).

**Note:** Due to limitations in the Google API, documents larger than **11MB** cannot be exported into Microsoft Office formats. These files will either be skipped or need to be downloaded manually. [Learn more](https://docs.movebot.io/platform-guides/google/performance-and-limits#google-docs-export-limit).

</details>

<details>

<summary><strong>Why can't I see a particular Shared Drive in the list of available drives in Movebot?</strong></summary>

**Answer:** Ensure that the admin user specified in the Movebot-Google connection has Manager permissions on the Shared Drive. If the Shared Drive was recently created, it can take up to 30 minutes for Google's APIs to reflect the new drive. Wait and check back later.

</details>

### Supported Features

Movebot has comprehensive support for Google Workspaces and is well-maintained.&#x20;

<table><thead><tr><th width="527">Feature</th><th>Supported in Movebot</th></tr></thead><tbody><tr><td>Shared Drives</td><td>Fully Supported</td></tr><tr><td>User Drives</td><td>Fully Supported</td></tr><tr><td>Permissions</td><td>Fully Supported</td></tr><tr><td>Versions</td><td>Fully Supported</td></tr><tr><td>Modification Retention</td><td>Fully Supported</td></tr><tr><td>Automatic Sanitization</td><td>Fully Supported</td></tr></tbody></table>

\
Tags: googledrive\_domain
