> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SharePoint

> Access and manage SharePoint sites, document libraries, and files

## At a glance

* **Availability**: Enabled by default.
* **Auth**: OAuth 2.0.
* **Connection**: A user authorizes the connection in the provider's consent screen.
* **Scopes**: `Sites.Read.All`, `Sites.ReadWrite.All`, `Files.Read.All`, `Files.ReadWrite.All`, `offline_access`.

## Credentials

Set these per environment. See [Connect an integration](/cloud/integrations).

With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.

| Variable                  | Required | Description                                                                                                                                           |
| ------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| `MICROSOFT_CLIENT_ID`     | Yes      | Microsoft Azure App Client ID (shared with Outlook/Teams) [Docs](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade). |
| `MICROSOFT_CLIENT_SECRET` | Yes      | Microsoft Azure App Client Secret [Docs](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade).                         |

## Tools

| Tool                  | Access | Description                                                                      |
| --------------------- | ------ | -------------------------------------------------------------------------------- |
| List SharePoint Sites | Read   | List all SharePoint sites the user has access to                                 |
| Get Site Details      | Read   | Get detailed information about a specific SharePoint site                        |
| List Files            | Read   | List files and folders in a SharePoint document library                          |
| Get File              | Read   | Get file metadata and content from SharePoint                                    |
| Upload File           | Write  | Upload a file to a SharePoint document library                                   |
| Search Files          | Read   | Search for files and folders in a SharePoint document library by name or content |
| Download File         | Read   | Download file content from a SharePoint document library                         |

## Example prompts

* Search for documents in SharePoint sites and summarize their content.
* Show me the most recently modified files across all SharePoint sites I have access to.
* Help me organize and categorize documents in a SharePoint library.
