Delete files from preservation hold Library

Copper Contributor


I have a SharePoint Online Site Collection with a Preservation hold library.
I want to delete all files from the library that have the term "Projectx" in the filename.


I have tried with the PnP PowerShell module.
Unfortunately without taking place.


It would be nice if someone can support me.

1 Reply

Hi @donElaio 

If you are having this library is because you have a retention policy. All of this data is required and cannot be deleted.

You can see more information about this here: