OneDrive¶
Self-Managed AI Platform installations
The Microsoft OneDrive connector will be automatically installed and does not need to be manually added.
Supported authentication¶
- Azure OAuth (delegated access)
- Azure service principal (app-only access)
Prerequisites¶
The following is required before connecting to OneDrive in DataRobot:
- A OneDrive account authenticated with Azure OAuth or service principal
- Data stored in OneDrive
Generate credentials¶
At the end of this section, you will have a fully configured application, including the required fields for your chosen authentication type.
OAuth required fields:
- Client ID
- Client Secret
- Scopes
Service principal required fields:
- Client ID
- Client Secret
- Tenant ID
Create an application in Azure¶
To support Azure OAuth or service principal, you must create and register an application for DataRobot in the Azure portal, and then configure its permissions. Use the appropriate configuration parameters based on your authentication type:
| Configuration parameter | Description |
|---|---|
| Supported account types | Accounts in any organizational directory and personal Microsoft accounts (multi-tenant). Accounts in any organizational directory (multi-tenant). |
| Redirect URI | Select Web and enter a redirect URI as follows: (SaaS) https://<host>.datarobot.com/account/azure/azure_oauth_authz_return(Self-managed) https://<customer-datarobot-host>/account/azure/azure_oauth_authz_return |
| Configuration parameter | Description |
|---|---|
| Supported account types | Select Accounts in this organization directory only (single-tenant). |
| Redirect URI | N/A |
After registration is complete, go to the Overview page and copy the following information:
- Application ID (
Client ID) - Directory ID (
Tenant ID—service principal only)
Configure the client secret¶
- Navigate to your DataRobot application in the Azure portal app registrations (in Microsoft Entra ID > App registrations).
- Select Certificates & secrets > Client secrets > New secret.
- Add a description and expiration date, then click Add.
-
After saving the client secret, the value of the client secret is displayed. This value is only displayed once, so make sure you copy and store it.
Note
Each client secret has an expiration date. To avoid OAuth outages, it is recommended that you periodically create a new client secret. Once you've created a new client secret, you must update all associated credentials.
Set up a connection in DataRobot¶
To connect to OneDrive, create a vector database, and when you select a data source, add OneDrive as the connection.
You can also set up a OneDrive connection from the Account Settings > Data connections page.
Required parameters¶
Parameters are not required to connect to Microsoft OneDrive.
Feature considerations¶
- The OneDrive connector only supports unstructured data and is only available during vector database creation.
- You can only add and view the OneDrive connector as part of the vector database create workflow and from Account settings > Data connections. You cannot view OneDrive connections in other areas where you work with datasets (structured data), for example, the Browse data modal in NextGen or the AI Catalog in DataRobot Classic.
Troubleshooting¶
| Problem | Solution | Instructions |
|---|---|---|
| When attempting to execute an operation in DataRobot, the firewall requests that you clear the IP address each time. | Add all allowed IPs for DataRobot. | See Allowed source IP addresses. If you've already added the allowed IPs, check the existing IPs for completeness. |