Archiving and Deleting Teams

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 9 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Lesson: Archiving and Deleting Teams

Introduction: The Lifecycle of Collaboration

In the modern digital workplace, Microsoft Teams has become the central hub for communication, document management, and project coordination. However, with the ease of creating new teams, organizations often face "digital sprawl." Without a strategy to manage the lifecycle of these teams, your environment can quickly become cluttered with inactive workspaces, redundant data, and confusing search results. Understanding when and how to archive or delete a team is not just a housekeeping task; it is a fundamental aspect of information governance.

Effective lifecycle management ensures that your users can find relevant information, reduces the risk of data leakage, and helps IT administrators maintain a clean, performant, and secure environment. Archiving allows you to preserve data for historical reference while removing a team from active view, whereas deleting represents a permanent removal of the workspace. Mastering these processes allows you to balance the need for user-driven collaboration with the necessity of organizational control and data retention compliance.

Not read yet

Understanding the Difference: Archiving vs. Deleting

Before diving into the technical implementation, it is crucial to distinguish between the two primary methods of managing team lifecycles. Many administrators mistakenly treat these operations as interchangeable, which can lead to significant data loss or unnecessary storage consumption.

What is Archiving?

Archiving a team is a "soft" removal process. When a team is archived, the content is moved into a read-only state. Users can no longer post new messages, add channels, or edit settings within the team. However, the data remains fully discoverable and accessible to team members. This is the ideal approach for projects that have concluded but may require future audits or reference.

What is Deleting?

Deleting a team is a permanent removal process. When a team is deleted, all associated resources—including the Microsoft 365 Group, the SharePoint site, the shared mailbox, and all chat history—are marked for deletion. While there is a standard 30-day "soft-delete" window where the team can be recovered, once that period expires, the data is purged from the system permanently.

Callout: Archiving vs. Deleting Think of archiving like moving a file into a "Closed Projects" folder in a physical filing cabinet. The documents are still there and can be reviewed, but you are no longer actively working on them. Deleting, by contrast, is like putting that same folder through a paper shredder. You should only delete a team when you are certain that the data is no longer needed for business, legal, or regulatory purposes.

Not read yet

The Process of Archiving a Team

Archiving a team is typically performed by an Owner or a Global Administrator. The process is straightforward but carries significant implications for user experience.

Step-by-Step: Archiving via the Teams Admin Center

For IT administrators who need to manage teams at scale, the Teams Admin Center is the preferred interface.

  1. Sign in to the Microsoft Teams admin center.
  2. Navigate to Teams in the left-hand navigation pane and select Manage teams.
  3. Search for the team you wish to archive using the search bar.
  4. Select the team from the list.
  5. In the team details view, locate the Archive option.
  6. A confirmation dialog will appear. You will have the option to make the SharePoint site read-only for team members. It is highly recommended to check this box to prevent accidental document modification.
  7. Click Archive.

Step-by-Step: Archiving via the Teams Client

Team owners can also manage their own workspaces without needing administrative intervention.

  1. Open the Teams client and navigate to the Teams tab.
  2. Click on the gear icon (Manage teams) at the bottom of the list.
  3. Locate the team you own.
  4. Click the "More options" (three dots) button on the team name.
  5. Select Archive team.
  6. Confirm your choice by checking the box to make the SharePoint site read-only if desired, and click Archive.

Note: Once a team is archived, it disappears from the active list for all members. To view archived teams, users must go to the "Manage teams" view and toggle the "Archived" filter.

Not read yet

The Process of Deleting a Team

Deleting a team should be a deliberate decision. Because this action affects the underlying Microsoft 365 Group, it is a high-impact operation.

Step-by-Step: Deleting via the Teams Admin Center

  1. Navigate to the Teams Admin Center.
  2. Select Manage teams.
  3. Locate the team and select it.
  4. Click the Delete button.
  5. A warning message will appear informing you that the Microsoft 365 group and all associated data will be deleted.
  6. Confirm the deletion.

Step-by-Step: PowerShell Management

For organizations that need to automate lifecycle management, PowerShell is an essential tool. Using the Microsoft.Graph module, you can programmatically identify and delete inactive teams.

First, connect to your environment:

Connect-MgGraph -Scopes "Group.ReadWrite.All"

To delete a team, you must target the underlying group ID:

# Get the Group ID for the team
$group = Get-MgGroup -Filter "DisplayName eq 'Project Alpha'"

# Delete the group
Remove-MgGroup -GroupId $group.Id

Warning: Deleting a team via PowerShell is instantaneous and does not provide a graphical confirmation prompt. Always ensure you are targeting the correct Group ID before executing the Remove-MgGroup command to avoid accidental data loss.

Not read yet

Best Practices for Lifecycle Governance

Governance is not a one-time setup; it is an ongoing process. Without clear policies, your Teams environment will eventually become unmanageable.

1. Implement an Expiration Policy

Microsoft 365 provides an automated expiration policy that can be applied to groups. This policy automatically notifies team owners as the expiration date approaches. If the owner does not renew the team, it is automatically archived or deleted. This removes the burden from IT to manually track thousands of teams.

