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 / Not all records loadin...
Power Automate
Unanswered

Not all records loading a sql database table in a flow using get rows v2

(0) ShareShare
ReportReport
Posted on by 704

Powerapps user occasionally using a flow.

Made flows loading dataverse tables no problem.

I started fidling with sql connector and discovered I cannot use sql query v2 (server will not allow) but I can use sql get rows.

Basically it works, added a response step which results in a body like this

 

 

 

 

{
 "@odata.context": "some_url",
 "value": [
 {
 "@odata.etag": "",
 "ItemInternalId": "4782b71d-e9cb-4114-80e9-53d48683aef0",
 "dier_id": 2,
 "diersoort_id": 1
 },


..


 {
 "@odata.etag": "",
 "ItemInternalId": "909d33c4-c675-47ba-81d3-feb1fb22d9f0",
 "dier_id": 2048,
 "diersoort_id": 2
 },
 {
 "@odata.etag": "",
 "ItemInternalId": "5823fa2b-b67b-4b2f-a0df-bf60cba80bff",
 "dier_id": 2049,
 "diersoort_id": 2
 }
 ],
 "@odata.nextLink": "some_url"
}

 

 

 

 

.. is for all the record inbetween, some_url is some url

Some more fields then I requested but no problem.

Before I start worrying how to use this response in powerapps I am worried that the number of records when I test is way lower that the actual table has (bit over 2000 vs 50000 ish). I set no top count in the get rows step, just entered the two fields I wanted (dier_id an diersoort_id)
Any ideas why this might be?

 

 

>Edit: after some minor adjustments the flow perfectly loads selected fields into a powerapps collection but for only loading 2048 records whichs seems to be 2^11 somehow.

 

>Edit: by using "2048" as google leverage I found i can adjust the pagination property of the get rows step. If I set the treshold to some number I get some more than the number. If I set the treshold to 100000 (max) I get all 53779 records. I still wonder what happens if a table far exceeds 100000 records.

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,598 Super User 2026 Season 1 on at

    You will need to include the pagination logic in your flow. 

     

     discovered I cannot use sql query v2 (server will not allow)

    Not entirely the case. You can work around that by using stored procedures.

  • wskinnermctc Profile Picture
    6,519 Moderator on at

    If the table exceeds 100,000 rows the Get Rows V2 connector will not return more than 100,000 sortof.

     

    I did try this and it returned 100,352 rows but my sql table has over 500,000. So the 100,000 threshold is close enough. Maybe the type of data or size will change the amount over 100,000? 

  • lbendlin Profile Picture
    8,598 Super User 2026 Season 1 on at

    Limits and configuration - Power Automate | Microsoft Learn 

     

    maybe the 100 MiB message size limit strikes again. one of the most infuriating limitations of Power Automate.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard