Forum Discussion
New feature: Recover deleted Office 365 Group via PowerShell
Ronald Knaap wrote:
Which is our slogan with Office 365 the last few months.. If something doesn't work...
"It's a matter of time!" :)
Many Office 365 problems are solved by just waiting longer.
From the documentation mentioned above:
This process usually takes just a few minutes but in a few rare cases it can take as long as 24 hours to completely restore. To verify that the group has been successfully restored, run this command in PowerShell:
Get-AzureADGroup –ObjectId <objectId>
Once the restore has successfully completed, the group should reappear on the navigation pane in Outlook and Outlook on the web and all restored content, including SharePoint and Planner, should be available to the group members again.
- Paul CunninghamMar 30, 2017Iron Contributor
cfiessinger wrote:From the documentation mentioned above:
This process usually takes just a few minutes but in a few rare cases it can take as long as 24 hours to completely restore. To verify that the group has been successfully restored, run this command in PowerShell:
Get-AzureADGroup –ObjectId <objectId>
Once the restore has successfully completed, the group should reappear on the navigation pane in Outlook and Outlook on the web and all restored content, including SharePoint and Planner, should be available to the group members again.
I think you should reword that. The "few minutes" hasn't been true for any of my test cases so far.
Also, the Group appears in the Get-AzureADGroup output (indicating it's been restored successfully) long before all the content in different apps is available.
And also, the Group appears in the Outlook navigation pane long before all the content in different apps is available.
Perhaps a more accurate wording would be to say that the Get-AzureADGroup output or the appearance in Outlook confirms that the restore has *started*, and that it may process for several hours before all services are available again. That would set expectations better than the current wording.
- Jerry MeyerMar 31, 2017Iron ContributorI totally agree with that. In the time between the success from the command in powershell and the time the restore is actually completed it would be great to see some kind of progress so you know what you are dealing with.
This would be a great addition to the script because if one half of the restore is complete and the other half gives you a 403 error. I was wondering if my data would be restored.
- Jerry MeyerMar 30, 2017Iron Contributor
The restore is completed so it took arround 10 min to restore the Conversations and 6 hours to restore +/-350 GB of data in SharePoint.
Anyways the restore works just perfect :) Thanks for making this feature available!
- Ronald KnaapMar 30, 2017Copper Contributor
Well, it looks like it's a problem on my client because I restored a group which my colleague removed yesterday and it reappeared in his Outlook client.. (after a restart of the client)
Or it has something to do with the groups because I (mis)used them a lot for testing ;)
- cfiessingerMar 30, 2017
Microsoft
Not sure what you did but as usual if it feels like a bug please reach our support channel to get it handled properly.