unable to rename site.

Glenn Maxwell 9,846 Reputation points
2022-04-05T20:30:40.357+00:00

Hi All

i am getting below error renaming site, experts guide me.

190361-r1.jpg

190275-r2.jpg

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,190 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,405 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,115 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,783 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 139.8K Reputation points MVP
    2022-04-05T20:53:17.513+00:00

1 additional answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,316 Reputation points
    2022-04-06T07:44:19.62+00:00

    Hi @Glenn Maxwell ,

    Have you tried to change the site address with powershell?

    You could change the site url with following PowerShell commands:

    #Set Parameters  
    $AdminCenterURL="https://xxx-admin.sharepoint.com"  
    $SiteURL = "https://xxx.sharepoint.com/sites/aaa"  
    $NewSiteURL = "https://xxx.sharepoint.com/sites/bbb"  
    $NewSiteTitle = "sitetitle"  
       
    #Connect to SharePoint Online  
    Connect-SPOService -Url $AdminCenterURL -Credential (Get-Credential)  
       
    #Get all site collections  
    $Sites = Get-SPOSite -Limit All | Select -ExpandProperty URL  
       
    If($Sites -notcontains $NewSiteURL)  
    {  
        #Rename SharePoint Online site URL using PowerShell  
        Start-SPOSiteRename -Identity $SiteURL -NewSiteUrl $NewSiteURL -NewSiteTitle $NewSiteTitle -Confirm:$false  
    }  
    Else  
    {  
        Write-Host "New Site URL '$NewSiteURL' is not available!" -f Yellow  
    }  
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.