cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ScottShearer
Super User
Super User

SharePoint Get Items Maximum Row Limit

 

I have been unable to find documentation on the maximum number of rows that the SharePoint Get Item action will return.  It is my understanding that, by default, there is a limit of 100 rows but that can be changed in the settings configuration screen for the action.

So , I have two questions:

    Is there a limit to the number of rows that Get Items will return?
    Is the default 100 rows?

 Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi @ScottShearer,

 

Per my test, Get items will return only 100 items if you left the Top count field blank, though you have 1000 items and it says Total number of entries to retrieve (default = all).

 

While if you want to get all items without specifying a limit, please configure the card by clicking ellipsis then Settings. At there, turn on the Pagination, this will automatically follow the next link. For additional protection, you can provide a limit.

1.PNG

 

I have seen a request on Flow Ideas Forum about this issue, please check it, you could vote the idea at here:

https://powerusers.microsoft.com/t5/Flow-Ideas/Flow-Get-Items-returns-only-100-entries-when-quot-Top...

 

Besides, about the limitation, I haven’t seen a documentation on it. However, looping and debatching limits for Flow is 5000, I assume that the limit to the number of rows that Get items will return will also be 5000. Please check more details at here:

https://docs.microsoft.com/en-us/flow/limits-and-config

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi @ScottShearer,

 

Per my test, Get items will return only 100 items if you left the Top count field blank, though you have 1000 items and it says Total number of entries to retrieve (default = all).

 

While if you want to get all items without specifying a limit, please configure the card by clicking ellipsis then Settings. At there, turn on the Pagination, this will automatically follow the next link. For additional protection, you can provide a limit.

1.PNG

 

I have seen a request on Flow Ideas Forum about this issue, please check it, you could vote the idea at here:

https://powerusers.microsoft.com/t5/Flow-Ideas/Flow-Get-Items-returns-only-100-entries-when-quot-Top...

 

Besides, about the limitation, I haven’t seen a documentation on it. However, looping and debatching limits for Flow is 5000, I assume that the limit to the number of rows that Get items will return will also be 5000. Please check more details at here:

https://docs.microsoft.com/en-us/flow/limits-and-config

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The native CDS connector does not support LogicApps/Flow built in paging. As a work around you can do something similar to the following:

 

where the first "decodeUriComponent" function is :

@{decodeUriComponent(replace(uriQuery(coalesce(outputs('List_records_1st_Page')?['body']?['@odata.nextLink'], 'https://fakeurl.com?$skiptoken=')), '?$skiptoken=', ''))}

 

and the second is:

@{decodeUriComponent(replace(uriQuery(coalesce(outputs('List_records_next_page')?['body']?['@odata.nextLink'], 'https://fakeurl.com?$skiptoken=')), '?$skiptoken=', ''))}

 

Manual implementation of paging for CDS List RecordsManual implementation of paging for CDS List Records

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,771)