Forum Discussion
techie1s
Jun 05, 2018Brass Contributor
Reusing a Deleted SharePoint Site Name
QUESTION: Can a new site be created with the same name of a deleted site? SCENARIO: Today I deleted a SharePoint Team Site (O365) that I created yesterday. Now I want to create a SharePoint Commu...
- Jun 06, 2018
Similarly, you can permanently remove the deleted site using Remove-SPODeletedSite cmdlet.
AlanCoulterOz
Jul 25, 2021Copper Contributor
techie1s I found that even after removing the deleted site from the recycle bin, even after a few days I still could not create the site using the original URL (i.e. it appends a '2' on the end of the URL when you try to use the original URL). Even when using New-PnPSite, the URL returned had the 2 on the end.
To fix it however, I was then able to do a Connect-SPOService -Url <tenantadminurl>, then run the Start-SPOSiteRename command.
Syntax: Start-SPOSiteRename -Identity <newsiteurl> -NewSiteUrl <originalsiteurl>