Don’t remove the root site of your classic SharePoint Site Collection!

A quick heads-up – if you remove the root site of your classic SharePoint Site Collection, that site’s going to be troublesome to deal with. Whereas you can always restore a normal site from the site collection recycle bin, the root site you can’t. You actually can’t access the recycle bin after removing the root site, nor can you make magic happen with PowerShell commandlets anymore.

Site Collection Recycle Bin – where you could access it, if you still had your site!

The Recycle Bin would be located at a url like this: https://<yoursite>/_layouts/15/AdminRecycleBin.aspx, but after the site is removed, it won’t be there. 

If you actually just wanted to get rid of your site collection by removing the site (see below), you’re out of luck again. Even that didn’t happen, as you now still have the site collection, just without any sites in it. You can’t even reuse the url for anything, as it’s still reserved for your site collection!

Okay – so what are the steps I should never take?

Browse to root site > Site settings > Site Actions > Delete this site

“Delete this site” on SharePoint Online

It will say this (see below), which is technically true, but doesn’t help us much…

SharePoint Online Site Collection Recycle Bin

Wait – I want my site back!

Whoops, you weren’t actually supposed to remove that site? And now you’re in trouble since you can’t restore it from anywhere? No worries – happens to the best of us!

At least for me the good old “Restore-SPODeletedSite” did nothing. It can (usually) restore site collections, but didn’t seem to have much success with a root site. You can still try it, but for me it just hung and never finished. Or you might just get the empty root site back – that seems to happen every now and then!

If you want to get your site back and you’re on SharePoint Online, you need to move fast. Microsoft stores 14 days worth of backups for your site, and since the typical procedure for site restore takes 7-10 days, you don’t have any time to waste. Open a support ticket for site restore from your Admin Center ASAP!

I just wanted to re-design my whole site…

If you want to start from the scratch with your site, but don’t want a new url, don’t try removing the root site. Recreate the whole site collection instead – see below for instructions!

The right way to remove the site collection is by either doing it programmatically, by using PowerShell, or by going to Central Administration (if on-premises) or SharePoint Administration (if using SharePoint Online) and use the GUI to actually remove your Site Collection. See the screenshot below. For an article about this on SPO, see this.

Delete a site collection from SharePoint Administration on SharePoint Online

After deleting the site collection, and removing it from the recycle bin, you can then recreate the site collection with the url that was reserved to it before.


If you didn’t remove the root site, but rather a subsite (or a “subweb”), they’ll be in the site collection recycle bin. See this article for more information:

The following two tabs change content below.
Antti Koskela is a proud digital native nomadic millenial full stack developer (is that enough funny buzzwords? That's definitely enough funny buzzwords!), who works as a Solutions Architect for Valo Intranet, the product that will make you fall in love with your intranet. Working with the global partner network, he's responsible for the success of Valo deployments happening all around the world. He's been a developer from 2004 (starting with PHP and Java), and he's been bending and twisting SharePoint into different shapes since MOSS. Nowadays he's not only working on SharePoint, but also on .NET projects, Azure, Office 365 and a lot of other stuff. This is his personal professional (professional, but definitely personal) blog.

Leave a Reply

Your email address will not be published. Required fields are marked *