Delete all items in Recycle Bin

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

URI

Headers

Body

Not applicable

Screenshot with example

deleteallitemsinrecyclebin

Copy/paste example

Resources

RecycleBinItemCollection.DeleteAll method

That’s it, Happy testing!

You may also like...

1 Response

  1. Bernard Piccoli says:

    I did it exactly this way and it is only cleaning the files that were deleted by the owner of the flow. The flow interprets other people’s files, results in 200, but does not delete them. Can you help me?

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.