Configure OAuth U2M: Databricks-managed for Google Drive ingestion

Databricks-managed OAuth U2M authenticates Google Drive ingestion into Azure Databricks. No Google Cloud project or app registration is required. The connector authenticates as an individual Google account, so it ingests only the files that account can access.

Tip

If your organization requires control over the OAuth application registration, see OAuth U2M: Custom-managed instead.

Prerequisites

  • A Azure Databricks workspace with Unity Catalog enabled.
  • The CREATE CONNECTION privilege on the metastore.
  • A Google account with at least read access to the files, folders, or shared drives you want to ingest. The connector ingests only the files that account can access.

Create the connection

If OAuth U2M: Databricks-managed isn't listed in your workspace, use OAuth U2M: Custom-managed.

  1. In the Azure Databricks workspace, click Data icon. Catalog > Create > Create a connection.
  2. On the Connection basics page of the Set up connection wizard, specify a unique Connection name.
  3. In the Connection type drop-down menu, select Google Drive.
  4. In the Auth type drop-down menu, select OAuth U2M: Databricks-managed.
  5. (Optional) Add a comment.
  6. Click Next.
  7. Click Sign in with Google.
  8. In the sign-in window, choose the Google account you want to authenticate with, then grant the requested permissions.
  9. Click Create connection.

Warning

Sharing a personal account connection grants other users access to your personal account's data.

Next steps

  1. Ingest data from Google Drive
  2. Common pipeline maintenance tasks