Import maximum 5000 excel items into sharepoint list using power automate

Jyoti Rajpurohit 21 Reputation points
2021-08-09T10:09:14.69+00:00

Hi Team,

I have to import maximum 30,000 excel sheet items into SharePoint list using power automate. The help of pagination, I can get 5000 items but here we have requirement for more than that.

121674-image.png

Also noticed one issue like if excel sheet has more than 5000 items.
for example excel sheet has 10,000 items, when I use "Excel Online (Business)" and I set pagination threshold as 5000 but it gets the 5120 items. while importing items into SharePoint list it gives an error in for each loop.

121659-image.png

Kindly help me in this.

Thank You.

Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yi Lu_MSFT 17,611 Reputation points
    2021-08-10T10:03:20.697+00:00

    Hi @Jyoti Rajpurohit
    As described here: Concurrency, looping, and debatching limits, for Low plans, the highest number of array items that a "apply to each" loop can process is 5000 while the number is 100000 for other plans.

    121952-image.png

    Flows have different limits depending on their performance profile. There are five possible values, depending on the flow owner's plan.

    121962-image.png

    Since the number of items in your excel exceeds 5000 and you may have a Low plan, this issue is caused by the limit of the “Apply to each”action. As per my knowledge, I’m afraid there is no workaround to such threshold issue unless you divide the large excel sheet into several small ones.

    Also, this forum is dedicated to SharePoint related issues and I am not an expert on Power Automate Flow. You can raise a new thread in Power Automate community. Experts there will give you professional suggestion.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.