Restore a deleted Group

Note

The admin center is changing. If your experience doesn't match the details presented here, see About the new Microsoft 365 admin center.

If you've deleted a group, it will be retained for 30 days by default. This 30-day period is considered a "soft-delete" because you can still restore the group. After 30 days, the group and its associated contents are permanently deleted and cannot be restored.

When a group is restored, the following content is restored:

  • Azure Active Directory (AD) Microsoft 365 Groups object, properties, and members.

  • Group's e-mail addresses.

  • Exchange Online shared Inbox and calendar.

  • SharePoint Online team site and files.

  • OneNote notebook

  • Planner

  • Teams

  • Yammer group and group content (If the Microsoft 365 group was created from Yammer)

Restore a group that you own by using Outlook on the web

If you are the owner of a Microsoft 365 group, you can restore the group yourself in Outlook on the web by following these steps:

  1. On the deleted groups page, select the Manage groups option under the Groups node, and then choose Deleted.

  2. Click on the Restore tab next to the group you want to restore.

If the deleted group doesn't appear here, contact an administrator.

Restore a group in the Microsoft 365 admin center

If you are a global administrator or a groups administrator, you can restore a deleted group in the Microsoft 365 admin center:

  1. Go to the admin center.
  2. Expand Groups, and then click Deleted groups.
  3. Select the group that you want to restore, and then click Restore group.

Note

In some cases, it may take as long as 24 hours for the group and all of its data to be restored.

Permanently delete a Microsoft 365 group

Sometimes you may want to permanently purge a group without waiting for the 30 day soft-deletion period to expire. To do that, start PowerShell and run this command to get the object ID of the group:

Get-AzureADMSDeletedGroup

Take note of the object ID of the group, or groups, that you want to permanently delete.

Caution

Purging the group removes the group and its data forever.

To purge the group run this command in PowerShell:

Remove-AzureADMSDeletedDirectoryObject -Id <objectId>

To confirm that the group has been successfully purged, run the Get-AzureADMSDeletedGroup cmdlet again to confirm that the group no longer appears on the list of soft-deleted groups. In some cases it may take as long as 24 hours for the group and all of its data to be permanently deleted.

Got questions about Microsoft 365 Groups?

Visit the Microsoft Tech Community to post questions and participate in conversations about Microsoft 365 groups.

Manage Microsoft 365 Groups with PowerShell

Delete groups using the Remove-UnifiedGroup cmdlet

Manage your group-connected team site settings

Delete a group in Outlook