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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Bulk Update/Create/Del...
Power Automate
Suggested Answer

Bulk Update/Create/Delete SharePoint List

(1) ShareShare
ReportReport
Posted on by 10

Hello Everyone,

 

Can anyone suggest what is the best way to bulk update/create/delete SharePoint list items. I need to do this in bulk since the workflow will be processing 5000 to 10000 rows. 

 

There are three file sources, SharePointList_1; SharePointList_2; Excel_file (uploaded in a document library), and a unique field EmployeeNumber in all three sources. 

 

Below are the objectives of the workflow:

1. Update SharePoint List_2 items in bulk if EmployeeNumber matches Excel_file but does not return a match in SharePointList_1

2. Create  SharePoint List_2 items in bulk  if EmployeeNumber matches Excel_file but does not return a match in SharePointList_2

3. Delete SharePoint List_2 items in bulk if EmployeeNumber does not match Excel_file and SharePointList_1

 

I have seen an article from @Paulie78 and I was able to replicate to a certain extent

  • Bulk Create - Instead of having two conditions; I enforced unique values in the field EmployeeNumber of Create  SharePoint List_2, this way the 2nd condition 'does not return a match in SharePointList_2' will no longer be required

I

 

I am fairly new to Power Automate with very limited knowledge of json. So what I do is copy the solution word for word and just replace with the values that I used. 

 

Thanks

Categories:
I have the same question (0)
  • JQuema Profile Picture
    10 on at

    Perhaps a function similar to SQL that will query the values from SharePoint List_2 that has a matching value in Excel_file but does not have a matching value in SharePointList_1?

  • JQuema Profile Picture
    10 on at

    Any ideas? I'm tagging top solution authors who can probably help.

     

    @Rhiassuring @Shujaath_Khan @DamoBird365  @ScottShearer 

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    Hi @JQuema 

    If for SharePoint can you try batch to do CRUD operations? 

    ref link to get started or this to get started

     

    Thanks
    Please click Accept as Solution on this reply if it helped to solve your issue, and thumbs-up if you feel this is useful or important in other ways as a boost.

     

  • takolota1 Profile Picture
    4,980 Moderator on at

    @JQuema @Shujaath_Khan 

     

    You can also this template here for batch SharePoint updates:

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Batch-Update-SharePoint-List-With-External-Data/td-p/1365410

     

    I have seen the ways some other demonstrate batch updates & most still require around 1 action per row. This template is like 10 actions per 800 rows.

  • Suggested answer
    Arnaud LG Profile Picture
    4 on at
    You will need to rework the "MyFilter", but then you should be able to perform a bulk update:
    With(
      {
          tempTable:Filter(MySharePointList, MyFilter)
      },
      ClearCollect(_Batch,tempTable);
      ForAll(tempTable,Patch(_Batch, ThisRecord, {Status:{Value:"Validated"}}));
      Patch(
              MySharePointList,
              _Batch
          )
    );
  • lbendlin Profile Picture
    8,705 Super User 2026 Season 1 on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard