Forum Discussion

Rebekah278's avatar
Rebekah278
Copper Contributor
May 11, 2023
Solved

SharePoint Designer 2013 Your account is in a bad state

Hello, I only use Designer to change the URL's of my lists/libraries.  I also have an old site with subsites and I use it to save the subsite as a template.  I installed the service pack SP1 last we...
  • Deleted's avatar
    Deleted
    May 11, 2023

    Rebekah278 
    To change the URL of a SharePoint Online list using https://www.microsoft.com/en-us/download/details.aspx?id=35588 you can use the `Set-PnPList` cmdlet. Here's an example command:

     

    Set-PnPList -Identity "ListName" -Url "NewUrl"

     

    Replace `"ListName"` with the display name or the URL of the list you want to modify, and `"NewUrl"` with the new desired URL for the list.

    Here's a step-by-step guide to using SharePoint Online Management Shell and the `Set-PnPList` cmdlet:

    1. Install SharePoint Online Management Shell: If you haven't installed SharePoint Online Management Shell, you can download and install it from the Microsoft Download Center. Make sure you have the appropriate permissions to perform list modifications.

    2. Launch SharePoint Online Management Shell: Open SharePoint Online Management Shell on your computer.

    3. Connect to SharePoint Online: Run the following command and enter your SharePoint Online credentials when prompted:

    Connect-PnPOnline -Url "https://yourdomain.sharepoint.com/sites/yoursite"

    Replace `"https://yourdomain.sharepoint.com/sites/yoursite"` with the URL of your SharePoint site.

    4. Run the `Set-PnPList` command: Execute the following command to change the URL of the list:

     

    Set-PnPList -Identity "ListName" -Url "NewUrl"

     

    Replace `"ListName"` with the display name or URL of the list you want to modify, and `"NewUrl"` with the new desired URL for the list.

    For example, to change the URL of a list named "Documents" to "NewDocuments", the command would be:

     

    Set-PnPList -Identity "Documents" -Url "NewDocuments"

     

    5. Verify the change: After executing the command, you can check the list in SharePoint Online to ensure that the URL has been successfully updated.

    Please note that modifying the URL of a list may impact any existing links or references to that list, so it's important to consider potential consequences and update any related items or configurations accordingly.

     

    If I have answered your question, please mark your post as Solved
    If you like my response, please give it a like

Resources