Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Outlook
    • Planner
    • Power Apps
    • SharePoint
    • Teams
  • Triggers
  • Ready to use solutions
    • Approval Process Template
    • Task Delegation App
    • The Ultimate Power Automate expressions cheat sheet
    • Power Automate HTTP requests to SharePoint cheat sheet
    • Power Automate HTTP requests to Graph API cheat sheet
  • ABOUT ME
  • Get help with your flow
  • POWER PLATFORM SERVICES
Menu

How to rename SharePoint list(s) using Power Automate flow

Posted on February 20, 2022February 20, 2022 by Tom

“I need to rename SharePoint list(s), can I avoid the manual work by building a Power Automate flow that would do it for me?”


There’re many actions using the SharePoint connector in Power Automate, but most of them are related to items or documents. It has no action that would allow you to change any settings on a list. The only available list related actions are ‘Get lists’, ‘Get lists and libraries’ and ‘Get list views’. All of them just return information, none of them does an update.

To update a list, in this situation to change its name, you’ll have to use an HTTP request.

Renaming the list (or library)

The HTTP request needs 3 pieces of information. The first one is the site address, the second one is the current list name, and the last one is the new list name. The request then goes as below:

Method: POST

Uri: _api/web/lists/getByTitle('<current list name>')

Headers:
{
  "Accept": "application/json;odata=verbose",
  "Content-Type": "application/json;odata=verbose",
  "IF-MATCH": "*",
  "X-HTTP-Method": "MERGE"
}

Body:
{
    "__metadata": {
        "type": "SP.List"
    },
    "Title": "<new list name>"
}

Note: <…> are placeholders, replace them including the < and >. Check this blog post if the HTTP returns ‘List does not exist’ error.

Power Automate rename SharePoint list

Renaming multiple lists / libraries at once

The HTTP request above will rename one list. If you’d like to rename multiple lists in the same flow, you shouldn’t do it by adding an HTTP request for each list. It’s much better to use a configuration list similar to the one used for copying files between libraries and take the information from there. A simple SharePoint list with 3 columns for the 3 pieces of information.

Once you have all the information in the list you can get all the rows and use them in the HTTP request. The flow below will take all the lists in the configuration and rename then one by one.

Summary

As already mentioned in the post on copying pages between SharePoint sites, flows are not limited to repeated tasks. You can build a simple Power Automate flow also for one time tasks, e.g. to rename SharePoint list(s). And even though there’s no action to do that, there’s always an HTTP request that’ll do the task.


πŸš€ Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

5 thoughts on “How to rename SharePoint list(s) using Power Automate flow”

  1. Marius says:
    April 8, 2022 at 1:37 pm

    Hello, thanks for the tutorial worked for me.
    But i hvae a problem, the list name does only change for me when I share this list other people still se the original name from when the list was created.

    Is there something I can do to change this ?

    Reply
    1. Tom says:
      April 13, 2022 at 2:37 pm

      Hello Marius,
      did they try to fully refresh the browser tab? The request should rename it for everyone, but I can imagine that if they used a different language in SharePoint than you do it could change it only for your language.

      Reply
      1. Marius says:
        April 20, 2022 at 12:52 pm

        Hello,

        yes the site gets refreshed everytime. I tested it myself with another account, diffrent browser, delted cache and cookies. I changed the timezone of the list so its matches our timezone. Its very wierd and i dont know how I can fix this.

        One question, the url shuld not chnage with this method or ? Because i just change the list name but not its “id” ?

        Reply
        1. Tom says:
          April 23, 2022 at 8:32 pm

          Hello Marius,
          it’ll change only the list name, the list URL and ID are assigned when the list is created and it stays the same.
          For the issue I don’t have any more ideas, using different languages for the SharePoint site was the only one.

          Reply
  2. Robert Gentile says:
    August 26, 2024 at 6:16 pm

    Thanks Tom,

    This was exactly what I was looking for. I appreciate you sharing your knowledge.

    robertg

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

πŸš€ Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Working on an Approval process?

Use the Approval Process Template and the Task Delegation App to skip the hard part and deploy a fully functional approval solution on a SharePoint list in minutes! And then the next one, and the next one...

Approval Template Preview ✨ Learn more ✨

Turn ideas into flows with ease!

Grab the complete Power Automate Cheat Sheet Bundleβ€”everything you need to master expressions, SharePoint HTTP calls, and Graph API in Power Automate.

Cheat Sheet Bundle Preview ✨ Get the Cheat Sheets

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with thousands of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2025 Let's POWER Automate | Theme by SuperbThemes