2. Define "Inactivity" Clearly

What constitutes an "inactive" team? For some, it is 90 days of no chat activity. For others, it might be 180 days. You must define this threshold based on your organization's work patterns.

3. Use Lifecycle Labels

Encourage users to use naming conventions that include project codes or dates. This makes it significantly easier to identify which teams have reached the end of their lifecycle without needing to deep-dive into each team's analytics.

4. Backup Considerations

Before you delete any team, ensure that you have a backup strategy in place. While Microsoft provides a 30-day recovery window, this is not a substitute for a long-term data retention policy or a third-party backup solution. If your organization has strict compliance requirements, you must ensure that data is preserved in accordance with your legal hold policies.

Callout: The "Soft-Delete" Recovery Window When a team is deleted, the underlying Microsoft 365 group enters a "soft-deleted" state for 30 days. During this time, an administrator can restore the group and all its content. After 30 days, the data is permanently purged and cannot be recovered by Microsoft support.

Not read yet

Common Pitfalls and How to Avoid Them

Pitfall 1: Deleting Without Archiving

Many administrators jump straight to deletion. This is risky because team members may not have had a chance to download important files or review final project artifacts.

  • Solution: Always archive a team for a period (e.g., 6 months) before deleting it. This creates a "grace period" for users to request data.

Pitfall 2: Ignoring SharePoint Permissions

When you archive a team, you make the SharePoint site read-only. However, if you have complex permission structures (e.g., unique permissions on folders), these might behave unexpectedly during the transition.

  • Solution: Always test the archive process on a pilot team to ensure that your specific permission configuration behaves as expected.

Pitfall 3: Orphaned Teams

An orphaned team is one where the owner has left the company, and no one else has been assigned ownership. These teams often become "zombie" teams that stay active forever.

  • Solution: Implement a script that identifies teams with no owners and alerts IT to assign a new owner or archive the team.

Not read yet

Automated Governance with Microsoft Graph

For large enterprises, manual management is impossible. You should look toward automation using the Microsoft Graph API. Below is a conceptual example of how you might script a check for inactive teams.

# Conceptual script to list teams with no activity in 90 days
$allGroups = Get-MgGroup -Filter "ResourceProvisioningOptions/Any(x:x eq 'Team')"

foreach ($group in $allGroups) {
    $lastActivity = Get-MgGroupActivity -GroupId $group.Id
    $daysInactive = (Get-Date) - $lastActivity.LastActivityDate
    
    if ($daysInactive.Days -gt 90) {
        Write-Host "Team $($group.DisplayName) is inactive for 90 days."
    }
}

This approach allows you to build a custom dashboard or reporting system that flags teams for review. By automating the identification process, you move from reactive cleanup to proactive governance.

Comparison Table: Governance Strategies

Strategy Pros Cons Best For
Manual Cleanup Total control, low complexity Time-consuming, prone to human error Small organizations (<50 teams)
Expiration Policies Automated, reduces sprawl Limited customization Medium to Large organizations
Custom Automation Highly tailored to business logic Requires coding/scripting expertise Enterprises with complex needs

Not read yet

FAQ: Frequently Asked Questions

Q: Can I restore a team after 30 days? A: No. Once the 30-day soft-delete period expires, the data is permanently removed from the Microsoft 365 backend.

Q: Does archiving a team remove it from my search results? A: No, archived teams are still searchable. This is by design, as it allows users to find historical information easily.

Q: If I delete a team, what happens to the files? A: The files are stored in the team's associated SharePoint site. Deleting the team deletes the site. If you have files that need to be saved, ensure you move them to a permanent storage location (like a department-wide SharePoint library or OneDrive) before deleting the team.

Q: Can I archive a team if I am not an owner? A: No, only team owners and Global/Teams administrators can archive a team. If you are a member and need a team archived, you must contact the owner or your IT helpdesk.

Not read yet

Key Takeaways for Success

  1. Prioritize Archiving over Deletion: Always prefer archiving to preserve data. Only delete teams when the data is verified as redundant or obsolete.
  2. Define a Lifecycle Policy: Establish clear rules for when a team is considered "dead." Communicate these rules to your users so they understand why their teams might be archived.
  3. Use Automation: Don't rely on manual processes. Use Microsoft 365 Expiration Policies or custom PowerShell scripts to handle the identification of inactive teams.
  4. Manage Ownership: Ensure every team has at least two owners. This prevents teams from becoming "orphaned" when a single owner leaves the organization.
  5. Educate Your Users: Teach team owners how to archive their own teams. When users take responsibility for their own lifecycle management, the burden on IT is significantly reduced.
  6. Verify Compliance: Before finalizing a deletion, ensure that your actions align with your organization's legal and regulatory retention policies. Some industries require data to be kept for years, regardless of team activity.
  7. Test Before Deploying: When implementing automated cleanup scripts, always run them in "report-only" mode first to ensure you aren't accidentally flagging active teams for deletion.

By following these practices, you transform Teams from a chaotic sprawl of workspaces into a structured, efficient, and compliant collaboration environment. Governance is not about restricting users; it is about creating a clean space where they can be productive without the noise of obsolete projects.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.