
Wondering if you can set up a Microsoft Teams workspace without an associated SharePoint site? The short answer is no. However, you can create a Teams workspace and then disable its SharePoint site if needed.
To do this, you can run the following PowerShell command:
Set-SPOsite -Identity <YourSiteURL> -LockState NoAccess
Once the SharePoint site is disabled, the Files tab will still appear in your Teams workspace, but it will be empty. Additionally, you won’t be able to attach files within the team, as that functionality relies on SharePoint.
This approach can be useful if you want to limit file sharing capabilities while still using Microsoft Teams for communication and collaboration.

Empty Files Tab

This error occurs if you attempt to attach a file.