Sync SharePoint Files with Microsoft Teams and Restrict Folder Access
Question details
The user needs to display or sync files between a Microsoft Teams channel and a SharePoint document library in a different site collection, and restrict external user access to a SharePoint folder.
- Product
- Microsoft Teams and SharePoint
- Device & OS
- not provided
- Scenario
- A team stores Microsoft Teams channel files in the associated SharePoint site and needs to access them from an unrelated SharePoint site collection while limiting folder access for an external user.
- Observed behavior
- The Teams Files tab cannot directly display files from an unrelated SharePoint site collection, and folder access is controlled through SharePoint permissions.
Confirm whether the SharePoint site and the Teams site belong to the same or different site collections, and make sure you have SharePoint administrator or site owner permissions to change folder access settings.
Add a SharePoint tab in Teams or use Power Automate to sync files between document libraries
Use this solution when the SharePoint page and the Teams site are in different site collections and there is no built-in way to display the Teams files directly in the other site's document library.
Microsoft Teams channel files are stored in the SharePoint site associated with the team. A Teams Files tab cannot directly display files from an unrelated SharePoint site collection, so you need either a pinned SharePoint tab or an automated flow.
In SharePoint, open the document library you want to use and copy its full URL from the browser address bar.
In Microsoft Teams, open the target channel, select the plus (+) icon at the top of the tab bar, choose SharePoint, and paste the copied document library URL to pin it.
Go to Power Automate, create an automated or scheduled flow, select the SharePoint 'When a file is created or modified' trigger from the source library, and add a 'Copy file' or 'Create file' action to the destination library.
Run the flow or refresh the Teams tab, then confirm that the expected files are visible and accessible in the destination location.

Restrict a SharePoint folder by stopping inheritance and removing external user access
Use this solution when an external user should no longer see a folder or when you need to grant only specific users or groups access to that folder.
Use WPS Office as a Free Alternative for Everyday Document Work When Microsoft Teams and SharePoint Permissions Become Complex
WPS Office is a free, lightweight, easy-to-use Office alternative with a familiar interface and full compatibility with Microsoft Word, Excel, and PowerPoint files, so you can complete everyday document tasks without complicated Teams or SharePoint permission workflows.

Frequently Asked Questions
Can the Teams Files tab display documents from a different SharePoint site collection?
No, the Files tab cannot directly display files from an unrelated SharePoint site collection. You can add a SharePoint tab in the Teams channel or create a Power Automate flow to copy or move files between document libraries.
Where are Microsoft Teams channel files stored?
Microsoft Teams channel files are stored in the SharePoint site associated with the team. In the Files tab, you can click Open in SharePoint to view the underlying document library.
How do I stop a SharePoint folder from inheriting permissions?
Select the folder in SharePoint, open Manage access, choose Advanced permissions settings, and click Stop Inheriting Permissions. You can then grant access only to the specific users or groups you want.
Will deleting a Teams channel delete the related SharePoint files?
No, deleting a Teams channel does not delete the files in its Files tab. However, deleting the entire team can delete the associated SharePoint site and its files, although the team may be restorable depending on retention policies.
How can I test whether an external user still has access to a restricted SharePoint folder?
Use the external account or a private browser session to open the folder link and check whether access is blocked or limited. This verifies that the permission changes take effect for that external user.




