cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeventeH
Helper I
Helper I

Delete all elements from sharepoint

Hello!

 

I made a flow that supposedly deletes all the elements from a sharepoint list, however it only deletes the first 100 elements, can somebody explain it to me why?

 

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @LeventeH ,

I guess you're using the 'Get items' action to get all the items to delete, that action has a default limit 100 items. You should manually increase it to up to 5000 by defining the 'Top Count' value.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

2 REPLIES 2
tom_riha
Super User
Super User

Hello @LeventeH ,

I guess you're using the 'Get items' action to get all the items to delete, that action has a default limit 100 items. You should manually increase it to up to 5000 by defining the 'Top Count' value.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Thank you! I will test it, the funny thing is, that the Top Count says that by default it retrieve all the entries 😅

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,303)