I'm attempting to build a scheduled flow to periodically extract a snapshot of a Dataverse table to a .CSV file saved on SharePoint, but am running into a limit of 5000 rows when creating the .CSV.
The problem is that the CSV output contains only 5000 rows of data, despite the List Rows step apparently collecting all 25,000+ rows from Dataverse.
Does anyone know of the 5000 row output is due to a limitation of the Create CSV action, or an issue with the underlying data returned by the Dataverse List Rows action?
Could the Parse JSON and Append to Array actions be used in a loop to manually generate the CSV, or would this run into the same limitation?
I'm wondering if this is a limit based on the Power Automate license you are using. Do you have Power Automate Free, or Power Automate Per User license/other? See limits below.
Limits and configuration - Power Automate | Microsoft Learn
I have Power Automate Per User and can generate CSV tables with a very large number of items (I believe up to 100,000). The example below outputs a CSV with just over 10,000 rows.
See full flow below. I'll go into each of the actions. Note that for this example I'm using a SharePoint List with 10,997 items but should be the same process for a Dataverse Table.
Get items retrieves my list items. I've set Top Count to 5000 so it will retrieve the results in batches of 5000. Then in Settings > Pagination I've turned it On and set Threshold to 20,000.
So, in my case it will retrieve two lots of 5,000, and one lot of 997 giving me 10,997 items.
Then in Create CSV table, I pass in the value property from my Get items. This gives me a CSV table containing all 10,997 rows of data.
@grantjenkins thanks for the reply. Apparently I am on a PowerApps per user plan, so should fall under the medium performance profile and have access to the full 100,000 rows. Will just keep experimenting I think!
User | Count |
---|---|
27 | |
16 | |
15 | |
12 | |
11 |
User | Count |
---|---|
43 | |
30 | |
28 | |
24 | |
23 |