---
title: Microsoft SharePoint Online
slug: microsoft-sharepoint
image: https://make-cxp-documentation.ams3.digitaloceanspaces.com/apps-center-icons/PREVIEW_microsoft-sharepoint.png
docTags: 
createdAt: 2025-02-03T13:28:47.489Z
---

With Microsoft SharePoint Online modules in Make, you can monitor, retrieve, create, delete, and/or update items, lists, pages, sites, files, and or/folders in your Microsoft SharePoint Online account.

To use the Microsoft SharePoint Online modules, you must have a Microsoft SharePoint Online or Office 365 E3 **user** account. You can create a Microsoft SharePoint Online account at [www.microsoft.com](https://www.microsoft.com/en-us/microsoft-365/sharepoint/compare-sharepoint-plans).

## Connect Microsoft SharePoint Online to Make

It is only possible to establish a connection between Make and Microsoft SharePoint Online **user** accounts. For more information on the Authorization Code Flow connection type used, see the [Microsoft OAuth 2.0 authorization code flow documentation](https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow).

To establish the connection:

1. Log in to your Make account, add a Microsoft SharePoint Online module to yourscenario, and click **Create a connection**.
2. Optional: In the **Connection name** field, enter a name for the connection.
3. Optional: Click **Show advanced settings** to enter your custom app client credentials and add additional scopes as needed. Refer to the [Microsoft Register an App guide](https://learn.microsoft.com/en-us/graph/auth-register-app-v2?context=graph%2Fapi%2Fbeta\&view=graph-rest-beta) for more information.
   - If requested, use the following Redirect URI when creating your custom app: `https://www.integromat.com/oauth/cb/azure`.
   - For more information about the permissions, see the [Microsoft Graph permissions reference](https://learn.microsoft.com/en-us/graph/permissions-reference).
4. Click **Save**.
5. If prompted, authenticate your account and confirm access.

You have successfully established the connection. You can now edit your scenario and add more Microsoft SharePoint Online modules. If your connection requires reauthorization at any point, follow the connection renewal steps [here](docId\:SO88FM6pkT0G-adKDDfzZ).

:::hint{type="success"}
When you choose to select the *Site ID* from the drop-down menu, only followed sites are offered in the drop-down menu. To specify a site that is not followed, insert the *Site ID* manually.
:::

## Items

### Watch Items

Retrieves item details when an item is created or updated.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)              |
| -------------- | -------------------------------------------------------------------------------------------------------- |
| **Watch Item** | Select whether you want to watch for a created or modified items.                                        |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID of the site that you want to watch for items. |
| **List ID**    | Enter (map) or select the ID of the list you want to watch for items.                                    |
| **Limit**      | Set the maximum number of items Make will return during one execution cycle.                             |

### List Items

Retrieves all items on a specified list.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                                 |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **List Items** | Select whether you want to specify the Site ID and the List ID manually or select from drop-down menus.                                     |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID or select the site that contains the list you want to retrieve items from.       |
| **List ID**    | Enter (map) or use the ID Finder to search for the list ID or select the list you want to retrieve items from.                              |
| **Limit**      | Set the maximum number of items Make will return during one execution cycle. This module has a maximum limit of 3,500 items to be returned. |

### Get an Item

Returns item details.

| **Connection**  | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                                          |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Get an Item** | Select whether you want to specify the Site ID, the List ID, and the Item ID manually or select from drop-down menus.                                |
| **Site ID**     | Enter (map) or use the ID Finder to search for the site ID or select the site that contains the list with the item you want to retrieve details for. |
| **List ID**     | Enter (map) or use the ID Finder to search for the list ID or select the list that contains the item you want to retrieve details about.             |
| **Item ID**     | Enter (map) or use the ID Finder to search for the item ID or select the item you want to retrieve details about.                                    |

### Create an Item

Creates a new item in a specified list.

| **Connection**    | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Search Method** | Select whether to specify the Site ID and the List ID from drop-down menus or manually, and item fields dynamically or in key-value pairs.<br />- **Select from the list**<br />- Select from drop-down menus.<br />- Enter the item's information into fields that are dynamically loaded, depending on the List ID you select.<br />- **Enter manually (dynamic)**<br />- Enter or use the ID Finder to search.<br />- **It is not possible to map Site ID and List ID values**. If the Site ID or List ID values are mapped, item fields will not load dynamically and must be entered as key-value pairs.<br />- Enter the item's information into fields that are dynamically loaded, depending on the List ID you specify.<br />- **Enter manually (key/value pair)**<br />- Enter, map, or use the ID Finder to search.<br />- Enter the item's information as key-value pairs. |



### Update an Item

Updates an item's fields.

| **Connection**    | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Search Method** | Select whether to specify the Site ID and the List ID from drop-down menus or manually, and item fields dynamically or in key-value pairs.<br />- **Select from the list**<br />- Select from drop-down menus.<br />- Enter the item's information into fields that are dynamically loaded, depending on the List ID you select.<br />- **Enter manually (dynamic)**<br />- Enter or use the ID Finder to search.<br />- **It is not possible to map Site ID and List ID values**. If the Site ID or List ID values are mapped, item fields will not load dynamically and must be entered as key-value pairs.<br />- Enter the item's information into fields that are dynamically loaded, depending on the List ID you specify.<br />- **Enter manually (key/value pair)**<br />- Enter, map, or use the ID Finder to search.<br />- Enter the item's information as key-value pairs. |

### Delete an Item

Deletes an existing item.

| **Connection**     | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                           |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| **Delete an Item** | Select whether you want to specify the Site ID, the List ID, and the Item ID manually or select from drop-down menus.                 |
| **Site ID**        | Enter (map) or use the ID Finder to search for the site ID or select the site that contains the list you want to delete an item from. |
| **List ID**        | Enter (map) or use the ID Finder to search for the list ID or select the list you want to delete an item from.                        |
| **Item ID**        | Enter (map) or use the ID Finder to search for the item ID or select the item you want to delete.                                     |

## List

### Watch Lists

Retrieves list details when a list is created or updated.

| **Connection**  | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv) |
| --------------- | ------------------------------------------------------------------------------------------- |
| **Watch Lists** | Select whether you want to watch the site for created or modified lists.                    |
| **Site ID**     | Enter (map) or use the ID Finder to search for the site ID you want to watch for new lists. |
| **Limit**       | Set the maximum number of lists Make will return during one execution cycle.                |

### List Lists

Retrieves all lists for the site.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                          |
| -------------- | -------------------------------------------------------------------------------------------------------------------- |
| **List Lists** | Select whether you want to specify the Site ID manually or select from drop-down menus.                              |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID or select the site you want to retrieve list details for. |
| **Limit**      | Set the maximum number of lists Make will return during one execution cycle.                                         |

### Get a List

Returns list details.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                            |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| **Get a List** | Select whether you want to specify the Site ID and the List ID manually or select from drop-down menus.                                |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID or select the site that contains the list you want to retrieve details for. |
| **List ID**    | Enter (map) or use the ID Finder to search for the list ID or select the list you want to retrieve details for.                        |

### Create a List

Creates a new list on a specified site.

| **Connection**      | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                 |
| ------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Enter a Site ID** | Select whether you want to specify the Site ID manually or select from drop-down menus.                     |
| **Site ID**         | Enter (map) or use the ID Finder to search for the site ID or select the site you want to create a list at. |
| **Display Name**    | Enter the name of the new list.                                                                             |
| **Description**     | Enter the description of the new list.                                                                      |
| **Add Columns**     | Specify columns of the list.                                                                                |

## Page (Beta)

:::hint{type="success"}
APIs under the `beta` version in Microsoft Graph are subject to change. The use of these APIs in production applications is not supported.
:::

### Watch Pages

Retrieves page details when a page is modified.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)      |
| -------------- | ------------------------------------------------------------------------------------------------ |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID you want to watch for modified pages. |
| **Limit**      | Set the maximum number of pages Make will return during one execution cycle.                     |

### List Pages

Retrieves all pages for a specified site.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                   |
| -------------- | ------------------------------------------------------------------------------------------------------------- |
| **List Pages** | Select whether you want to specify the Site ID manually or select from the drop-down menu.                    |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID or select the site you want to retrieve pages for. |
| **Limit**      | Set the maximum number of pages Make will return during one execution cycle.                                  |

### Get a Page

Retrieves page details.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                              |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **Get a Page** | Select whether you want to specify the Site ID and the Page ID manually or select from drop-down menus.                                  |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID or select the site that contains the page you want to retrieve details about. |
| **Page ID**    | Enter (map) or use the ID Finder to search for the page ID or select the page you want to retrieve details for.                          |

### Publish a Page

Publishes the latest version of a page.

| **Connection**     | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                               |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------- |
| **Publish a Page** | Select whether you want to specify the Site ID and the Page ID manually or select from drop-down menus.                   |
| **Site ID**        | Enter (map) or use the ID Finder to search for the site ID or select the site that contains the page you want to publish. |
| **Page ID**        | Enter (map) or use the ID Finder to search for the page ID or select the page you want to publish.                        |

## Site

### Search Sites

Searches for a site by specified criteria.

| **Connection**              | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv) |
| --------------------------- | ------------------------------------------------------------------------------------------- |
| **Keyword of Display Name** | Enter the search term you want to search the sites for.                                     |
| **Limit**                   | Set the maximum number of sites Make will return during one execution cycle.                |

