Delete all items in Second Stage Recycle Bin

How to delete all items in a SharePoint Online Second Stage Recycle Bin using a Power Automate flow. In other words, empty the second stage recycle bin.

URI

Headers

Body

Not applicable

Screenshot with example

deleteallsecondstageitems

Copy/paste example

Resources

RecycleBinItemCollection.DeleteAllSecondStageItems method

That’s it, Happy testing!

You may also like...

2 Responses

  1. Jacob Pruet says:

    Hello, I am trying to do a flow to delete all files in my sharepoint document library recycle bin. Most articles arent very helpful. I know I need to do a get and delete http call, but those examples are only for specific files. How do I do it for all items? Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.