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

Update available choices in a SharePoint choice field with Power Automate

Posted on March 9, 2022March 9, 2022 by Tom

“I’ve got multiple SharePoint lists with a choice column, can I somehow update the available choices in all of them, e.g. with Power Automate?”


If you’re using Power Automate to synchronise multiple SharePoint lists, the lists should be the same. The same columns, with the same internal name, and the same available values. If there’s a change in one of the lists, you should do the change also in the others. But what if it’s more than a few lists? If you’ve got 10+ lists with the same structure, and you need to change the available choices in a choice column? Would you update them manually, one by one?

Get the new values

To update the choices you must get the actual choices in a form of an array. The easiest way might be to convert them from a string. Build a string of the choices with a fixed separator, and then split(…) them using it, e.g.

Choices:
Choice1;Choice2;Choice3;Choice4

split(Choices,';')

Update the values with an HTTP request

Once you have the choices, you can update them in the column. The HTTP request goes as below:

Method: PATCH

Uri:
_api/web/lists/GetByTitle('<list name>')/fields/GetByTitle('<column name>')

Headers:
{
  "accept": "application/json;odata=verbose",
  "Content-Type": "application/json;odata=verbose",
  "IF-MATCH": "*"
}

Body:
{
  '__metadata': {
    'type': 'SP.FieldChoice'
  },
    'Choices': { 'results': <array with choices> }
}

Note: <…> represents a placeholder, replace it including the < and >.

Power Automate SharePoint update available choices

All that’s left is to add a configuration list with the site addresses and list names, and update the choice column for each of them.

Summary

In most situations you build a flow over existing data structure. You define the structure manually, e.g. create columns in a SharePoint list, and then process only the data on some regular basis. But that’s not the only usage.

It’s possible to use flows also for one time tasks, e.g. remove SP list duplicates or copy SP pages, as already shown in the previous articles. And another such task might be to use Power Automate to update available choices in a SharePoint choice column. To not only modify the data itself, but change also its structure. With the right HTTP request (almost) anything is possible.


🚀 Master Power Automate

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

No spam. Unsubscribe anytime.

7 thoughts on “Update available choices in a SharePoint choice field with Power Automate”

  1. MIchael Martin says:
    March 16, 2022 at 11:42 pm

    Hi,

    Thanks for the regular blog. I always learn something new from it. Can this example be used to update or replace a choice column’s values from items from another list? Can you please show an example for how this could work?

    Thanks

    Reply
    1. Tom says:
      March 22, 2022 at 7:35 pm

      Hello Michael,
      if you’re able to extract the values in an array, you can replace them. I’d use the same approach as in this article to get the unique values (with the Select and union(…)): https://tomriha.com/send-one-email-per-user-with-multiple-sharepoint-items-in-power-automate/, instead of emails extract the choice values. Once you have the unique values in an array you can use it in the HTTP request.

      Reply
  2. Kilian says:
    May 2, 2022 at 10:46 am

    Hi Tom,

    Great blog, very helpful! Do you happen to know whether it is also possible to edit the style of a choice using this HTTP request? What do I have to add to the body to pick a color for each choice?

    Thanks!

    Reply
    1. Tom says:
      May 8, 2022 at 6:36 pm

      Hello Kilian,
      I don’t know I never tried this.

      Reply
  3. Janine White says:
    December 7, 2023 at 9:13 pm

    Before updating the choices, I would want to get a list of the choices that are currently available, then add the choices that aren’t in the list, yet. For example, each time an item is added or updated in a choice field that allows manually adding values, verify that the choices made exist and add them to the choices list if they are not on there. Is there a way to get the choices in the dropdown list first?

    Reply
    1. Robert says:
      July 24, 2024 at 4:51 pm

      you basically make a GET request (empty header, empty body) to the same site address using this URI

      Identifying your sharepoint list by GUID:
      _api/web/lists(guid’xxxxxxxxxx’)/fields/GetByTitle(”)/Choices

      Identifying your sharepoint list by Name:
      _api/web/lists/GetByTitle(”)/fields/GetByTitle(”)/Choices

      I’m doing this the exact same way … I just can’t get the POST to work – getting back a 200 OK, but no Choices are added 🙁 I’m frustrated ..

      If anybody knows anything that needs to be done in 2024 to get this work – let me know

      Reply
  4. Florian says:
    July 24, 2024 at 4:32 pm

    Hi!

    Unfortunately that´s not working for me, I get the error message “The type SP.FieldCollection does not support HTTP PATCH method.” Is there a way to solve this?

    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