Forum Discussion
tcboeira
Mar 21, 2024Brass Contributor
Error when using SPO-Site to rename Site name
Hello, Basically, I need to change the name of a website. However, the following error occurs: Set-SPOSite -Identity https://mytenant.sharepoint.com/sites/mysite -Title 'New Title' Set-SPO...
ganeshsanap
Mar 22, 2024MVP
tcboeira Try using below PnP PowerShell commands once:
$SiteURL = "https://mytenant.sharepoint.com/sites/mysite"
#Connect to SharePoint site
Connect-PnPOnline -Url $SiteURL -Interactive
#Change site title
Set-PnPWeb -Title "New Title"
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- AndreRadtkeMar 23, 2024Brass ContributorAre you (the Account you are using for your powershell command) the owner of the connected group?