
SharePoint Online helps you with automatically redirects, if you change the url for a SharePoint Site Collection. If you delete a site within the SharePoint Online Admin center, it might be that those redirects won’t be deleted. In this case you’ll try to use the site adress again and will be faced with a message like this:

In case you want to reuse the url you should start Powershell.
Connect-SPOService -Url https://yourdomain-admin.sharepoint.com
Remove-SPOSite -Identity https://yourdomain.sharepoint.com/sites/siteadress
This two lines will free up the old redirect and will not blocking the site url anymore. All details can be found here at Microsoft Documentation.
The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.
Leave a Reply