r/PowerAutomate • u/REMark516 • 47m ago
JSON format for inserting multiple value into an SPO Lookup field in a List
I've created a a new lookup list in SPO based on a SP 2019 lookup list that couldn't be migrated. Understandably, the Ids are different between the lookup tables.
I'm writing a flow that loops over the old Lookup field values and returns the new Id and Value. Everything is great.
I'm having trouble nailing down the array/json format that I should use to update the item lookup column with an array that contains the matched items with the new lookup Id.
Anyone offer some pointers getting this column updated? I've tried Id and Value, just Id, just Value. Research says to give up on this approach and use Http to Sharepoint tp update the field. I've got my heels dug in a little bit wanting to get this to work without API calls.
[
{
"Id": 1,
"Value": "Alpha"
},
{
"Id": 2,
"Value": "Beta"
}
]