SharePoint
Comprehensive SharePoint connector for managing sites, document libraries, lists, and content management through Microsoft Graph API.
What you can ask
- Find files in the
Sales / Proposalslibrary modified in the last 7 days. - Share the
Q2 Onboardingsite with view-only access to onboarding@acme.com. - List documents on the
Engineeringsite last edited over 90 days ago.
Set up
SharePoint needs an OAuth application from your organization before anyone can connect. An organization admin completes these steps once.
- Go to Organization > Connectors and find SharePoint. Click Enable, and choose which tools to allow.
- Create an OAuth application in the Microsoft Entra admin center.
- Add the Redirect URI shown in the connector settings to the application.
- Copy the application's Client ID and Client Secret into the connector, then save it.
- Each member connects their own account the first time they use it.
⚠️ Warning: Do not enter your Devs.ai or SharePoint login email or password in the OAuth application fields.
To use one account for the whole organization, turn on Share one connection with everyone. Every member's agents then act as that account, with exactly the access it has.
OAuth scopes used by these tools (6)
Grant the scopes for the tools you plan to allow.
Files.Read.AllFiles.ReadWrite.AllSites.Manage.AllSites.Read.AllSites.ReadWrite.AllUser.Read
Tools
SharePoint offers 35 tools. Admins choose which ones agents can use. See Tool permission groups.
Read (21)
View and search information without changing it.
| Tool | What it does |
|---|---|
files_download_item | Download a file's raw bytes from SharePoint as UTF-8 text or base64, capped at 10 MB; return_download_url=true gives a short-lived URL for larger files. |
files_get_drive_item | Get detailed information about a specific file or folder. |
files_list_drive_items | List files and folders in a SharePoint document library folder. |
files_read_item_text | Read a SharePoint file's contents as text. |
files_search_all | Search for files across ALL SharePoint sites and OneDrive. |
files_search_drive_items | Search for files and folders in a SharePoint document library by query text. |
list_get_columns | Get all columns/fields for a SharePoint list. |
list_items_get_all | Get all items from a SharePoint list. |
list_items_get_by_id | Get a specific SharePoint list item by ID. |
lists_get_by_id | Get a SharePoint list by ID. |
lists_get_by_title | Get a SharePoint list by its display title. |
lists_list_columns | List all columns in a SharePoint list. |
sites_get_by_hostname | Get a SharePoint site by hostname (e.g. contoso.sharepoint.com). |
sites_get_by_id | Get a specific SharePoint site by ID. |
sites_get_by_path | Get a SharePoint site by hostname and server-relative path. |
sites_get_group_root | Get a Microsoft 365 group's team site. |
sites_get_root | Get the organization's default SharePoint root site. |
sites_list_columns | List site-level columns for a SharePoint site. |
sites_list_drives | List all document libraries (drives) for a SharePoint site. |
sites_list_lists | List all lists in a SharePoint site. |
validate_credential | Validate SharePoint credentials. |
Write (5)
Create or send data.
| Tool | What it does |
|---|---|
files_create_folder | Create a new folder in a SharePoint document library. |
files_upload_item | Upload a new file to a SharePoint document library. |
list_items_create | Create a new item in a SharePoint list. |
lists_create_column | Create a new column in a SharePoint list. |
sites_create_list | Create a new SharePoint list. |
Delete or overwrite (9)
Remove or replace existing data.
| Tool | What it does |
|---|---|
files_delete_item | Delete a file or folder from a SharePoint document library. |
files_update_item | Update file or folder name or description. |
list_items_delete | Delete a SharePoint list item. |
list_items_update | Update an existing SharePoint list item. |
lists_delete | Delete a SharePoint list and all its items. |
lists_delete_column | Delete a column from a SharePoint list. |
lists_update | Update a SharePoint list's display name or description. |
lists_update_column | Update a column's display name, description, or required flag. |
sites_update | Update a SharePoint site's display name or description. |