Archiving and Deleting Teams
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② 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.
- Sign in to the Microsoft Teams admin center.
- Navigate to Teams in the left-hand navigation pane and select Manage teams.
- Search for the team you wish to archive using the search bar.
- Select the team from the list.
- In the team details view, locate the Archive option.
- 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.
- Click Archive.
Step-by-Step: Archiving via the Teams Client
Team owners can also manage their own workspaces without needing administrative intervention.
- Open the Teams client and navigate to the Teams tab.
- Click on the gear icon (Manage teams) at the bottom of the list.
- Locate the team you own.
- Click the "More options" (three dots) button on the team name.
- Select Archive team.
- 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
- Navigate to the Teams Admin Center.
- Select Manage teams.
- Locate the team and select it.
- Click the Delete button.
- A warning message will appear informing you that the Microsoft 365 group and all associated data will be deleted.
- 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-MgGroupcommand 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
- Prioritize Archiving over Deletion: Always prefer archiving to preserve data. Only delete teams when the data is verified as redundant or obsolete.
- 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.
- Use Automation: Don't rely on manual processes. Use Microsoft 365 Expiration Policies or custom PowerShell scripts to handle the identification of inactive teams.
- Manage Ownership: Ensure every team has at least two owners. This prevents teams from becoming "orphaned" when a single owner leaves the organization.
- 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.
- 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.
- 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.
- Identifying Licensing for Security Features
- Identifying Licensing for Security Features Quiz5q
- Configuring Security Alert Policies
- Configuring Security Alert Policies Quiz5q
- Choosing Teams Administrator Roles
- Choosing Teams Administrator Roles Quiz5q
- Configuring Threat Policies in Defender XDR
- Configuring Threat Policies in Defender XDR Quiz5q
- Specifying Retention Policies for Teams
- Specifying Retention Policies for Teams Quiz5q
- Configuring Sensitivity Labels for Teams
- Configuring Sensitivity Labels for Teams Quiz5q
- Specifying DLP Policies for Teams
- Specifying DLP Policies for Teams Quiz5q
- Configuring Conditional Access for Teams
- Configuring Conditional Access for Teams Quiz5q
- Implementing Information Barrier Policies
- Implementing Information Barrier Policies Quiz5q
- Understanding Communication Compliance
- Understanding Communication Compliance Quiz5q
- Identifying Licensing for Lifecycle Management
- Identifying Licensing for Lifecycle Management Quiz5q
- Understanding Teams Content Storage
- Understanding Teams Content Storage Quiz5q
- Managing Update Policies
- Managing Update Policies Quiz5q
- Creating and Managing Policy Packages
- Creating and Managing Policy Packages Quiz5q
- Configuring Microsoft 365 Group Creation
- Configuring Microsoft 365 Group Creation Quiz5q
- Configuring Expiration and Naming Policies
- Configuring Expiration and Naming Policies Quiz5q
- Archiving and Deleting Teams
- Archiving and Deleting Teams Quiz5q
- Managing Teams with PowerShell and Graph
- Managing Teams with PowerShell and Graph Quiz5q
- Configuring SharePoint and OneDrive Sharing
- Configuring SharePoint and OneDrive Sharing Quiz5q
- Configuring External Access in Teams
- Configuring External Access in Teams Quiz5q
- Configuring Guest Access in Teams
- Configuring Guest Access in Teams Quiz5q
- Managing Shared Channels
- Managing Shared Channels Quiz5q
- Configuring B2B Direct Connect
- Configuring B2B Direct Connect Quiz5q
- Configuring Multitenant Organization
- Configuring Multitenant Organization Quiz5q
- Controlling External Access by Domain
- Controlling External Access by Domain Quiz5q
- Identifying Licensing for Teams Phone
- Identifying Licensing for Teams Phone Quiz5q
- Managing Device Configuration Profiles
- Managing Device Configuration Profiles Quiz5q
- Configuring Microsoft Teams Rooms
- Configuring Microsoft Teams Rooms Quiz5q
- Managing Device Settings and Firmware
- Managing Device Settings and Firmware Quiz5q
- Configuring Teams for VDI
- Configuring Teams for VDI Quiz5q
- Provisioning Remote Device Sign-In
- Provisioning Remote Device Sign-In Quiz5q
- Planning Teams Rollout with Advisor
- Planning Teams Rollout with Advisor Quiz5q
- Creating Teams from Admin Center and Client
- Creating Teams from Admin Center and Client Quiz5q
- Creating Teams from Existing Resources
- Creating Teams from Existing Resources Quiz5q
- Creating and Managing Team Templates
- Creating and Managing Team Templates Quiz5q
- Managing Team Membership and Roles
- Managing Team Membership and Roles Quiz5q
- Managing Frontline Teams and Experiences
- Managing Frontline Teams and Experiences Quiz5q
- Managing Org-wide App Settings
- Managing Org-wide App Settings Quiz5q
- Creating App Setup Policies
- Creating App Setup Policies Quiz5q
- Managing App Permissions and Consent
- Managing App Permissions and Consent Quiz5q
- Customizing Teams App Store
- Customizing Teams App Store Quiz5q
- Uploading Custom Apps to Teams
- Uploading Custom Apps to Teams Quiz5q
- Choosing Meeting Types
- Choosing Meeting Types Quiz5q
- Configuring Meeting Settings
- Configuring Meeting Settings Quiz5q
- Creating Meeting Templates and Policies
- Creating Meeting Templates and Policies Quiz5q
- Configuring Teams Webinars
- Configuring Teams Webinars Quiz5q
- Configuring Teams Town Halls
- Configuring Teams Town Halls Quiz5q
- Configuring Meeting Customization Policies
- Configuring Meeting Customization Policies Quiz5q
- Provisioning Phone Numbers
- Provisioning Phone Numbers Quiz5q
- Managing Voice Settings and Policies
- Managing Voice Settings and Policies Quiz5q
- Creating Voicemail Policies
- Creating Voicemail Policies Quiz5q
- Managing Auto Attendants and Call Queues
- Managing Auto Attendants and Call Queues Quiz5q
- Creating and Managing Calling Policies
- Creating and Managing Calling Policies Quiz5q
- Monitoring Voice and Meeting Quality
- Monitoring Voice and Meeting Quality Quiz5q
- Configuring Alert Rules
- Configuring Alert Rules Quiz5q
- Reporting on Teams Usage
- Reporting on Teams Usage Quiz5q
- Monitoring Team Creation and Deletion
- Monitoring Team Creation and Deletion Quiz5q
- Monitoring Guest Access
- Monitoring Guest Access Quiz5q
- Using Network Connectivity Test Tool
- Using Network Connectivity Test Tool Quiz5q
- Managing Feedback Policies
- Managing Feedback Policies Quiz5q
- Collecting Client-Side Logs
- Collecting Client-Side Logs Quiz5q
- Clearing Teams Client Cache
- Clearing Teams Client Cache Quiz5q
- Using Self-Help Diagnostics
- Using Self-Help Diagnostics Quiz5q
- Troubleshooting Installation and Updates
- Troubleshooting Installation and Updates Quiz5q
- Troubleshooting Sign-In Issues
- Troubleshooting Sign-In Issues Quiz5q
- Troubleshooting Copilot and AI Experiences
- Troubleshooting Copilot and AI Experiences Quiz5q
- Troubleshooting Meeting Issues
- Troubleshooting Meeting Issues Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock MS-700 exam-style practice questions.
Practice for MS-700