In this post, we will learn how can we restore a deleted Group or a Microsoft Team.
Team group object can be restored upto 30 days after which they are permanently deleted, Groups can be restored from the GUI or from using the PowerShell, we will first see how we can restore the group using the GUI and then we will do that using the PowerShell.
you will find the deleted group in the list along with the Groups, you can identify them from the Status message like "Deleted Days Ago"
Team group object can be restored upto 30 days after which they are permanently deleted, Groups can be restored from the GUI or from using the PowerShell, we will first see how we can restore the group using the GUI and then we will do that using the PowerShell.
Restore the Group using GUI:
To restore a group open the ECP and then go to Recipients >> Groups >>you will find the deleted group in the list along with the Groups, you can identify them from the Status message like "Deleted Days Ago"
Select the group you wish to restore and then click on the "Click here to restore".
Once you hit the restore you will see the above popup with the information confirming the data restore, hit yes to continue, and the group will be restored.
Restore the Group using the Powershell.
To restore the group using the Powershell connect to AzureAD.
For instruction on how to install and connect to AzureADPreview powershell Module, please check out my post below.
Once you are connected to AzureAdpreview powershell module, run the following CMD to get the deleted groups.
Get-AzureADMSDeletedGroup# this cmd will bring all the deleted group information.
make a note of the ID of the group which you wish to restore and run the below CMD.
Restore-AzureADMSDeletedDirectoryObject -Id fe8268cc-40c8-499b-9ee9-cdc5d7e02624
once this CMD is completed successfully Group will be restored, and if you run the CMD Get-Team you will be able to see the team.
Note: Though the team group is showing instantly after we restore it in the owa, or if we check the same in using PowerShell using the Get-Team command, it may still take up 24 hours of time before its start appearing on the Microsoft Team client.
This completes my post on how to restore the Office 365 Groups and Deleted Microsoft Team, I hope you found this post informative.
Comments
Post a Comment