Freeze and Disable Activity on a Microsoft Teams Team

In this blog post, I will show you how to freeze and disable all activities on a Microsoft Teams Team.

Freezing activities are suitable for Teams that are needing review, or all data need to stay as is without modifications.

Get Started

PowerShell

Freezing activities are only possible using Teams PowerShell.

In the code below, I am freezing a team using its GroupId value.

Set-TeamArchivedState -GroupId e10adbb0-07dc-41a2-9672-7ae3b7cc83da -Archived:$true

Read Only SharePoint Site

If needed, I can also turn the associated SharePoint site to read-only using the cmdlet below.

Set-TeamArchivedState -GroupId e10adbb0-07dc-41a2-9672-7ae3b7cc83da -Archived:$true -SetSpoSiteReadOnlyForMembers:$true

Unfreeze

To revert the change, I will use the following cmdlet (same for SharePoint)

Set-TeamArchivedState -GroupId e10adbb0-07dc-41a2-9672-7ae3b7cc83da -Archived:$false

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.