Forum Discussion
andgoo
Mar 20, 2021Copper Contributor
Change list URL without losing /Lists/ in the URL??
All the PowerShell scripts I've found so far which provide a way to rename the URL of a List in SPO move the list to the path /sitename/newlistname instead of maintaining /sitename/Lists/newlistname....
MichaelS4MS
Apr 23, 2021Copper Contributor
This seems to work. Change this:
$NewListURL = "RenamedList"
to include the Lists path:
$NewListURL = "Lists/RenamedList"