Skip to main content

Restore Deleted Microsoft Teams Along with Groups, and SharePoint Sites

Microsoft Teams has become a crucial collaboration tool for organizations, seamlessly integrating chat, files, meetings, and apps into a unified workspace. However, what happens when a Microsoft Team, along with its associated Microsoft 365 Group and SharePoint site, gets accidentally deleted or due to organizational changes? In such scenarios, restoring the deleted team becomes essential to prevent data loss and maintain business continuity.


In this blog, I’ll guide you through the process of restoring a deleted Microsoft Team, including its associated Group and SharePoint site, using the built-in features and administrative tools available. Let’s dive in! !

Let’s delve into the fundamental components of a Microsoft Team.

Before we delve into the recovery process, let’s explore the essential components of a Microsoft Team beyond its chat functionality:

  • Microsoft 365 Group: When you create a Team, an associated Microsoft 365 Group is automatically generated. This group manages membership, permissions, and seamlessly integrates with other services such as Outlook and Planner.
  • SharePoint Site: Each Team is connected to a SharePoint site, where files shared within the team are stored. If a team is deleted, this SharePoint site is also affected.
  • OneNote and Planner: Teams often utilize OneNote notebooks and Planner tasks. These resources are linked to the Microsoft 365 Group and may be impacted if the group is removed.
  • Exchange Mailbox: A shared mailbox associated with the Microsoft 365 Group stores conversations, calendar events, and other communication.
When a team is deleted, all these connected services are impacted. The good news is that Microsoft allows a 30-day grace period during which we can restore the deleted items before they are permanently removed.

Step-by-Step Guide to Restoring a Deleted Microsoft Team

Step 1: Restore the Microsoft 365 Group
Open Azure Active Directory (Azure AD)

  • Navigate to the Azure Active Directory Admin Center using the URL: https://aad.portal.azure.com.

Locate the Deleted Groups

  • In the Azure AD, select Groups from the left-hand menu.
  • Under the Deleted Groups section, we will see all recently deleted groups. The group tied to the deleted Microsoft Team should be listed here.

Restore the Group

  • Find the group associated with our deleted Team.
  • Select it and click the Restore button.

This step will restore the group, including its associated email, calendar, and membership.

Step 2: Restore the SharePoint Site

Once the group is restored, the next task is to restore the associated SharePoint site, which stores all the team’s files and data.

Access the SharePoint Admin Center

  • Navigate to the SharePoint Admin Center by using the url https://admin.microsoft.com.

Check Deleted Sites

  • In the admin center, click Deleted Sites under the Sites section.
  • Check for the site connected to the restored Microsoft 365 Group. Typically, it will have a URL format like https://microsoft.sharepoint.com/sites/SalesTeam.
  • Restore the Site
  • Once we locate the deleted site, select it and click Restore.

    After the SharePoint site is restored, all the team files, documents, and lists associated with that site will be restored, ensuring the data is available to users again.

  • Step 3: Restore the Microsoft Team Itself


    Now that both the Group and SharePoint site are restored, the final step is to bring back the Microsoft Team. While you can restore the Microsoft 365 Group and SharePoint site directly from their respective admin centers, restoring Teams involves using PowerShell for recovery. Let’s proceed with the PowerShell steps to bring your team back!

    Install Microsoft Teams PowerShell Module If we haven’t already installed the Teams PowerShell module, we can do so using the following command:

    Install-Module MicrosoftTeams
Connect to Microsoft Teams

         Connect-MicrosoftTeams

Restore the Deleted Team Once connected, run the below command 

        Get-Team -IsArchived $true

To restore the deleted team, use:

    Restore-Team -GroupId <GroupId>

Conclusion

Accidentally deleting a Microsoft Team, along with its associated Microsoft 365 Group and SharePoint site, can indeed be stressful. However, Microsoft provides a robust set of tools to assist in restoring these critical resources. By utilizing the built-in recovery options available in Azure AD, the SharePoint Admin Center, and Microsoft Teams PowerShell, you can swiftly bring your organization’s collaboration environment back online. 

Comments