SharePoint Online – Remove Site Collection from Recycle Bin

2017-12-11T10:32:26+00:00 August 27th, 2015|Sharepoint|0 Comments

Chances are you’re looking at this post because you’ve tried to create a Site Collection within your SharePoint Online tenant that is still pending removal from the Site Collection Recycle bin. If you’re reading this for any other reason, continue at your own discretion.

Ever tried executing the New-SPOSite cmdlet (example in reference below) and got the following error?

New-SPOSite : A site already exists at url https://company.sharepoint.com/sites/sitecollection

One function missing from the UI of the Site Collection Recycle Bin is the ability to permanently delete a Site Collection. That’s not a bad thing, generally you don’t want to do this, but when you do, simply execute the following cmdlet. I absolutely should not have to say this, but do so at your own risk:

Remove-SPODeletedSite -Identity "https://company.sharepoint.com/sites/sitecollection" -Confirm:$false;

Need help connecting to SharePoint Online with PowerShell? Check out my SharePoint Online Management Shell series.

Reference

New-SPOSite –Url “https://company.sharepoint.com/sites/sitecollection” –Owner “user@company.com” -StorageQuota "1024" -ResourceQuota "50" –Title “My New Site Collection -TimeZoneId 2;

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
SUBSCRIBE!
Give it a try, you can unsubscribe anytime.