Avatar of Timothy "Malachi" Kern
Timothy "Malachi" Kern
 asked on

How do I permanently delete a Site Collection from SharePoint Online

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
PowershellMicrosoft SharePointMicrosoft 365

Avatar of undefined
Last Comment
Timothy "Malachi" Kern

8/22/2022 - Mon
Vasil Michev (MVP)

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" Kern

ASKER
@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.
ASKER CERTIFIED SOLUTION
Timothy "Malachi" Kern

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck