kwizcom banner advertisement

SharePoint Online: How to Restore a Deleted Site Collection?

Requirement: Restore a deleted Site Collection in SharePoint Online.

How to Restore a Deleted Site Collection in SharePoint Online?
SharePoint Online recycle bin provides the ability to recover even when an entire site collection is deleted. To restore a deleted site collection in SharePoint Online, follow these steps:
  • Login to SharePoint Online Admin Center >> Click on "Site Collection" link in left navigation.
  • On the ribbon, Click on "Recycle Bin" button. You'll see the list of all Site Collections which are deleted along with when they were deleted, and how many days are remaining before they disappear from the recycle bin.
  • To restore deleted site collection, Select the site collection that you want to restore in the Recycle Bin page, Click on "Restore Deleted Items" button in the Ribbon 
    sharepoint online restore deleted site collection
  • Click on "Restore" button in the Popup window to restore the selected site collection.
    sharepoint online powershell restore deleted site


SharePoint Online: PowerShell to Restore a Deleted Site Collection
When a SharePoint Online site collection is deleted, it is placed in the recycle bin for 30 days, then it is permanently deleted. Recovering a SharePoint Online site is quite easy. Here is the PowerShell to restore deleted site collection.

Step 1: Connect to SharePoint Online from SharePoint Online Management Shell
#Config Parameters
$AdminSiteURL="https://crescent-admin.sharepoint.com"

#Get Credentials to connect
$Cred = Get-Credential

#Connect to SharePoint Online Tenant Admin
Connect-SPOService -URL $AdminSiteURL -Credential $Cred

Step 2: Get a List of All Deleted Site Collections
#Get All Deleted Sites
Get-SPODeletedSite

Step 3: Restore the Site collection from Recycle bin
#Restore Deleted Site Collection
Restore-SPODeletedSite -Identity "https://crescent.sharepoint.com/sites/Vendors"

sharepoint online powershell restore site collection
That's it. Your site should be back!
SharePoint Online: How to Restore a Deleted Site Collection? SharePoint Online: How to Restore a Deleted Site Collection? Reviewed by Salaudeen Rajack on March 15, 2017 Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.