### Get a Site

Retrieves site details.

| **Connection** | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                       |
| -------------- | ----------------------------------------------------------------------------------------------------------------- |
| **Get a Site** | Select whether you want to specify the Site ID manually or select from the drop-down menu.                        |
| **Site ID**    | Enter (map) or use the ID Finder to search for the site ID or select the site you want to retrieve details about. |

## Files

### Watch Files/Folders

Triggers when a file or folder is created or updated in a specific site.

| **Connection**          | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                         |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Watch Files/Folders** | Select whether you want to watch for a created or updated items.                                                    |
| **Site ID**             | Enter (map) or use the ID Finder to search for the site ID of the site that you want to watch for files/folders in. |
| **Drive ID**            | Select the ID of the drive you want to watch for files/folders in.                                                  |
| **Folder**              | Select the folder you want to watch for files/folders in.                                                           |
| **Query Search**        | Enter a search query (optional).                                                                                    |
| **Choose an Item Type** | Select whether to watch for updates in files, folders, or both.                                                     |
| **Limit**               | Set the maximum number of items Make will return during one execution cycle.                                        |

### Download a File

Downloads a file from a specified site.

| **Connection**                          | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                     |
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| **Enter (File ID & File Path)**         | Select whether to enter a file ID or a file path.                                                               |
| **Enter a File ID / Enter a File Path** | Select whether to select the file id or file path from a list or to enter manually.                             |
| **Site ID**                             | Enter (map) or use the ID Finder to search for the site ID of the site that you want to download a file from.   |
| **Drive ID**                            | Enter (map) or use the ID Finder to search for the drive ID of the drive that you want to download a file from. |
| **File Path**                           | Enter the file path of the file you want to download a file from.                                               |
| **File / File ID**                      | Select or enter the File ID of the file you want to download.                                                   |
| **Convert to PDF**                      | Select whether you want to convert the downloaded file to PDF format.                                           |

### Upload a File

Uploads a new file to a specified site.

| **Connection**                                                | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                          |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| **Enter (Folder Location ID & Path)**                         | Select whether to enter a folder ID or a folder path.                                                                |
| **Enter a Folder Location ID / Enter a Folder Location Path** | Select whether to select the folder location ID/folder location path from a list or to enter manually.               |
| **Site ID**                                                   | Enter (map), select, or use the ID Finder to search for the site ID of the site that you want to upload a file to.   |
| **Drive ID**                                                  | Enter (map), select, or use the ID Finder to search for the drive ID of the drive that you want to upload a file to. |
| **Folder / Folder ID / Folder Path**                          | Enter or select the folder ID or folder that you want to upload a file to.                                           |
| **File Name**                                                 | Enter the name of the file that you want to upload.                                                                  |
| **If the File with the Same Name Exists**                     | Select what to do if a file with the same name already exists.                                                       |
| **Description**                                               | Enter a description of the file.                                                                                     |

## Folders

### Create a Folder

Creates a folder in OneDrive.

