I'm having a List in my SharePoint Online which is having 652 rows.
My aim is to insert these 652 rows into On prem SQL Server table.
I've a task Get items, followed by a For each and Insert row (V2) inside the For each.
In the For each settings I've switched on the Concurrency Control & the Degree of Parallelism is set to 50.
Every time I execute the logic app, I see that the execution is successful, but only 100 rows gets inserted into the SQL server table.
Any help will be highly appreciated. Thanks in advance 🙏👍
I test it in my side, it seems the problem was not related to "For each" Concurrency Control & the Degree of Parallelism. The reason for this problem is the "Get items" action of SharePoint connector can just get 100 records in default from the list.
To solve this problem, you just need to set the the parameter "Top Count" to 999
.
By the way:
I guess the "Get items" action request the microsoft graph api in the backend to get items. And the graph api response 100 records by default, so it just get 100 records in your logic app (if you didn't set "Top Count" parameter). And we can know from the microsoft document, the $top
parameter just support a maximum value of 999. So I guess the "Get items" action in logic app can also support a maximum value of 999(I'm not sure).