> For the complete documentation index, see [llms.txt](https://docs.langstack.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.langstack.com/welcome/in-depth-learning/connectors/onedrive-connector.md).

# OneDrive connector

## Azure Active Directory

Azure Active Directory (Azure AD) is Microsoft’s cloud-based identity and access management service, which helps your employees sign in and access resources using applications built under AAD.

## OAuth2.0 Flow

OAuth 2.0 stands for “Open Authorization”. It is an authorization framework that allows an application (or website) to access resources hosted on other web apps on behalf of the user (delegated access). The data or files are accessed using relevant credentials and limits are defined in the scope or permissions. This type of authorization requires the user's consent.

## Prerequisites

In order to establish the Connection through the OneDrive Connector, the user must have the following information:

1. Microsoft Account
2. Configure Application in Azure Portal (Under Azure AD).&#x20;

## Introduction

OneDrive Connector is used to establish a connection between applications and OneDrive to access files from OneDrive. By using OneDrive Connector, a user can upload, download and update files to/from OneDrive inside Langstack with a secure mechanism to ensure security.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.langstack.com/welcome/in-depth-learning/connectors/onedrive-connector.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
