web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : IhqIRyKTLIrokFGeYD9F/a
Power Automate - Building Flows
Unanswered

Read-Only Error when updating Microsoft Lists Multi-Choice Column

Like (0) ShareShare
ReportReport
Posted on 30 Nov 2022 13:58:13 by

I've seen a couple of posts with similar issues but the work arounds haven't worked for me.

 

I have two Microsoft Lists involved. One tracks individual people while the other tracks engagements (Meetings, Interviews, etc.). The flow initiates when a new item is created in the engagements list. The aim is for it to get information on the individuals who are part of the engagement and then update the recently created item. In this case, the flow adds the organisation individuals are part of to and array and then attempts to update the new entry's column named "Organisations Involved".

 

The Flow:

nictherm1029_2-1669816017949.png

Value of variable is set to the "Organisations Involved" just in case it is not empty

nictherm1029_3-1669816073786.png

Get items used to get rows of stakeholders involved in engagement

 

nictherm1029_4-1669816130212.png

For each of the items gotten previously: First check if the Organisation is already in the Organisations involved array. If it isnt, then it is appended.

 

nictherm1029_5-1669816241549.png

Finally, the recently created item has the "Organisations Involved" column (Multi Choice Picker) updated with the Array of Organisations Involved. 

 

On this last step is where I get the error. Everything is being run on my personal sharepoint site and the column is not set to read-only anywhere I can see

This is the error in its entirety:

The 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: The API operation does not allow writing a value for parameter 'item/OrganisationsInvolved[0]/Id'. This parameter is read only.

 

Any help would be amazing. thank you in advance!

 

 

 

 

 

I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on 08 Dec 2022 at 10:09:55
    Re: Read-Only Error when updating Microsoft Lists Multi-Choice Column

    @nictherm1029  it looks like your column data type is not multi choice but multi lookup value, the solution that i provide to you was for multi choice column. To update value of multi valued lookup column do following:

     

    1. You will need Id values of the values you want to update in lookup column, example you have organization values to be updated in column, that organization values must be coming from a source list, where each organization value has associated item id value, you need to get those item id value

    2. Your append to array variable action should be in following format. Here Id value 4, in your case will be the Item Id value of organization value you want to update

    annajhaveri_0-1670495139294.png

    3. Rest of the steps will be same

     

  • Community Power Platform Member Profile Picture
    on 06 Dec 2022 at 11:11:11
    Re: Read-Only Error when updating Microsoft Lists Multi-Choice Column

    Hi Anna, 

     

    It is now giving me this error 

    nictherm1029_3-1670324964215.png

     

     

    The closest I've managed to get it working is using the select function. For the append to array variable I left the formatting how I did originally and then used the select function to map Value to Item.

    nictherm1029_1-1670324404428.png

     

    While this does not throw up any errors, as you can see in the picture below it is not ideal. 

    nictherm1029_2-1670324537756.png

    It seems to be that the output of "Get Item" and therefore input to append to array variable is:

     

    {
      "@odata.type""#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
      "Id"1,
      "Value""National Grid ESO"
    }
     
    When using the select function, the input to "Update Item" is:
     
    [
      {
        "@odata.type""#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
        "Id"-1,
        "Value":  {\"@odata.type\":\"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference\",\"Id\":1,\"Value\":\"National Grid ESO\"}"
      },
      {
        "@odata.type""#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
        "Id"-1,
        "Value":  {\"@odata.type\":\"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference\",\"Id\":0,\"Value\":\"Arup\"}"
      }
    ]
     
    Thank you so much for all the help, I really have no clue what to do. 
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on 02 Dec 2022 at 07:08:11
    Re: Read-Only Error when updating Microsoft Lists Multi-Choice Column

    @nictherm1029  i think i provided you incorrect format, can you please try below format in Append to array variable

    annajhaveri_0-1669964882718.png

     

  • Community Power Platform Member Profile Picture
    on 01 Dec 2022 at 13:35:58
    Re: Read-Only Error when updating Microsoft Lists Multi-Choice Column

    Thank you so much for the help!

    The Column's data type is Multivalued choice.

     

    I've made the change as seen below:

    nictherm1029_0-1669900957223.png

     

    While I do not get the same error when I attempt a test, the last event in the flow "Update Item" doesnt ever finalise.

    nictherm1029_1-1669901566238.png

    I haven't made any other changes. 

     

    Any help would be amazing, thank you for taking the time. 

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on 01 Dec 2022 at 06:43:12
    Re: Read-Only Error when updating Microsoft Lists Multi-Choice Column

    @nictherm1029  what is the data type of the column, is it multivalued choice column or multivalued lookup column?

    If its multivalued choice column, in the append to array action, you need to provide the value in following format:

    {
    "<value select from dynamic content>":
    }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 736 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 396 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 339

Last 30 days Overall leaderboard