Problem: When you edit the URL of an existing SharePoint Online site, it automatically creates a new redirect from the old site to the new site. Meaning, You can’t use the old site URL for new sites as there is an existing redirect site with the old URL is already in place!
Delete Redirect site in SharePoint Online
So, we have to remove the redirect site in order to utilize the old URL, as SharePoint doesn’t allow us to reuse the old URL and the Admin center displays the “This site address is available with modification.” message. Here is how to delete the redirect site in SharePoint Online:
#Connect to SharePoint Online Admin Center Connect-SPOService https://crescent-admin.sharepoint.com/ #Remove the Redirect site Remove-SPOSite -Identity https://crescent.sharepoint.com/sites/Compliance
You can retrieve the list of all redirect sites using:
Get-SPOSite -Template REDIRECTSITE#0