sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Site Url Rename not working with Powershell

Open vtikam opened this issue 7 years ago • 19 comments

I am first connecting to Admin Tenant Then I'm running the Site Collection Rename command.

Category

  • [x] Question
  • [ ] Typo
  • [ ] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

The site rename process starts and status become in progress. It may take a while to reflect the changes, but after some time the site gets renamed and old url will also redirect to new site.

Observed Behavior

Getting below error- This site address can't be changed. It's not supported.

Steps to Reproduce

Connecting to Admin Tenant Connect-SPOService Provide credentials Start-SPOSiteRename -Identity *** -NewSiteUrl ****

Submission Guidelines

I have installed latest version of SPO Management Shell. SharePointOnlineManagementShell_8812-1200_x64_en-us What do I need to do in order to enable this feature on my tenant.

vtikam avatar May 17 '19 14:05 vtikam

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar May 17 '19 14:05 msft-github-bot

Getting the same error. Start-SPOSiteRename : Error Code: -5,This site address can't be changed. It's not supported. At line:1 char:1

  • Start-SPOSiteRename -Identity https://XXXXX.sharepoint.com/sites ...
  •   + CategoryInfo          : InvalidOperation: (:) [Start-SPOSiteRename], Exception
      + FullyQualifiedErrorId : Error Code: -5,This site address can't be changed.
    

It's not supported. ,Microsoft.Online.SharePoint.PowerShell.StartSPOSiteRename

chanchaljainms avatar May 21 '19 17:05 chanchaljainms

Same error for me.

deepikatyagi avatar May 23 '19 11:05 deepikatyagi

Same issue -

  1. Powershell version is latest PS C:\WINDOWS\system32> Get-Module -Name Microsoft.Online.SharePoint.PowerShell -ListAvailable | Select Name,Version,Path

Name Version Path


Microsoft.Online.SharePoint.PowerShell 16.0.8812.1200 C:\Program Files\WindowsPowerShell\Modules\Microsoft.Online.SharePoint.PowerShell\16.0.8812.1200\Microsoft.Online.SharePoint.PowerShell.psd1

  1. Error - PS C:\WINDOWS\system32> Start-SPOSiteRename -Identity $nowUrl -NewSiteUrl $newurl CorrelationId: 1965e09e-70df-8000-4d8d-a0bcb605fd2d Start-SPOSiteRename : Error Code: -5,This site address can't be changed. It's not supported. At line:1 char:1
  • Start-SPOSiteRename -Identity $nowUrl -NewSiteUrl $newurl
  •   + CategoryInfo          : InvalidOperation: (:) [Start-SPOSiteRename], Exception
      + FullyQualifiedErrorId : Error Code: -5,This site address can't be changed.
    

It's not supported. ,Microsoft.Online.SharePoint.PowerShell.StartSPOSiteRename

ashuetawah avatar May 26 '19 12:05 ashuetawah

Same error for me. Is there any update? https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/start-spositerename?view=sharepoint-ps

Rocket101101 avatar May 28 '19 09:05 Rocket101101

Is this a standard / targetted release tenant you're trying this on?

andrewconnell avatar May 28 '19 14:05 andrewconnell

Update... I believe while the PowerShell cmdlet has been released, this feature is not yet released / fully deployed across SPO...

andrewconnell avatar May 28 '19 14:05 andrewconnell

Is this a standard / targetted release tenant you're trying this on?

Currently tenant is in Targeted release for everyone.

vtikam avatar May 28 '19 15:05 vtikam

@vtikam as I said above, the feature has not been released / fully rolled out

andrewconnell avatar May 30 '19 22:05 andrewconnell

same error for me.

simplysql avatar Aug 27 '19 13:08 simplysql

I am receiving the same error and we are now in September. Any ideas when this will be released ?

clayjam avatar Sep 13 '19 06:09 clayjam

Same here , it is September and I am getting the same error. Any update on this ? + CategoryInfo : InvalidOperation: (:) [Start-SPOSiteRename], Exception + FullyQualifiedErrorId : Error Code: -5,This site address can't be changed. It's not supported. ,Microsoft.Online.SharePoint.PowerShell.StartSPOSiteRename

YemiYemi avatar Sep 24 '19 15:09 YemiYemi

I received the following error when I ran the command: Start-SPOSiteRename : The type initializer for 'Microsoft.Online.SharePoint.PowerShell.TelemetryMonitorAria' threw an exception.

Any timeline when this is rolling out?

elpinto007 avatar Sep 24 '19 17:09 elpinto007

Same here:

PS C:\Windows\system32> Start-SPOSiteRename -Identity https://xxxxxxxx.sharepoint.com/sites/01-20021 -NewSiteUrl https://xxxxxxxx.sharepoint.com/sites/01-20074

Confirm Are you sure you want to perform this action? This operation will change the URL for site https://xxxxxxxx.sharepoint.com/sites/01-20021 to https://xxxxxxxx.sharepoint.com/sites/01-20074. Do you want to continue? Y/N [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y CorrelationId: 7067099f-805f-9000-ea3c-f77ae7a521e0 Start-SPOSiteRename : Error Code: -5,This site address can't be changed. It's not supported. At line:1 char:1

  • Start-SPOSiteRename -Identity https://xxxxxxxx.sharepoint.com/sites/ ...
  •   + CategoryInfo          : InvalidOperation: (:) [Start-SPOSiteRename], Exception
      + FullyQualifiedErrorId : Error Code: -5,This site address can't be changed.
    

It's not supported. ,Microsoft.Online.SharePoint.PowerShell.StartSPOSiteRename

phillippoole avatar Sep 30 '19 22:09 phillippoole

Ditto here - my clients have been waiting patiently for this. They have hundreds of Office 365 group projects and the project name does change in 5% of cases.

munrobasher avatar Oct 08 '19 12:10 munrobasher

Same error. Hope this feature is rolled out soon.

GalaxyLithium avatar Oct 15 '19 09:10 GalaxyLithium

Any updates?

ATJSM avatar Oct 16 '19 21:10 ATJSM

works now

gristy58 avatar Oct 26 '19 06:10 gristy58

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 24 '20 12:01 msft-github-bot