We help IT Professionals succeed at work.

How do I permanently delete a Site Collection from SharePoint Online

Last Modified: 2019-03-11
I am trying to permanently delete a SharePoint online Site Collection and unable to do so using Powershell.  I keep getting a message that displays "Remove-SPODeletedSite : Unable to find the deleted site: https://XXX.sharepoint.com/sites/Site_1.

The command that I'm using is:
Remove-SPODeletedSite -Identity https://XXX.sharepoint.com/sites/Site_1

When I try to find the deleted sites using command Get-SPODeletedSite nothing displays.  I can see the site collection in the recycle bin.

Not sure what I'm doing wrong, any suggestions?

I've already tried the suggestions listed here:  https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/remove-spodeletedsite?view=sharepoint-ps
Watch Question

Most Valuable Expert 2015
Distinguished Expert 2019

I've never found using the *-SPODEletedSite reliable, in many cases PowerShell doesnt even recognize the site as deleted and will happily return it via the regular Get-SPOSite cmdlet. Why dont you simply use the UI isntead? And by that I mean the old UI, the new one pretty much has the same issues as PowerShell...
Timothy "Malachi" KernApplications Director


@Vasil, thanks for your feedback, my first attempt was through UI and it only places the deleted site in the recycle bin, and keeps it there for 30 days, I need to permanently delete the site collection so that I can use the URL immediately.
Applications Director
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions