Configure OAuth U2M: Databricks-managed for Microsoft SharePoint ingestion
This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Databricks previews.
This page describes how to configure OAuth U2M: Databricks-managed authentication for Microsoft SharePoint ingestion into Databricks. With this method, Databricks manages the OAuth app registration and token refresh automatically. No Azure app registration is required.
This is the recommended authentication method for most users. If your organization requires control over the OAuth application registration, see OAuth U2M: Custom-managed instead.
Prerequisites
- A Databricks workspace with Unity Catalog enabled.
- The
CREATE CONNECTIONprivilege on the metastore.
Create the connection
- In the Databricks workspace, click
Catalog > Create > Create a connection.
- On the Connection basics page of the Set up connection wizard, specify a unique Connection name.
- In the Connection type drop-down menu, select Microsoft SharePoint.
- In the Auth type drop-down menu, select OAuth U2M: Databricks-managed.
- Click Next.
- On the Authentication page, enter the following:
- Domain: The SharePoint instance URL in the following format:
https://MYINSTANCE.sharepoint.com - Tenant ID: Your Microsoft Entra ID tenant ID.
- Domain: The SharePoint instance URL in the following format:
- Click Sign in.
- In the sign-in window, choose the account you want to authenticate with and complete the sign-in flow.
- Click Create connection.
Only share this connection with other Databricks users if you authenticated with a service account in the previous step. If you authenticated with a personal account, do not share the connection. Sharing a personal-account connection grants other users access to your personal account's credentials and data.