Friday, November 12, 2021

How to resolve "The site address is available with modification." issue in SharePoint Online?

Scenario: 

While you are creating sites in SharePoint online tenant, you might have created a site with incorrect configuration and you may wanted to delete and recreate the site with same URL. During the recreation of the site, the requested URL may not be available for you. It will provide another URL with numbers in it.



Reason:
You may be deleted the previous site from "Active Sites" section and also deleted from "Deleted Sites" section. But the site will be still in "Redirect" status. 

Solution:
You are required to delete the site using PowerShell with tenant admin privilege.

1. Access the tenant URL with your tenant admin credential in "SharePoint Online Management Shell"
    Connect-SPOService -Url https://<tenant>-admin.sharepoint.com

2. Check if your site is displayed in the list by executing the below command
    Get-SPOSite -Template REDIRECTSITE#0

3. Execute the below command to delete the site.
    Remove-SPOSite -Identity https://<tenant>.sharepoint.com/sites/<sitename>

Now the URL will be available for you to create in the same name.



No comments:

Post a Comment