Start-SPOSiteRename : Error Code: -117

%3CLINGO-SUB%20id%3D%22lingo-sub-1007810%22%20slang%3D%22fr-FR%22%3EStart-SPOSiteRename%3A%20Error%20Code%3A%20-117%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1007810%22%20slang%3D%22fr-FR%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20rename%20a%20Sharepoint%20site%20via%20the%20%22Start-SPOSiteRename%22%20command%20of%20the%20Microsoft.Online.Sharepoint.Powershell%20powershell%20module%20(version%2016.0.91).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20this%20command%20displays%20this%20error%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F157121iBEF192BE4FF14EB8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222019-11-14%2010-17-03-Administrator%20-%20Windows%20PowerShell%20ISE.png%22%20title%3D%222019-11-14%2010_17_03-Administrateur%26nbsp%3B_%20Windows%20PowerShell%20ISE.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22jhH5U%20r-iOY138VURLp4%22%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CU%3EHere%20is%20the%20script%3A%3C%2FU%3E%3C%2FDIV%3E%3CDIV%3E---------------------------------------------------------------------------------%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%24url%22%3CA%20href%3D%22https%3A%2F%2Fxx.sharepoint.com%2Fsites%2Ftest%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fxx.sharepoint.com%2Fsites%2Ftest%2F%3C%2FA%3E%20%3CBR%20%2F%3E%22%24NewSiteUrl%22%3CA%20href%3D%22https%3A%2F%2Fxx.sharepoint.com%2Fsites%2FTEST%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Fxx.sharepoint.com%2Fsites%2FTEST%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fxx.sharepoint.com%2Fsites%2FTEST%2F%3C%2FA%3E%3CBR%20%2F%3E%22%24newTitle%22TEST%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConnect-SPOService%3CBR%20%2F%3E'%20-Url%20%3CA%20href%3D%22https%3A%2F%2Fxxx-admin.sharepoint.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fxxx-admin.sharepoint.com%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStart-SPOSiteRename%3CBR%20%2F%3E'%20-Identity%3CBR%20%2F%3E%24url%20'%20-NewSiteUrl%20%24NewSiteUrl%20'%3CBR%20%2F%3E-NewSiteTitle%20%24newTitle%3C%2FP%3E%3CP%3E---------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20ever%20had%20this%20error%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1007810%22%20slang%3D%22fr-FR%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EError%20Code%3A%20-117%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowershell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EStart-SPOSiteRename%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Visitor

Hello,

 

I am trying to rename a Sharepoint site via the "Start-SPOSiteRename" command of the Microsoft.Online.Sharepoint.Powershell powershell module (version 16.0.91).

 

However, this command displays this error :

2019-11-14 10_17_03-Administrateur _ Windows PowerShell ISE.png

 
Here is the script :
---------------------------------------------------------------------------------

$url="https://xx.sharepoint.com/sites/test/ "
$NewSiteUrl="https://xx.sharepoint.com/sites/TEST/"
$newTitle="TEST"

 

Connect-SPOService `
-Url https://xxx-admin.sharepoint.com/

 

Start-SPOSiteRename `
-Identity $url `
-NewSiteUrl $NewSiteUrl `
-NewSiteTitle $newTitle

---------------------------------------------------------------------------------

 

Has anyone ever had this error?

 

Thanks,

0 Replies