Forum Discussion
MasatoIndou
Jun 23, 2024Copper Contributor
Preservation Hold Reporting on all SharePoint Online Sites within a Tenant
Hello everyone,
I'm trying to find out if there was a way to report on Preservation Holds for all SharePoint Online sites in a tenant. What I want to know is:
- How many sites have preservation holds
- How many files/folders are in there
- Total size of preservation hold per site (pref in GB)
any thoughts, help or guidance would be very much appreciated.
- This can be done using PowerShell. This post includes a script.
https://techcommunity.microsoft.com/t5/sharepoint/total-size-of-preservation-hold-libraries/m-p/2402051- MasatoIndouCopper ContributorHi Steve, thanks I'll start looking into this, performance wise, I'm hoping this can cope with large numbers of sites (15k worth yes it's sad I know)