# OneDrive

> OneDrive - The following is required before connecting to OneDrive in DataRobot:

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-21T05:20:22.790875+00:00` (UTC).

## Primary page

- [OneDrive](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md): Full documentation for this topic (Markdown sidecar).

## Sections on this page

- [Supported authentication](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#supported-authentication): In-page section heading.
- [Prerequisites](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#prerequisites): In-page section heading.
- [Generate credentials](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#generate-credentials): In-page section heading.
- [Create an application in Azure](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#create-an-application-in-azure): In-page section heading.
- [Configure the client secret](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#configure-the-client-secret): In-page section heading.
- [Set up a connection in DataRobot](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#set-up-a-connection-in-datarobot): In-page section heading.
- [Required parameters](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#required-parameters): In-page section heading.
- [Feature considerations](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#feature-considerations): In-page section heading.
- [Troubleshooting](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-onedrive.html.md#troubleshooting): In-page section heading.

## Related documentation

- [Reference documentation](https://docs.datarobot.com/en/docs/reference/index.html.md): Linked from this page.
- [Data reference](https://docs.datarobot.com/en/docs/reference/data-ref/index.html.md): Linked from this page.
- [Supported data stores](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/index.html.md): Linked from this page.
- [select a data source](https://docs.datarobot.com/en/docs/agentic-ai/vector-database/vector-dbs.html.md#add-a-data-source): Linked from this page.
- [Account Settings > Data connectionspage](https://docs.datarobot.com/en/docs/platform/acct-settings/nxt-data-connect.html.md): Linked from this page.
- [Allowed source IP addresses](https://docs.datarobot.com/en/docs/reference/data-ref/allowed-ips.html.md): Linked from this page.

## Documentation content

> [!NOTE] 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](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app) for DataRobot in the Azure portal, and then configure its permissions. Use the appropriate configuration parameters based on your authentication type:

**OAuth:**
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

**Service principal:**
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

1. Navigate to your DataRobot application in the Azure portal app registrations (in Microsoft Entra ID > App registrations ).
2. Select Certificates & secrets > Client secrets > New secret .
3. Add a description and expiration date, then click Add .
4. 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. NoteEach 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](https://docs.datarobot.com/en/docs/agentic-ai/vector-database/vector-dbs.html.md#add-a-data-source), add OneDrive as the connection.

You can also set up a OneDrive connection from the [Account Settings > Data connectionspage](https://docs.datarobot.com/en/docs/platform/acct-settings/nxt-data-connect.html.md).

### 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. |
