cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
max81
Kudo Kingpin
Kudo Kingpin

SharePoint GetItems TopCount - Documentation not correct

According to the Connector documentation, the "GetItems" operation with the "Top Count" parameter retriebes by default all items.

But the dev-documentation telling something else.

2021-02-23_15-59-54.png
https://docs.microsoft.com/en-us/connectors/sharepointonline/#get-items

 

2021-02-23_16-02-45.png

https://docs.microsoft.com/en-us/sharepoint/dev/business-apps/power-automate/guidance/working-with-g...

 

See also this post: https://powerusers.microsoft.com/t5/General-Power-Automate/SharePoint-GetItems-TopCount/m-p/841539

1 ACCEPTED SOLUTION

Accepted Solutions
Johnnyg
Microsoft
Microsoft

Hello Max81,

Yes, I think the doc didn't make it clear which should be 'default=100'. 

There's one blog report the same senario here from Alex:
https://alextofan.com/2019/08/22/how-to-get-more-than-5000-item-from-sharepoint-online-in-flow/ 

By default, each request you send from Flow to SharePoint Online will return a response limited to 100 items. This limitation is not very obvious, even if you show the advanced options on the action and read the hint text on the Top Count field.

The hint text mentions that the action will retrieve all items by default (default = all), which is technically correct, because all refers to how many items can be pulled by the request.

SharePoint - Connectors | Microsoft Docs

Johnnyg_0-1614513753389.png

 

Best Regards,
Johnny
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
Johnnyg
Microsoft
Microsoft

Hello Max81,

Yes, I think the doc didn't make it clear which should be 'default=100'. 

There's one blog report the same senario here from Alex:
https://alextofan.com/2019/08/22/how-to-get-more-than-5000-item-from-sharepoint-online-in-flow/ 

By default, each request you send from Flow to SharePoint Online will return a response limited to 100 items. This limitation is not very obvious, even if you show the advanced options on the action and read the hint text on the Top Count field.

The hint text mentions that the action will retrieve all items by default (default = all), which is technically correct, because all refers to how many items can be pulled by the request.

SharePoint - Connectors | Microsoft Docs

Johnnyg_0-1614513753389.png

 

Best Regards,
Johnny
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

max81
Kudo Kingpin
Kudo Kingpin

@Johnnyg : thanks for your feedback.

So it seems that many user already struggled with this. My request is: please update the documentation! Even if it is technically correct, the "100 / default = all" top count is confusing. Please add this clarification to the documentation (maybe my second link: https://docs.microsoft.com/en-us/sharepoint/dev/business-apps/power-automate/guidance/working-with-g...) or some other hint/link/explanation.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (36,729)