Search code examples
office365restore

How to restore deleted Office 365 groups


My Office365 group was deleted inadvertently. Is there any way to restore it? There are important data and documents in it! Thanks in advance!


Solution

  • You could use Get-AzureADMSDeletedGroup to display all deleted Office 365 groups in your tenant that are still available to restore.

    Also, you could use Get-AzureADMSDeletedGroup –Id <objectId> to verify the specific deleted group has not yet been permanently purged.

    Once you have verified that the group is still available to restore, you could use Restore-AzureADMSDeletedDirectoryObject –Id <objectId> to restore the group and its contents.

    If the group contains documents, SP sites, or other persistent objects, it might take up to 24 hours to fully restore a group and its contents.

    Please refer to the official document: Restore a deleted Office 365 group in Azure Active Directory