This SharePoint Online tutorial will guide you to learn about how to add a SharePoint document library in Microsoft Teams. Also, we will discuss two different ways to add a SharePoint Online document library in Teams. Finally, I will show you, how to delete a SharePoint document library from Microsoft Teams.
We can use Microsoft Teams to communicate and collaborate with our team members in real time. And one of the most useful features of Teams is the ability to add SharePoint document libraries, which makes it easy to access all our documents in one place.
You can see here, I have created a new Team in Microsoft Teams, and inside this, I have added a SharePoint document library which is coming as a Tab in Microsoft Teams.

Add a SharePoint Document Library in Microsoft Teams
There are two different ways, we can add a SharePoint Online document library in Microsoft Teams and they are:
- Add a SharePoint document library from the Add a tab
- Add a SharePoint document library from the Add Cloud Storage
1. Add a SharePoint document library from “Add a tab”
Let us discuss how to add a SharePoint Online document library from the Add a tab button. To achieve it, follow the below steps:
- Open Microsoft Teams, then click on “Teams” from the left navigation. Then select your Team where you want to add the document library. And then select the Channel. Here I have selected the General Channel and then click on the + Add a tab option like below.

- Inside the tab, there are two ways to add a SharePoint Online document library and they are:
- Add a SharePoint document library using “SharePoint site”
- Add a SharePoint document library by providing a direct link through the “Document Library” option
Add a SharePoint document library using “SharePoint”
- In the search box, where we can search the “SharePoint” option -> Select SharePoint under the Search results like below:

- Now, select a specific document library under the Document libraries drop-down and click on the Save button.

- Once a new SharePoint document library Tab is added to Microsoft Teams, it will look like below:

This is how to add a SharePoint Online document library from the Add a tab.
Add a SharePoint document library using a SharePoint Library Link
Similarly, we can also use a SharePoint link option instead of a SharePoint option to add a SharePoint document library in Teams. Follow the below steps:
- In the search box, where we can search the “Document Library” option and then select Document Library like below:

- Next, in the Document Library window -> Select Use a SharePoint link -> Click on a Library Url box -> Provide SharePoint Online Document Library URL -> Click on the Go button.

- Then, we get a SharePoint site URL -> Click on the Next button like below:

- Now, in the next window (Pick a document library) -> Select the specific Document library -> Click on the Next button.

- Then, in the next window (Name your tab), by default the Tab name is Document Library. Also, you can change it as per your need. Next, select the Save button.

- Once a new SharePoint document library tab is added in Teams, it will look like below:

This is how to add a SharePoint document library using a SharePoint Link.
2. Add a SharePoint document library from “Add Cloud Storage”
Here, you can see how to create a SharePoint document library from the “Add Cloud Storage”. and how we will get a document library as a folder under the Files tab in General Channel. To achieve it, follow the below steps:
- Open Microsoft Teams, then click on “Teams” from the left navigation. Then select your Team where you want to add the document library. And then select the Channel. Here I have selected the General Channel.
- Then, click or expand the Files tab, and click on the ellipses (…) option. Then, click on the + Add Cloud Storage option.

- Next, in the Add Cloud storage window, select SharePoint from the list of options:

- Once click on the SharePoint option, it will redirect to the Document Library window. Here select the Use a SharePoint link option, click on a Library Url box then Provide SharePoint Document Library URL. And click on the Go button.

- Here, we will get a SharePoint Site Link -> Click on the Next button like below:

- Then, select a specific document library under the Document library page. And select the Next button.

- Here, in the next window (Document Library) -> Click on the Add folder button like below:

- Once click on the Add folder option, it will appear under the Files tab as shown below:

This is how to add a SharePoint Online document library from the Add Cloud Storage.
Delete a SharePoint Document Library from Microsoft Teams
Suppose, if you want to delete a SharePoint document library in Microsoft Teams, then follow the below steps are:
- Open Microsoft Teams, then click on “Teams” from the left navigation. Then select your Team where you want to add the document library. And then select the Channel. Here I have selected the General Channel.
- Then, click or expand the SharePoint document library tab -> Click on the Remove icon as shown below.

- Once we clicked on the Remove icon, we will get a confirmation window like “Want to remove this tab?“
- Then, click on the Remove button, and the tab will be deleted from Microsoft Teams.

This is how to delete a SharePoint document library in Microsoft Teams.
Conclusion
Here, we learned all about how to add a SharePoint document library in Microsoft Teams. Also, we covered two different ways to add a SharePoint Online document library in Teams and how to delete a SharePoint document library from Microsoft Teams.
You may also like:
- Add a Link to SharePoint Document Library
- Delete a Column in SharePoint List or Document Library
- Create a Folder in SharePoint Document Library

Preeti Sahu is an expert in Power Apps and has more than 6 years of experience working with SharePoint and the Power Platform. As a Power Platform expert for Power BI, Power Apps, Power Automate, Power Virtual Agents, and Power Pages, she is currently employed with TSinfo Technologies. She is the author of the book Microsoft Power Platform A Deep Dive. She also made a big technical contribution to SharePointDotNet.com in the form of articles on the Power Platform. She enjoys traveling and spending time with her family in her spare time.