Restricting guest access to a Microsoft Teams tab linked to a SharePoint document library

Guest access is a new feature in Microsoft Teams that allows different organizations to collaborate together in a shared environment. Anyone with a business or consumer email account, such as Outlook, Gmail, or others, can participate as a guest in Teams with full access to team chats, meetings, and files.

With the Teams and SharePoint site integration of an Office 365 group, you can now restrict access to a certain document library in SharePoint and have these access restrictions replicate to the corresponding Teams tab. This blog post will provide a walk-through of the required steps of restricting a document library in SharePoint, and creating a corresponding Teams tab that is linked to this document library.

Restricting access for SharePoint document library

  1. In your SharePoint site, navigate to the document library you wish to secure.
  2. Click on the gear icon on the top of the page, and click on ‘Library settings’:

  1. Click on ‘Stop Inheriting Permissions’ under the Permissions tab:

  1. Select all current permission groups and click ‘Remove User Permissions’:

  1. Click on ‘Grant Permissions’
  2. Add the users you want to be able to access the document library:

  1. Click on ‘Show Options’
  2. Select the appropriate permission level

  1. Click Share
  2. Now only users you have explicitly given access to, along with site owners, will be able to access that document library.

Creating a tab in Teams linked to the document library

  1. Navigate to the appropriate Team.
  2. Click on the ‘+’ sign for the channel that you want the tab to be created on.
  3. Click on ‘Document Library’.
  4. Under ‘Relevant sites’, choose the SharePoint site that you created the document library in.
  5. Click ‘Next’.
  6. Pick the document library you want to add:

  1. Change the name of the tab that will be displayed in Teams:

  1. Click ‘Save’.
  2. Now only the Office 365 Group members who you have explicitly given access to this document library will be able to view it in Teams. This allows different organizations to collaborate together on projects while maintaining the ability to restrict access to sensitive content.


Leave a Comment

Easy Dynamics Login