Applies to: Office 365, SharePoint Online
Topic Last Modified: 2016-06-21
Restores a SharePoint Online deleted site collection from the Recycle Bin.
You must be a SharePoint Online global administrator and a site collection administrator to run the cmdlet.
With version 5361 of the SharePoint Online Management Shell, you can manage all template types which now includes group and video sites along with personal and team sites.
SharePoint Online Management Shell
Specifies the URL of the site collection to restore.
Specifies to continue executing script immediately.
Restore-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/arecycledsite
This example restores a SharePoint Online deleted site collection named HYPERLINK "https://contoso.sharepoint.com/sites/arecycledsite" https://contoso.sharepoint.com/sites/arecycledsite from the Recycle Bin.