Restoring a deleted team

Deleted a team by accident? Don't panic. A team is linked to a Microsoft 365 group, and a deleted group is kept for 30 days. Within that period you can bring the team back with its channels, files and conversations. You can do that in the Microsoft 365 admin center, the Entra admin center or with PowerShell.

How a team is deleted

For reference: an owner deletes a team in Teams via More options (...) next to the team name > Delete the team. If you just want to tidy up without deleting, choose Archive team. Everything then stays readable.

Deleting a team in Microsoft Teams

1. Restore via the Microsoft 365 admin center

  1. Go to admin.microsoft.com.
  2. Select Teams & groups > Deleted groups.
  3. Select the team's group.
  4. Select Restore group.
Deleted groups in the Microsoft 365 admin center

2. Restore via the Entra admin center

  1. Go to entra.microsoft.com.
  2. Select Entra ID > Groups > Deleted groups.
  3. Find the group and choose Restore group. Confirm with Yes.
Deleted groups in Microsoft Entra ID
Confirming the group restore

3. Restore with PowerShell

Connect-MgGraph -Scopes "Group.ReadWrite.All"
# Find deleted groups
Get-MgDirectoryDeletedItemAsGroup | Select-Object Id, DisplayName, DeletedDateTime
# Restore the group
Restore-MgDirectoryDeletedItem -DirectoryObjectId "<group-id>"

After the restore

Also see restore deleted files in Teams or SharePoint and backup options in Microsoft 365.

Nederlandstalige versie: Een verwijderd team in Microsoft Teams herstellen


Related articles