I need to quickly delete more than 30,000 items from a SharePoint list. Using a flow to list the items and then delete them takes too long. What other, more effective solutions are there? I’ve been searching and only found a premium connector that groups them by 250 items and then deletes them (I can’t recall the name of the connector right now).
Just be aware that the settings action (which is actually compose action renamed to settings), uses Tracked Properties, and this is used in the body of the batch delete request and in headers of the Send HTTP request to SharePoint action:
You may need to set the batch size to a smaller number if you get a timeout condition. I'm using batch size of 500 which seems to work well for this particular flow. Check the outputs of the Results for any errors or timeouts.
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.