How to Fix Cannot Delete a SharePoint Folder Linked to a Missing Teams Channel
Question details
The user is unable to delete or rename a specific SharePoint folder because the system still recognizes it as linked to a deleted or missing Microsoft Teams channel.

- Product
- Microsoft SharePoint / Microsoft Teams
- Device & OS
- not provided
- Scenario
- Managing documents and folders in a SharePoint site that is connected to Microsoft Teams.
- Observed behavior
- The SharePoint folder remains locked and throws an error when attempting to delete or rename it, due to an orphaned association with a Teams channel.
Ensure you have the necessary Team Owner permissions in Microsoft Teams and Site Administrator rights in SharePoint before attempting to resolve channel associations.
Restore and Delete the Teams Channel Again
Resolve the synchronization issue by temporarily restoring the deleted Teams channel and then deleting it properly from the Microsoft Teams interface.
Often, a folder remains locked in SharePoint because the Microsoft Teams channel was deleted, but the deletion did not fully sync to SharePoint. Restoring it forces a reconnection.
Open Microsoft Teams, locate the team containing the locked folder, click the three dots (More options) next to the team name, and select 'Manage team'.
Navigate to the 'Channels' tab located at the top of the Manage team page.
Expand the 'Deleted' section at the bottom of the channel list. If the related missing channel appears here, click 'Restore' next to it.
Once the channel is restored and appears in your active list, right-click the channel again and select 'Delete this channel' to properly sever the SharePoint link.

Contact Microsoft 365 Administrator for Backend Support
If the channel is not listed under deleted channels or the folder remains locked, an administrator must contact Microsoft Support to repair the association.
Try WPS Office for Seamless Document Management
While troubleshooting SharePoint and Teams folder locks, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office, ensuring you can manage and edit your documents with ease without complex syncing issues.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded file and follow the quick on-screen instructions to complete the setup.
- 3. Manage Documents: Launch WPS Office to easily open, edit, and organize all your Microsoft Office compatible files.

Frequently Asked Questions
Why does a SharePoint folder get locked when a Teams channel is deleted?
When a Teams channel is created, a corresponding folder is generated in the connected SharePoint site. If the channel is deleted improperly or a sync error occurs, SharePoint may still believe the folder is actively linked to Teams, thus locking it to prevent accidental data loss.
Can I rename a Teams-connected SharePoint folder directly in SharePoint?
It is not recommended to rename a Teams-connected folder directly in SharePoint, as it can break the sync link with the Teams channel. You should always rename the channel directly in Microsoft Teams, which will automatically update the folder name in SharePoint.
How long are deleted channels kept in Microsoft Teams?
Deleted channels are retained in Microsoft Teams for 30 days. During this period, you can easily restore them from the 'Deleted' section under the 'Manage team' > 'Channels' tab. After 30 days, they are permanently deleted.




