Forum Discussion
Cant find preservation hold library
- Feb 13, 2023Yes.
There is a PowerShell possibility to un-hide the library, by changing its Hidden property to false. This will be needed on each site you want the PHL to be visible again.
With PnP (information on it at https://pnp.github.io/powershell/), you'll be able to change the property. Bear in mind, Microsoft support doesn't directly support PnP, with its support done by its own community. You have more information on this at https://learn.microsoft.com/en-us/sharepoint/dev/community/community#whats-the-supportability-statement-around-pnp-open-source-components-and-solutions.
Example:
Install-Module -Name PnP.PowerShell # If not installed already
Connect-PnPOnline -Url https://TENANT.sharepoint.com/<sites or teams>/SITE -Interactive
Set-PnPList -Identity "Preservation Hold Library" -Hidden $false
Anbrt does not work, says cannot find it since hidden