Hello,
I'm trying to create a template flow for batch updating a SharePoint list with external data. I've successfully built 90% of the flow to attach SP IDs to the external data, formatting it for SP, and creating the lines necessary for each PATCH listed in the batch request. However, when I run the flow, it fails on the HTTP request with the following error:
Solved! Go to Solution.
Oh duh!
Each line is set as a PATCH, but the overall request is a POST to create a batch request with each of those lines.
I must have reflexively switched the request to PATCH thinking that I'm making a bunch of PATCH requests.
Thanks Damien,
Alright, I finished a batch update with external data template flow.
It's currently set to take data from any Excel sheet (can be modified to use any data-source, including HTTP API requests) and update records in SharePoint with corresponding data. Part of it works like a Vlookup function where it identifies if a row of updated data in Excel has some set values in it and matches it to the SharePoint record with those set values through the SharePoint ID. Then it uses the batch update method to update those SharePoint records.
Explore the flow here: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Batch-Update-SharePoint-List-With-Extern...
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
25 | |
24 | |
23 | |
23 | |
19 |
User | Count |
---|---|
57 | |
39 | |
38 | |
29 | |
26 |