---
version: "2026.1.0"
language: "en"
---
# Microsoft Graph (Sharepoint) Connection

The **SharePoint Connection** feature allows Leapwork administrators to configure and authenticate a connection to a SharePoint site. This integration allows you to automatically read from and write to Excel files stored in SharePoint, directly within your automation workflows.  
**Note:** This feature will be available starting from**Release 2025.1.**

## Add Connection

To add a connection:

1. Click the **Add**button and the following pop-up appears:

![image-20260122-092126.png](https://docs.leapwork.com/__attachments/a_ba2edbf02380137eaad8a259b8b2f7df6661c01d77511f4d5e87e3c11d130188/image-20260122-092126.png?cb=6c5db74e6e382795dd6a20f9458ce9e6)

In the **Add Connection** pop-up window:

1. Enter the title in the **Title** field. It should be unique.

2. Enter the description in the **Description**field.

3. From the **Type** drop-down, select the **Microsoft Graph (SharePoint)**option:

![image-20260122-092212.png](https://docs.leapwork.com/__attachments/a_2b9391b5469ee9437212c8e068de629bded6675fa1da41a035d605769233db93/image-20260122-092212.png?cb=8376bc7b891b99355b284b7a66465428)

The following new fields appear:  
![image-20260122-092247.png](https://docs.leapwork.com/__attachments/a_f333fbc16e6a7ac6f378a6762eca717cf7d04f0ce6d5381866fcd9b5ade99e2a/image-20260122-092247.png?cb=2d352effc3568b3f015894cb9538fcea)

* Enter the tenant in the **Tenant** field.

* Enter the client ID in the **Client ID** field.

  **Note:** To obtain the **Client ID** , you must register the SharePoint application in Azure Active Directory (AAD). Refer to our [Knowledge Base guide](https://support.leapwork.com/s/article/Configuring-Azure-App-Registration-for-SharePoint-Integration-in-Leapwork) on app registration for step-by-step instructions.

* Enter the client secret in the **Password** field.

  **Note:** To obtain the **Password** , you must register the SharePoint application in Azure Active Directory (AAD). Refer to our [Knowledge Base guide](https://support.leapwork.com/s/article/Configuring-Azure-App-Registration-for-SharePoint-Integration-in-Leapwork) on app registration for step-by-step instructions.

4. Click the **Test Connection** button to validate the credentials.

Leapwork will generate a temporary **authentication token** (valid for one hour).
The following events will happen based on connection status:  
* If the connection failed, an error message will be displayed.

![image-20260122-092500.png](https://docs.leapwork.com/__attachments/a_383576c4d15f9eab40279ea5943e9461ab3408152a23fd9d996389be7bde027a/image-20260122-092500.png?cb=55f69fe476252cd106415f9001f9134c)

* If the connection is successful, a confirmation message will be displayed.

![image-20260122-092517.png](https://docs.leapwork.com/__attachments/a_0ac6a6fdd9c900db0e769b33e9757c61280b3024534c651811dee90f3a96aaae/image-20260122-092517.png?cb=d370a9f5297b791e30feead101105957)

To modify or remove the connection, you can use the **Edit** or **Delete** buttons next to the **Add** button.  
Once configured, this connection lets Leapwork automation **read and write Excel files** on the SharePoint site.