| **Connection**         | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                            |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| **Create a Folder**    | Select whether to create a folder by selecting from the list or entering manually.                                     |
| **Site ID**            | Enter (map), select, or use the ID Finder to search for the site ID of the site that you want to create a folder in.   |
| **Drive ID**           | Enter (map), select, or use the ID Finder to search for the drive ID of the drive that you want to create a folder in. |
| **Folder / Folder ID** | Enter or select the folder ID or folder that you want to create a folder in.                                           |
| **New Folder Name**    | Enter a name for the new folder.                                                                                       |

## Other

### Make an API Call

Allows you to perform a custom API call.

| **Connection**   | [Establish a connection to your Microsoft SharePoint Online.](docId\:IePacud4I-vZeqbZGF5gv)                                                                                                                                                                                                   |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **URL**          | Enter a path relative to `https://graph.microsoft.com`.For example: `/beta/sites`.<br />For the list of available endpoints, refer to the [SharePoint API in Microsoft Graph Documentation](https://docs.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-beta).            |
| **Method**       | Select the HTTP method you want to use:<br />**GET**<br />to retrieve information for an entry.<br />**POST**<br />to create a new entry.<br />**PUT**<br />to update/replace an existing entry.<br />**PATCH**<br />to make a partial entry update.<br />**DELETE**<br />to delete an entry. |
| **Headers**      | Enter the desired request headers. You don't have to add authorization headers; we already did that for you.                                                                                                                                                                                  |
| **Query String** | Enter the request query string.                                                                                                                                                                                                                                                               |
| **Body**         | Enter the body content for your API call.                                                                                                                                                                                                                                                     |

### Example of Use - List Lists (beta)

The following API call returns all the lists on a specified site using Microsoft SharePoint Online beta API:

**URL**:

`/beta/sites/{site-ID}/lists/`

**Method**:

`GET`

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/JJSyFlTnCboD5BmFm4CEb_uuid-0dba3f95-02a5-44e3-b0fa-5aa490aae19a.png" size="52" width="397" height="875" position="center" showCaption="false"}

The result can be found in the module's **Output** under *Bundle* > *Body > value.*

In our example, 4 lists were returned:

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/3FML06kWUtSBW8KAC_Zjl_uuid-acb7f79a-bdb2-d38a-7129-dfa0ad89af00.png" size="50" width="398" height="605" position="center" showCaption="false"}

## Permission information for Microsoft SharePoint Online

The Microsoft 365 Email module can have the following delegated permissions assigned in the Azure portal.

:::hint{type="success"}
Even if you have assigned higher level permissions (e.g., ReadWrite) it is still necessary to set the lower permissions for the modules as listed below.
:::

- **Create a List** - User.Read, Sites.Manage.All, offline\_access
- **Create a Folder** - User.Read, offline\_access, Files.ReadWrite.All, Sites.Read.All
- **Create an Item** - User.Read, Sites.ReadWrite.All, offline\_access
- **Delete an Item&#x20;**- User.Read, Sites.ReadWrite.All, offline\_access
- **Download a File** - User.Read, Files.Read.All, Sites.Read.All, offline\_access
- **Get a List** - User.Read, Sites.Read.All, offline\_access
- **Get an Item** - User.Read, Sites.Read.All, offline\_access
- **Get a Page** - User.Read, Sites.Read.All, offline\_access
- **Get a Site** - User.Read, Sites.Read.All, offline\_access
- **List Items** - User.Read, Sites.Read.All, offline\_access
- **List Lists** - User.Read, Sites.Read.All, offline\_access
- **List Pages** - User.Read, Sites.Read.All, offline\_access
- **Make an API Call** - offline\_access, User.Read
- **Publish a Page** - User.Read, Sites.ReadWrite.All, offline\_access
- **Search Sites** - User.Read, Sites.Read.All, offline\_access
- **Update an Item** - User.Read, Sites.ReadWrite.All, offline\_access
- **Upload a File** - User.Read, Files.ReadWrite.All, Sites.ReadWrite.All, offline\_access
- **Watch Files/Folders** - User.Read, Files.Read.All, Sites.Read.All, offline\_access
- **Watch Items** - User.Read, Sites.Read.All, offline\_access
- **Watch Lists** - User.Read, Sites.Read.All, offline\_access
- **Watch Pages** - User.Read, Sites.Read.All, offline\_access

