Restore deleted Office 365 SharePoint group site

Posted on : Tue, 20th Mar 18 08:42 am UTC
100+ votes
If you accidentally delete a SharePoint Online group site, use below script to restore it using SharePoint Online Management Shell.
Unfortunately the deleted group sites are not available in the recycle bin. But you can restore the site using PowerShell script.

Name : Restore deleted Office 365 SharePoint group site
//Connect to Offcie 365 (you will require admin rights)
Connect-SPOService -url

//Get list of deleted sites

//Restore the required site
Restore-SPODeletedSite -identity https://deleted-site-link

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +