Have you deleted a SharePoint online site collection by mistake ? You are in worry now !!! Please follow the below steps to restore it.
Open SharePoint online management shell(check here for help) and follow below steps.
- Type below command replacing the url with your SharePoint admin center url. Please note word -admin in the url, you can place it by typing or copy the url directly from browser by navigating to SharePoint admin center. To know how to navigate to SharePoint admin center you can check here.
Connect-SPOService -Url https://companyname-admin.sharepoint.com
After hitting enter it will ask for credentials. Provide the credentials and click OK. This user
must be a member of the tenant’s Global Admin or SharePoint Administrator role.
- Then type below command by placing correct url of your site collection.
Restore-SPODeletedSite "https://companyname.sharepoint.com/sites/yoursitecol"
You can also check how to restore SharePoint online site collection manually.
No comments:
Post a Comment