---
title: "Connect OneDrive to Microsoft SharePoint - APIANT.ai"
description: "When \"File Updated\" fires in OneDrive, your agent runs \"Add Attachment To List Item\" in Microsoft SharePoint."
canonical: "https://apiant.ai/connect/onedrive-to-microsoft-sharepoint"
---

# Connect OneDrive to Microsoft SharePoint

When **File Updated** fires in [OneDrive](https://apiant.ai/connections/onedrive), your agent runs **Add Attachment To List Item** in [Microsoft SharePoint](https://apiant.ai/connections/microsoft-sharepoint). Describe the whole flow and it is built, tested on every scenario and kept running.

OneDrive **9** triggers OneDrive **87** actions Microsoft SharePoint **100** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want OneDrive and Microsoft SharePoint to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Example flows

## What OneDrive can start in Microsoft SharePoint

- When **File Updated** in OneDrive then **Add Attachment To List Item** in Microsoft SharePoint
- When **Item Moved or Renamed** in OneDrive then **Add Role Assignment To Item** in Microsoft SharePoint

Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.

Everything your agent can do with OneDrive and Microsoft SharePoint

## Triggers and actions 9 triggers · 187 actions

- Trigger

**File Updated**

Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.

- Trigger

**Item Moved or Renamed**

Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.

- Trigger

**New Version Created**

Trigger that fires when a new version of a specified OneDrive file is created.

- Trigger

**Onedrivebasetrigger**

Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.

- Trigger

**OneDrive File Created Trigger**

Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

- Trigger

**OneDrive Folder Created Trigger**

Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

- Trigger

**OneDrive Item Deleted Trigger**

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

- Trigger

**OneDrive Item Updated Trigger**

Triggers when an existing file or folder is modified in OneDrive. Uses Gmail-style state management and only detects actual modifications, not new creations.

- Trigger

**Sharing Permission Added or Removed**

Sharing Permission Added or Removed

- Action

**Add Workbook Worksheet**

Adds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.

- Action

**Checkin Item**

Tool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.

- Action

**Checkout Item**

Tool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.

- Action

**Clear Workbook Range**

Clears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.

- Action

**Close Workbook Session**

Close an Excel workbook session without deleting the workbook.

- Action

**Copy Item**

Tool to copy a driveitem (file or folder) to a new location asynchronously. use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. the operation is asynchronous; the response provides a url to monitor the copy progress.

- Action

**Create Item Permission**

Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.

- Action

**Create Link**

Tool to create a sharing link for a driveitem (file or folder) by its unique id. use when you need to generate a shareable link for an item in onedrive or sharepoint.

- Action

**Create Sharepoint List Item**

Create an item in a SharePoint list using Microsoft Graph through the OneDrive connection. Use when you need to add a new row/item to a SharePoint list after resolving the site ID and list ID.

- Action

**Create Workbook Session**

Create a persistent or temporary session for an Excel workbook.

- Action

**Delete Item**

Tool to delete a driveitem (file or folder) by its unique id from the authenticated user's onedrive. use when you need to remove an item from onedrive. this action moves the item to the recycle bin, not permanently deleting it.

- Action

**Delete Item Permanently**

Tool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.

- Action

**Delete Item Permission**

Tool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.

- Action

**Delete Share Permission**

Tool to delete the permission navigation property for a shared drive item. Use when you need to remove a sharing link permission. This effectively revokes access via the specific share link.

- Action

**Delete Sharepoint Item Permission**

Revoke a Microsoft Graph beta permission from a SharePoint list or list item.

- Action

**Delete Workbook Range**

Deletes a range of cells from a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to remove a specific cell range and shift the remaining cells to fill the gap. This action is irreversible — the deleted range cannot be recovered once removed. The operation requires Files.ReadWrite scope and the workbook must not be locked by another user or process.

- Action

**Delete Workbook Worksheet**

Deletes a worksheet from a workbook in OneDrive by its ID or name. Use this action when you need to remove a specific worksheet from an Excel workbook stored in OneDrive or SharePoint. This action is irreversible — the worksheet cannot be recovered once deleted. Note that deleting the last visible worksheet in a workbook may result in an error.

- Action

**Download File**

Downloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.

- Action

**Download File By Path**

Downloads the contents of a file from OneDrive by its path. The API returns a 302 redirect to a pre-authenticated download URL. Use when you know the file path but not the item ID.

- Action

**Download Item As Format**

Tool to download the contents of a driveItem converted to a specific format (e.g., PDF or HTML). Use when you need to convert Office documents to PDF or Loop/Fluid files to HTML before downloading. Supports accessing items by item_id or by path, and can target specific drives via drive_id.

- Action

**Download Item Version**

Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.

- Action

**Download Thumbnail By Path**

Download thumbnail image bytes for a path-addressed item in the current user's OneDrive.

- Action

**Follow Item**

Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.

- Action

**Format Workbook Range**

Apply dimensions, alignment, wrapping, font, fill, and borders to a workbook range. Components are updated sequentially, not atomically, so earlier formatting remains if a later update fails.

- Action

**Get Drive**

Retrieves the properties and relationships of a drive resource by its unique id. use this action when you need to get details about a specific onedrive, user's onedrive, group's document library, or a site's document library.

- Action

**Get Drive Item By Sharing Url**

Tool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream actions like permissions or download.

- Action

**Get Drive Item List Item**

Retrieve the SharePoint list item associated with a driveItem.

- Action

**Get Followed Item**

Tool to retrieve a specific followed driveItem from a drive. Use when you need to get details about a file or folder that the user has marked to follow.

- Action

**Get Item**

Retrieves the metadata of a driveitem by its unique id. use this tool to get information about a specific file or folder in onedrive when you have its id. if a `drive id` is not provided, it defaults to the user's main drive.

- Action

**Get Item By Path**

Retrieve OneDrive or SharePoint driveItem metadata by drive-relative path.

- Action

**Get Item Permissions**

Retrieves the permissions of a driveitem by its unique id or path within a specific drive. use when you need to check who has access to a file or folder and what level of access they have.

- Action

**Get Item Thumbnails**

Tool to retrieve the thumbnails associated with a driveitem. use when you need to display visual previews of files.

- Action

**Get Item Versions**

Tool to retrieve the version history of a driveitem by its unique id. use when you need to access or list previous versions of a file.

- Action

**Get Quota**

Tool to retrieve the quota information for the authenticated user's onedrive. use this action to check the storage space details like total, used, and remaining space on the user's onedrive.

- Action

**Get Recent Items**

Retrieves a list of items that have been recently used by the authenticated user. this tool is useful when you need to access or display files and folders that the user has interacted with recently across their onedrive and accessible shared drives.

- Action

**Get Share**

Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.

- Action

**Get Shared Items**

Tool to retrieve a list of items that have been shared with the authenticated user. use this action to get details of files and folders shared with the current user.

- Action

**Get Sharepoint List Items**

Tool to get the items (list items) within a specific sharepoint list on a site. use when you need to retrieve data from a sharepoint list.

- Action

**Get Site**

Retrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.

- Action

**Get Site Details**

Retrieves metadata for a specific sharepoint site by its id. use this action when you need to get details like display name, web url, and creation/modification dates for a known sharepoint site.

- Action

**Get Site Page Content**

Gets the content of a modern sharepoint site page. use when you need to retrieve the details and content of a specific page within a sharepoint site.

- Action

**Get Special Folder**

Tool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.

- Action

**Get Workbook Range Fill**

Read the fill color applied to an Excel worksheet range.

- Action

**Get Workbook Used Range**

Retrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.

- Action

**Get Workbook Worksheet**

Retrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.

- Action

**Grant Share Permission**

Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.

- Action

**Grant Sharepoint Item Permission**

Grant an application permission on a SharePoint list or list item using Microsoft Graph beta.

- Action

**Inspect Workbook Table**

Read a workbook table's occupied range and one page of its columns.

- Action

**Invite User To Drive Item**

Tool to invite users or grant permissions to a specific item in a onedrive drive. use when you need to share a file or folder with other users and define their access level (e.g., read or write).

- Action

**List All Drive Items**

Lists a complete OneDrive or SharePoint drive safely, one Microsoft Graph delta page per invocation. Start without `page_token`, then pass each `next_page_token` back until `sync_complete` is true. The terminal `delta_token` can be saved and passed back later to fetch changes since the completed snapshot. Delta enumeration is stable under concurrent writes and avoids the request burst caused by recursively fetching every folder in one execution.

- Action

**List Drive Item Activities**

Tool to list recent activities for a specific item in a onedrive drive. use when you need to track changes or actions performed on a file or folder.

- Action

**List Drives**

Tool to retrieve a list of drive resources available to the authenticated user, or for a specific user, group, or site. use when you need to find out what drives are accessible.

- Action

**List Folder Children**

List the direct children (files/folders) of a OneDrive/SharePoint folder by DriveItem ID or path. Returns reliable pagination tokens for large folders. Use when you need to enumerate folder contents deterministically, find companion artifacts (e.g.,.vtt/.docx files), or browse within a known folder.

- Action

**List Item Activities**

Tool to list recent activities for a specific item in a OneDrive drive. Use when you need to track changes or actions performed on a file or folder.

- Action

**List Root Drive Changes**

Tool to list changes in the root of the user's primary drive using a delta token. use when you need to track file and folder modifications, additions, or deletions in the main onedrive directory.

- Action

**List Share Permissions**

Tool to retrieve permission details for a shared OneDrive or SharePoint item using a share ID. Use when you have an encoded sharing URL and need to check the permission level, password protection, and access details.

- Action

**List Sharepoint Item Permissions**

List Microsoft Graph beta permissions from a SharePoint list or list item.

- Action

**List Sharepoint List Items Delta**

Tool to track changes to items in a sharepoint list using a delta query. use when you need to get newly created, updated, or deleted list items without performing a full read of the entire item collection.

- Action

**List Site Columns**

Tool to list all column definitions for a sharepoint site. use this when you need to retrieve the schema or structure of columns within a specific sharepoint site.

- Action

**List Site Drive Items Delta**

Tool to track changes to driveitems in the default document library of a sharepoint site. use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.

- Action

**List Site Items Delta**

Tool to track changes to DriveItems in the default document library of a SharePoint site. Use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.

- Action

**List Site Lists**

Tool to list all lists under a specific sharepoint site. use when you need to enumerate lists within a known site.

- Action

**List Site Subsites**

Tool to list all subsites of a sharepoint site. use when you need to retrieve a collection of subsites for a given parent site.

- Action

**List Subscriptions**

Tool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.

- Action

**List Workbook Worksheets**

Retrieves a list of all worksheets in an Excel workbook stored in OneDrive or SharePoint. Returns worksheet metadata including IDs, names, positions, and visibility states. Use this action when you need to enumerate available worksheets in a workbook, find a specific worksheet by name, or understand the workbook structure before performing operations on worksheet data.

- Action

**Move Item**

Tool to move a file or folder to a new parent folder in onedrive. use when you need to reorganize your files or folders by changing their location. you can optionally rename the item during the move.

- Action

**Onedrive Create Folder**

Creates a new folder in the user's onedrive, automatically renaming on conflict, optionally within a specified parent folder (by id or full path from root) which, if not the root, must exist and be accessible.

- Action

**Onedrive Create Text File**

Creates a new text file with specified content in a onedrive folder, using either the folder's unique id or its absolute path (paths are automatically resolved to ids); note that onedrive may rename or create a new version if the filename already exists.

- Action

**Onedrive Find File**

Non-recursively finds an item (file or folder) in a specified onedrive folder; if `folder` is provided as a path, it must actually exist.

- Action

**Onedrive Find Folder**

Finds folders by name within an accessible parent folder in onedrive, or lists all its direct child folders if no name is specified.

- Action

**Onedrive List Items**

Retrieves all files and folders as `driveitem` resources from the root of a specified user's onedrive, automatically handling pagination.

- Action

**Onedrive Upload File**

Uploads a file to a specified onedrive folder, automatically renaming on conflict and supporting large files via chunking.

- Action

**Preview Drive Item**

Generates or retrieves a short-lived embeddable url for a preview of a specific item. use when you need to display a temporary preview of a file.

- Action

**Read Workbook Range**

Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').

- Action

**Restore Item Version**

Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.

- Action

**Search Drive Items**

Search OneDrive and accessible SharePoint files with Microsoft Graph Search. This does not produce a complete shared-with-me list; use deprecated ONE_DRIVE_GET_SHARED_ITEMS only when full shared-with-me enumeration is required before Microsoft removes that API in November 2026. Requires OneDrive permissions plus Sites.Read.All because SharePoint-backed files can appear in results.

- Action

**Search Items**

Searches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.

- Action

**Search Sharepoint Sites**

Search SharePoint sites visible to an organizational Microsoft account.

- Action

**Track Folder Changes**

Track changes beneath one folder, one Microsoft Graph delta page at a time.

- Action

**Unfollow Item**

Tool to unfollow a driveItem by removing it from the user's followed items collection. Use when you need to stop following a file or folder that was previously marked to follow.

- Action

**Update Drive Item Metadata**

Tool to update the metadata of a specific item (file or folder) in onedrive. use this to rename items, change descriptions, or move items to a new parent folder.

- Action

**Update File Content**

Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.

- Action

**Update Sharepoint Item Permission**

Update an application permission on a SharePoint list or list item using Microsoft Graph beta.

- Action

**Update Sharepoint List Item Fields**

Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.

- Action

**Update Workbook Range**

Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.

- Action

**Update Workbook Worksheet**

Updates properties of a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to rename a worksheet, change its position (tab order), or modify its visibility state. At least one of name, position, or visibility must be provided in the request. The worksheet is identified by its ID or display name within the specified workbook.

- Action

**Write Workbook Cell**

Updates the value, formula, or format of a specific cell in an Excel workbook stored in OneDrive. Use this action when you need to write data to a single cell at a specific row and column position. The row and column parameters are 0-indexed (row 0 is the first row, column 0 is column A).

- Action

**Add Attachment To List Item**

Tool to add an attachment to a SharePoint list item. Use when you need to upload a binary file as an attachment to a specified list item.

- Action

**Add Default View Field**

Add one existing field to a SharePoint list's default view. This changes view membership but does not create or modify the field itself.

- Action

**Add Field Link To Content Type**

Tool to add a field link to a list content type. Use when you want to associate an existing list field with a content type.

- Action

**Add Role Assignment To Item**

Tool to add a role assignment to a list item. Use when granting specific permissions to a user or group after breaking inheritance if needed. This action is externally visible and permanently alters item permissions; obtain explicit human approval for the target item and `role_definition_id` before executing.

- Action

**Add Role Assignment To List**

Tool to add a role assignment to a SharePoint list. Requires the list to have broken role inheritance first via SHARE_POINT_BREAK_ROLE_INHERITANCE_ON_LIST; inheriting lists will reject unique role assignments. Use when granting permissions to a user or group on a specific list.

- Action

**Break Role Inheritance On Item**

Tool to break permission inheritance on a list item. Call this before adding new role assignments; adding assignments prior leaves the item still inheriting parent permissions, causing unexpected access behavior. Use when you need to uniquely set permissions on an item after copying or clearing parent assignments.

- Action

**Break Role Inheritance On List**

Breaks permission inheritance on a SharePoint list, allowing you to set unique permissions. When you break inheritance, you can choose to: - Copy parent permissions as a starting point (copy_role_assignments=true) - Start fresh with no inherited permissions (copy_role_assignments=false) - Clear unique permissions on child items to re-inherit from this list (clear_subscopes=true) Use this when you need to manage list-level permissions independently from the site. Must be called before SHARE_POINT_ADD_ROLE_ASSIGNMENT_TO_LIST, which fails on lists still inheriting from the parent site.

- Action

**Check In File**

Tool to check in a file. Use after uploading or editing a document and you're ready to finalize changes.

- Action

**Check Out Site Page**

Check out a modern SharePoint page by its positive Site Pages list-item ID.

- Action

**Clear Default View Fields**

Remove every field from a SharePoint list's default view without deleting the fields themselves. This is a destructive view-configuration operation; use it only when the entire current default-view layout should be cleared.

- Action

**Copy Drive Item**

Start an asynchronous copy of a drive item and return Microsoft's monitor URL. A successful call means the copy was accepted, not completed; inspect the monitor outside this action until it reports completed or failed.

- Action

**Create Content Type**

Tool to create a new content type in SharePoint. Use when you need to define a custom content type with specific metadata structure for lists or libraries.

- Action

**Create Drive Item Sharing Link**

Tool to create a sharing link for a drive item in SharePoint or OneDrive. Use when you need to generate a shareable link with specific permissions (view/edit/embed) and scope (anonymous/organization/users). The link can optionally include password protection and expiration date.

- Action

**Create List Field**

Tool to create a new field (column) in a SharePoint list. Use when you need to programmatically add a column after confirming the list GUID.

- Action

**Create List Item By Id**

Tool to create a new item in a SharePoint list using the list's GUID. Use when you have the list GUID rather than the list title.

- Action

**Create List Item In Folder**

Tool to create a list item in a specific folder within a SharePoint list. IMPORTANT: This action works ONLY with SharePoint lists (not document libraries). The folder_url can be either a server-relative URL (e.g., '/Lists/MyList') or an absolute URL. To create files in document libraries, use a different action like upload_file.

- Action

**Create List View**

Create a view in a SharePoint list selected by GUID or exact title. Optional view settings are sent only when provided.

- Action

**Create Site Field**

Create a reusable web-level SharePoint field (site column) in the selected site. Use the returned field GUID and internal name when attaching or updating the site column.

- Action

**Create Upload Session**

Create a resumable upload session for a new file and return its preauthenticated upload URL.

- Action

**Delete File Item**

Deletes a file from a SharePoint document library permanently. This action removes the specified file and moves it to the site's recycle bin. Use this when you need to remove files that are no longer needed. This action is irreversible — the file cannot be recovered once removed from the recycle bin. The operation is idempotent - attempting to delete a non-existent file will succeed without error. Requires the server-relative path of the file (e.g., '/Shared Documents/FileName.ext').

- Action

**Delete Folder**

Deletes a folder from a SharePoint document library. This action permanently removes the specified folder and moves it to the site's recycle bin. Use this when you need to remove folders that are no longer needed. The operation is idempotent - attempting to delete a non-existent folder will succeed without error. Requires the server-relative path of the folder (e.g., '/Shared Documents/FolderName').

- Action

**Delete List**

Tool to delete a SharePoint list. Use when you need to remove a list by its GUID after confirming the correct list identifier.

- Action

**Delete List By Title**

Tool to delete a SharePoint list by its title. Use when you need to permanently remove a list and all its contents by specifying the list name.

- Action

**Delete List Item**

Tool to delete a SharePoint list item. Use when you need to permanently remove an item by its ID. Use after obtaining the item's ETag to ensure concurrency control.

- Action

**Delete List Items**

Tool to delete multiple SharePoint list items in bulk. Use when you need to permanently remove multiple items by their IDs. This action is irreversible - deleted items cannot be recovered. For recoverable deletion, use the recycle action instead. Use this action when you have a list of item IDs to delete from the same list.

- Action

**Delete Recycle Bin Item Permanent**

Tool to permanently delete a SharePoint Recycle Bin item. Use after confirming the item's GUID to remove it irrevocably.

- Action

**Download File By Server Relative Url**

Tool to download a file by server-relative URL. Use when you need to fetch the raw bytes of a SharePoint file by its server-relative path.

- Action

**Ensure User**

Ensures a user exists in a SharePoint site by their login name. If the user already exists, returns their info; if not, adds them to the site — this is a write operation with a provisioning side effect, not a read-only presence check. Use when you need to add a user or get their user ID for permissions. The login name must be in SharePoint claims format (e.g., 'i:0#.f|membership|user@domain.com'). This action only registers the user in the site collection and does not grant any permissions. To assign list-level access, pass the returned Id field as principal_id to SHARE_POINT_ADD_ROLE_ASSIGNMENT_TO_LIST.

- Action

**Follow**

Follow a SharePoint user, document, site, or tag. Use to make the authenticated user follow a specified actor. Supports following users (actor_type=0), documents (actor_type=1), sites (actor_type=2), or tags (actor_type=3).

- Action

**Get Changes**

Tool to retrieve changes from SharePoint list change log. Use when processing webhook notifications to get actual changes that occurred. Set boolean flags in query (Add, Item, Update, etc.) to filter change types. Store the ChangeToken from the last change and use as ChangeTokenStart in subsequent calls to track only new changes.

- Action

**Get Content Type**

Tool to retrieve a single SharePoint content type by its ID. Use when you need detailed information about a specific content type including its fields, forms, and metadata.

- Action

**Get Content Types For List**

Tool to retrieve all content types for a specific SharePoint list by GUID. Use when you need the content type IDs, names, and descriptions of every content type in a list.

- Action

**Get Drive By Id**

Get one SharePoint or OneDrive drive by its drive ID from the selected site endpoint.

- Action

**Get Drive Item Analytics**

Tool to get analytics for a SharePoint drive item. Use when you need to retrieve access statistics (view counts, unique viewers) for files or folders in SharePoint/OneDrive.

- Action

**Get Drive Item By Id**

Get metadata for one file or folder by drive ID and item ID from a SharePoint site or provider-derived OneDrive for Business personal-site URL.

- Action

**Get Drive Item Thumbnails By Path**

Retrieve thumbnail URL and dimension sets for a default-drive item by path.

- Action

**Get Group Users**

Retrieves all users who are members of a specified SharePoint group. This action returns user information including IDs, names, email addresses, login names, and permission details. Supports OData query parameters for filtering, sorting, field selection, and pagination. Use this when you need to audit group membership, check user permissions, or list members of a specific group.

- Action

**Get Group Users By Id**

Tool to retrieve all users in a specific SharePoint site group by group ID. Use when you have the numeric group ID and need to list all members of that group, including their IDs, names, email addresses, and permission details. Supports OData query parameters for filtering, sorting, field selection, and pagination.

- Action

**Get Item Attachment Content**

Tool to download an attachment from a SharePoint list item. Use when retrieving the binary contents of a specific attachment after confirming the list title, item ID, and filename.

- Action

**Get List By Guid**

Tool to retrieve a SharePoint list by its GUID. Use when you need to fetch list metadata by its unique identifier. Prefer over name-based lookup tools when the GUID is known, as names may collide across similarly named lists.

- Action

**Get List By Title**

Tool to retrieve a SharePoint list by its title. Use when you need to fetch list metadata by title.

- Action

**Get List Content Type By Id**

Tool to retrieve a specific content type from a SharePoint list by its ID. Use when you need detailed information about a particular content type including its fields, schema, and metadata.

- Action

**Get List Field**

Get one field definition from a SharePoint list by field GUID or exact internal name/title.

- Action

**Get List Item By Id**

Tool to retrieve a SharePoint list item by ID. Use when you need to fetch a specific item after knowing its ID.

- Action

**Get List Items**

Tool to retrieve items from a SharePoint list. Use when you need to fetch list entries with optional OData parameters.

- Action

**Get List Items By Guid**

Tool to retrieve items from a SharePoint list using its GUID. Use when you have the list's unique identifier and need to fetch list entries with optional OData parameters.

- Action

**Get List Item Version**

Tool to retrieve a specific version of a SharePoint list item. Use when you need to access historical versions of list items.

- Action

**Get Shares**

Access a shared SharePoint file or folder by share ID or encoded sharing URL without granting lasting access.

- Action

**Get Site By Hostname**

Retrieve SharePoint site information by hostname or URL. Returns site metadata including site ID, display name, URLs, and timestamps. Use this action when you need to discover a site's identifier or properties using only its hostname, which is essential for subsequent operations requiring siteId. Useful for validating site existence or obtaining site metadata without prior knowledge of internal IDs.

- Action

**Get Site By Id**

Tool to retrieve information about a SharePoint site (web) by its unique identifier. Use this action when you have a specific site GUID and need to fetch its metadata such as title, URL, language, or template information.

- Action

**Get Site Drive Item By Path**

Tool to retrieve a file or folder by its server-relative path in a SharePoint site. Use when you need to get metadata for an item (file or folder) by path.

- Action

**Get Site Page Content**

Tool to retrieve modern SharePoint Site Pages content by reading list item fields. Use when a.aspx page result cannot be downloaded as a file or when you need the structured content (CanvasContent1, LayoutWebpartsContent) of modern pages.

- Action

**Get Upload Session**

Returns the status of a resumable file upload session: which byte ranges are still expected and when the session expires.

- Action

**Get User Effective Permissions On Web**

Get a user's effective permissions on the current SharePoint site (Web). This action retrieves the combined permissions a user has on the site, taking into account direct permissions, group memberships, and permission inheritance. Use this when you need to verify what permissions a user or group has before performing operations. The response contains permission masks as 64-bit integers split into high and low 32-bit values. A value of "0" for both means no permissions. Returns site-level permissions only; list-level or item-level grants and restrictions are not reflected.

- Action

**Get Webhook Subscriptions**

Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.

- Action

**Is Followed**

Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.

- Action

**List Content Type Field Links**

Returns the field links (columns) attached to a SharePoint site content type.

- Action

**List Default View Fields**

List the field internal names currently displayed in a SharePoint list's default view. Use this before adding or clearing default-view fields, and use SHARE_POINT_LIST_LIST_COLUMNS when full field definitions are needed.

- Action

**List Drive Children**

Tool to list children (files and folders) in a SharePoint drive using REST API v2.0. Use when you need to enumerate items in a drive's root folder or a specific folder within the drive.

- Action

**List Drive Item Permissions**

List effective sharing permissions for one drive item. This returns drive-item sharing/link permissions, not SharePoint web role assignments; non-owners may receive only permissions that apply to them.

- Action

**List Drive Item Versions**

List retained versions of a SharePoint drive item, newest first.

- Action

**List Drive Recent Items**

Tool to list recently modified items in a SharePoint drive using Microsoft Graph API. Returns files and folders from the root folder sorted by modification time (most recent first). Note: This action uses the /root/children endpoint with $orderby=lastModifiedDateTime desc to retrieve recently modified items from the root folder.

- Action

**List Files In Folder**

Tool to list files within a SharePoint folder (non-recursive; does not enumerate subfolders). Use when you need to enumerate all files in a folder by its server-relative URL. To cover nested structures, call the tool separately for each subfolder.

- Action

**List Item Attachments**

Tool to list all attachments for a SharePoint list item. Use when you need to retrieve filenames and server-relative URLs of each attachment after confirming the list title and item ID.

- Action

**List List Columns**

List column definitions for a SharePoint list. First use SHARE_POINT_LIST_ALL_LISTS on the target site to obtain the list Id, then call this action with that list_id and the same site_name. Returns field metadata including column names, types, and properties.

- Action

**List List Views**

List saved views for a SharePoint list selected by GUID or exact title, with optional OData projection, filtering, sorting, and offset pagination.

- Action

**List Scoped Role Assignments**

List principals and expanded permission-level bindings on a SharePoint list or list item. The delegated user must have a permission level containing Enumerate Permissions on the selected resource.

- Action

**List Subfolders In Folder**

Tool to list immediate child folders within a SharePoint folder. Use when you need folder navigation or directory discovery by server-relative URL.

- Action

**Publish Site Page**

Publish the latest version of a modern SharePoint site page by its positive item ID.

- Action

**Recycle File**

Tool to move a file to the Recycle Bin. Use when you need to recycle a file after confirming its folder and filename paths.

- Action

**Recycle List Item**

Tool to move a list item to the Recycle Bin. Use when you need to soft-delete an item but preserve the ability to restore it.

- Action

**Redeem Share**

Redeem a SharePoint sharing link and grant the connected account durable access to the shared file or folder.

- Action

**Rename Folder**

Renames a SharePoint folder by updating its list item metadata. To use this action: 1. Provide the folder path and new leaf folder name. 2. The action updates the folder list item fields needed by SharePoint. The rename operation updates both the folder's display name (Title) and actual name (FileLeafRef). Note: This only changes the folder name, not its location in the hierarchy.

- Action

**Render List Data As Stream**

Retrieve list items from SharePoint with rich metadata and formatting. Returns items in the 'Row' array along with pagination info (FirstRow, LastRow, NextHref). Supports CAML queries via ViewXml for filtering and sorting. Use this when you need list data with properly formatted field values, lookup fields, or managed metadata - more capable than standard OData endpoints.

- Action

**Resolve Sharing Link**

Resolve a SharePoint sharing URL or provider share token to its underlying drive item. Provide exactly one of sharing_url or share_token.

- Action

**Restore Drive Item Version**

Tool to restore a previous version of a SharePoint drive item. Use when you need to revert a file to an earlier version.

- Action

**Restore Recycle Bin Item**

Tool to restore a SharePoint Recycle Bin item. Use when you need to recover a deleted item by providing its GUID.

- Action

**Search Files**

Search for files across all SharePoint sites and OneDrive using Keyword Query Language. Returns files matching the query with metadata like title, path, size, author, and modification time. Use this action when you need to discover files broadly across an organization without knowing specific drive IDs or site locations. Results are automatically filtered to show only document content types. A site_name changes the endpoint context but does not isolate results unless restrict_to_site_path is enabled or query contains an equivalent Path restriction. Use from_index and row_limit parameters to paginate through large result sets.

- Action

**Search Query**

Search SharePoint content using Keyword Query Language (KQL). Returns documents, list items, folders, and other content matching your query. Supports filtering by properties (file type, author, date), pagination, and custom property selection. Results are nested under PrimaryQueryResult→RelevantResults→Table→Rows→Cells as Key/Value pairs requiring explicit extraction. Results are security-trimmed: inaccessible content never appears even if it exists. Use contentclass (e.g., STS_Site, STS_Web, STS_ListItem_DocumentLibrary) in querytext to isolate specific item types. A site_name changes the endpoint context but does not isolate results unless restrict_to_site_path is enabled or querytext contains an equivalent Path restriction.

- Action

**Sharepoint Check Out File**

Tool to check out a file in a document library. Use when you need to lock a file before making changes.

- Action

**Sharepoint Create Folder**

Creates a new folder in sharepoint using the rest api.

- Action

**Sharepoint Create List**

Creates a new list in sharepoint using the rest api.

- Action

**Sharepoint Create List Item**

Creates a new item in a sharepoint list.

- Action

**Sharepoint Create User**

Creates a new user in sharepoint.

- Action

**Sharepoint Find User**

Finds a user in both microsoft graph and sharepoint to verify their existence and status.

- Action

**Sharepoint Remove User**

Removes a user from sharepoint. will not fail if user doesn't exist.

- Action

**Undo Checkout File**

Tool to undo a file checkout, discarding any changes made while checked out. Use when you need to cancel edits and unlock the file without saving.

- Action

**Update Content Type**

Tool to update a SharePoint content type's properties such as name, description, group, or hidden status. Use when you need to modify content type metadata.

- Action

**Update Drive Item**

Tool to update the properties of a drive item (file or folder) in SharePoint using SharePoint REST API. Use when you need to rename files/folders or update their title property.

- Action

**Update File Item**

Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.

- Action

**Update List**

Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.

- Action

**Update List Field**

Update one or more mutable properties of an existing SharePoint list field identified by list and field GUID. Provide at least one of title, description, required, hidden, indexed, or enforce_unique_values. This changes the field schema for the selected list.

- Action

**Update List Item**

Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.

- Action

**Update List View Fields**

Add, move, or remove all fields in one SharePoint list view selected by GUID or title.

- Action

**Update Site**

Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.

- Action

**Update Site Field**

Update mutable properties of an existing SharePoint site field by GUID. Provide at least one of title, description, required, hidden, indexed, or enforce_unique_values. This changes reusable web-level schema for the selected site.

- Action

**Upload File**

Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.

- Action

**Upload From Url**

Tool to fetch a file from a URL and upload it to SharePoint. Use when you need to upload files directly from external URLs without downloading them to the client first. When a file with the same name already exists, use conflict_behavior to control the behavior: - 'replace': Overwrites the existing file (fails with HTTP 423 if the file is locked/open) - 'fail': Returns an error if a file with that name exists - 'rename': Uploads with an auto-generated suffix (e.g., 'report 1.docx'), bypassing file locks

- Action

**Upload Large File**

Create a direct-v2 upload session and upload one file in sequential chunks.

- Action

**Validate And Update Document Fields**

Validate and commit document-library field values for a SharePoint file. Inspect every returned HasException and ErrorMessage because HTTP 200 can include rejected fields.

## Each app on its own

- [ **OneDrive** OneDrive is Microsoft’s cloud storage solution enabling users to store, sync, and share files across...](https://apiant.ai/connections/onedrive)
- [ **Microsoft SharePoint** SharePoint is a Microsoft platform for document management and intranets, enabling teams to collaborate...](https://apiant.ai/connections/microsoft-sharepoint)

Reviews

## What our customers say

## More from OneDrive

- [ **OneDrive to Google Drive** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connect/onedrive-to-google-drive)
- [ **OneDrive to Check Cherry** Check Cherry is the all-in-one platform to manage your Photobooth, Photography Studio, Mobile DJ business...](https://apiant.ai/connect/onedrive-to-check-cherry)
- [ **OneDrive to GoodAPI: Plant Trees** GoodAPI: Plant Trees is an app that allows you to seamlessly plant trees that help restore natural habits...](https://apiant.ai/connect/onedrive-to-goodapi-plant-trees)
- [ **OneDrive to Google Books** REST API for searching Google's book catalog, retrieving book metadata, and managing user bookshelves.](https://apiant.ai/connect/onedrive-to-google-books)
- [ **OneDrive to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/onedrive-to-hubspot)
- [ **OneDrive to Salesforce** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/onedrive-to-salesforce)

## More into Microsoft SharePoint

- [ **HubSpot to Microsoft SharePoint** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/hubspot-to-microsoft-sharepoint)
- [ **Salesforce to Microsoft SharePoint** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/salesforce-to-microsoft-sharepoint)
- [ **Slack to Microsoft SharePoint** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-microsoft-sharepoint)
- [ **Google Sheets to Microsoft SharePoint** Google Sheets](https://apiant.ai/connect/google-sheets-to-microsoft-sharepoint)
- [ **Gmail to Microsoft SharePoint** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/gmail-to-microsoft-sharepoint)
- [ **Google Calendar to Microsoft SharePoint** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-calendar-to-microsoft-sharepoint)

Questions

## OneDrive and Microsoft SharePoint, answered

###

### What can start an automation from OneDrive?

Any of OneDrive's 9 triggers in the catalog, including File Updated, Item Moved or Renamed, New Version Created and OneDrive File Created Trigger. Describe the moment in plain language and your agent picks the right one.

###

### What can your agent do in Microsoft SharePoint when something happens in OneDrive?

Any of Microsoft SharePoint's 100 actions, including Create Content Type, Create Drive Item Sharing Link, Create List Field and Create List Item By Id. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Microsoft SharePoint to OneDrive?

Microsoft SharePoint has no triggers in the catalog today, so automations start in OneDrive. If you need the other direction, ask: your agent reads Microsoft SharePoint's API documentation and adds it.

###

### Do I have to build a connector for OneDrive or Microsoft SharePoint?

No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.

###

### Can my AI client use OneDrive and Microsoft SharePoint without building an automation?

Yes. With your AI client connected to APIANT, ask it to do something in either app once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running. One connection covers both.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
