Forum Discussion
daivea
Jun 27, 2024Copper Contributor
SPO Site rename
Hi all, I am looking for a way to rename a SharePoint site but only the site name (I don't want the URL changed). I have found scripts to rename the site title but not the actual name. I have...
daivea82
Jun 30, 2024Copper Contributor
Thanks, but I don't want the URL changed. Is there no way to do this without changing the URL?
daivea82
Jun 30, 2024Copper Contributor
If I use your second example, all that does is change the title within the site. I am looking to change the name of the site in the admin center
- Jul 01, 2024
Both commands will just change the name, even in admin. That's mirrored
https://pnp.github.io/powershell/cmdlets/Set-PnPWeb.html#-title
- daivea82Jul 01, 2024Copper Contributor
Your command still wants to create a new URL
If i do that and specify a new URL, it works as described. But i don't want the URL changed- Jul 02, 2024You can just add the existing URL, it should work!
Else use:
Set-SPOSite -Title "New site title"