Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
9.5k views
in Microsoft 365 by 27 29 37

In Microsft Team, I have deleted a team from Microsoft Team Client by mistake that deleted automatically the Microsoft 365 group and the SharePoint site.

restore deleted team in Microsoft Teams

How I can restore back the deleted teams in Microsoft Teams?


1 Answer

1 like 0 dislike
by 159 198 381
selected by
 
Best answer

Can I restore deleted Team in Microsoft Teams?

Yes, you can restore a deleted team in Microsoft Teams for 30 days from the deletion date. after that, the deleted team can't be restored!

Note

  • By default, the deleted team will be retained for 30 days ("soft-delete"). After 30 days, the Team and its associated contents
    are deleted and cannot be restored permanently.
  • It's recommended to first archive the out-of-use Teams before taking the decision to delete it, then when you're sure that you no
    longer need the team, you can delete it.

How to restore a deleted Team in Microsoft Teams?

To restore a deleted Team in Microsoft Teams, you have two options:

  1. Azure Active Directory Portal.
  2. Azure Active Directory Powershell.

Note: You need Team Service Administrator permission to be able to restore deleted Teams. Read also, Microsoft Teams Admin Roles.

1) Restore a deleted Team using Azure Active Directory Portal

  1. log in to Azure Active Directory Portal https://aad.portal.azure.com/
  2. Click on Azure Active Directory.
    Open Azure Active Directory
  3. Below Manage > click on Groups.
    Restore a deleted team in Microsoft Teams
  4. Then click on Deleted Groups.
  5. Check the Team Name that you would like to restore > then click on Restore Group.
    restore deleted group in Azure Active Directory
  6. After a few minutes, the deleted team should be restored and you can find it listed in the Teams section in the Microsoft Teams App as shown below.
    find restored deleted teams

Note: In some cases, it may take as long as 24 hours for the group and all of its data to be restored. but in my case, it took a few minutes to be restored in Microsoft Teams App.

2) Restore a deleted Team using Azure Active Directory PowerShell

  1. Open Windows PowerShell As Administrator.
  2. Run the below cmdlet to install the AzureADPreview module.

     Install-Module AzureADPreview
    
  3. Type the below cmdlet to connect to Azure Active Directory.

     Connect-AzureAD
    
  4. Type the below cmdlet to list all deleted teams/groups

     Get-AzureADMSDeletedGroup
    
  5. Now, run the below cmdlet with the corresponding group ID to restore it.

     Restore-AzureADMSDeletedDirectoryObject -Id [Team ID]
    

Note: In some cases, it may take as long as 24 hours for the group and all of its data to be restored. but in my case, it took a few minutes to be restored in Microsoft Teams App.

If you don’t ask, the answer is always NO!
...