AutomateAlong

Guides › Excel

Power Automate “List rows present in a table” only returns 256 rows: how to get them all

Updated 28 October 2026

Short answer: the action returns up to 256 rows unless you switch on Pagination. Select the List rows present in a table step, open its Settings tab, turn Pagination on and set a Threshold higher than the number of rows in your table. Then check the threshold your licence allows (below).

Why it stops at 256

This isn't a bug in your flow. Microsoft's own documentation for the Excel Online (Business) connector lists it as a known limitation: the List rows present in a table action returns a maximum of 256 rows by default, and pagination is how you get the rest. The action doesn't warn you. Your flow runs successfully, and rows 257 onwards are simply never processed.

That's why it usually turns up weeks later: the flow worked fine while the table was small, then the spreadsheet grew past 256 rows.

Fix 1: turn on pagination

  1. Open the flow in Power Automate and select the List rows present in a table step.
  2. In the panel that opens, select the Settings tab. (In the classic designer, it's under the step's … menu, then Settings.)
  3. Turn Pagination on.
  4. In Threshold, enter the most rows you'd ever expect the table to hold, for example 5000.
  5. Save, then run a test and check the row count (see “Check it worked” below).

The threshold is a ceiling, not a target. Setting 5,000 on a table with 900 rows returns 900 rows.

How high can the threshold go?

Microsoft sets the ceiling by the flow's licence profile. In the limits documentation, paginated results are capped at 5,000 items on the Low profile (this covers Microsoft 365 plans, Power Automate Plan 1, free plans and all licence trials) and 100,000 on the other profiles (Premium, Process and per-flow licences). If you enter a higher number than your profile allows, you won't get more rows than the cap.

If you're not sure which licence your flow runs under, assume the lower figure until you've checked with whoever manages your Microsoft 365 licences.

Fix 2: ask for fewer rows

Often you don't need every row at all. Two advanced parameters on the same action cut the data down before it reaches your flow, which is faster and puts less load on the Excel file:

  • Filter Query returns only matching rows, using an OData filter. For example, to get only open items: Status eq 'Open'
  • Select Query returns only the columns you name, separated by commas, for example Customer,Amount,Status

The Excel connector's filtering is basic. According to Microsoft's connector reference:

RuleWhat it means for you
Supported filter functions: eq, ne, contains, startswith, endswithNo gt/lt, so you can't filter by “amount greater than” here. Filter afterwards with a Filter array step instead.
Only one filter function per columnYou can't combine two conditions on the same column in one query.
Only one column can be used for sortingOrder By takes a single column.
Filter, Order By and Select only support alphanumeric column namesA column called Due Date or Amount (£) won't work in a query. Rename it to DueDate or Amount.

Pagination and filtering work together: if the filtered result could still be over 256 rows, keep pagination switched on.

Fix 3: very large tables

If your table could grow past your licence's pagination cap, or you're hitting slowdowns, process it in batches using the action's Top Count (how many rows to return) and Skip Count (how many rows to skip first) parameters inside a Do until loop:

  1. Initialize variable: name Skip, type Integer, value 0.
  2. Do until loop. Inside it:
    • List rows present in a table with Top Count 5000 and Skip Count set to the Skip variable.
    • Your processing steps for that batch.
    • Increment variable: Skip by 5000.
  3. Set the loop to stop when the last batch came back smaller than the batch size, using this expression in the condition, compared as is less than 5000:
    length(outputs('List_rows_present_in_a_table')?['body/value'])
    (If you renamed the step, replace List_rows_present_in_a_table with your step's name, using underscores for spaces.)

Do until also has its own Limits under the loop's settings: by default it stops after 60 loops, and Microsoft allows up to 5,000. At 5,000 rows a batch, 60 loops already covers 300,000 rows, so the default is usually fine. Test this pattern on a copy of your file first.

Honestly, if you're regularly working with tens of thousands of rows, Excel is the wrong home for the data. A SharePoint list or Dataverse table copes far better with flows.

Check it worked

Add a Compose step straight after the action with this expression, then run the flow and look at the Compose output in the run history:

length(outputs('List_rows_present_in_a_table')?['body/value'])

Compare the number with the row count in the Excel table. If it's still exactly 256, pagination isn't on for that step. If it's exactly 5,000 and your table is bigger, you've hit the Low-profile cap.

Other Excel connector gotchas worth knowing

  • Your data must be in a table. The connector only reads Excel tables (Insert → Table), not plain ranges.
  • Recent changes can lag. Microsoft notes that rows added, updated or deleted by a flow may take up to around 30 seconds to show, and filtered or sorted results may be slightly out of date.
  • Files can stay locked. A file can be locked for updates or deletes for up to 6 minutes after the connector last used it.
  • Size limits. The connector supports Excel files up to 25 MB.
  • Throttling. Each connection is allowed 100 calls per 60 seconds. An Add a row inside an Apply to each over thousands of rows can hit that, so build in delays or batch the work.
  • Avoid several flows writing to the same file at once. Microsoft doesn't support simultaneous edits from multiple connectors or manual edits.

Quick checklist

  • Pagination on, with a threshold above your largest expected row count
  • Threshold within your licence's cap (5,000 on Microsoft 365 licences)
  • Filter Query and Select Query used where you don't need every row and column
  • Column names in queries contain only letters and numbers
  • A row count checked once in run history

Stop this happening in the next flow

The 256-row limit is the kind of setting nobody thinks to ask about until a flow quietly misses data. When you design a flow in AutomateAlong that reads an Excel table, it suggests pagination as an improvement before you build, along with error handling and the other settings that keep a flow working as your data grows. It's free to start, with no card needed.

Sources

Build your flow with every box filled in. Describe what you want in plain English and AutomateAlong designs it, then walks you through each step in Power Automate with the exact value to paste. Describe your own flow · Free, no card needed.

More guides

AutomateAlong is independent and isn't affiliated with Microsoft. Microsoft and Power Automate are trademarks of the Microsoft group of companies.