Unable to delete Sharepoint Online site Preservation Hold list items in bulk

%3CLINGO-SUB%20id%3D%22lingo-sub-2425019%22%20slang%3D%22en-US%22%3EUnable%20to%20delete%20Sharepoint%20Online%20site%20Preservation%20Hold%20list%20items%20in%20bulk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2425019%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20encountered%20an%20issue%20where%20we%20were%20unable%20to%20delete%20Sharepoint%20Online%20Preservation%20Hold%20list%20items%20in%20bulk.%20We%20had%20around%20400%2C000%20list%20items%20showing%20and%20only%20able%20to%20delete%20in%20batches%20of%20100.%3C%2FP%3E%3CP%3E%26nbsp%3BWhen%20we%20tried%20to%20run%20a%20script%20from%20Microsoft%20team%2C%20we%20ran%20into%20this%20error%3A%20library%20has%20exceeded%20the%20list%20view%26nbsp%3Bthreshold%20which%20is%205000%20items%20per%20library.%3C%2FP%3E%3CP%3EWould%20like%20to%20know%20if%20there's%20an%20easier%20way%20out%20to%20clean%20up%20the%20Sharepoint%26nbsp%3B%20Online%20site%26nbsp%3BPreservation%20Hold%20library%20to%20a%20bare%20minimum%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2425019%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPreservation%20Hold%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Frequent Visitor

Hi Everyone,

 

We encountered an issue where we were unable to delete Sharepoint Online Preservation Hold list items in bulk. We had around 400,000 list items showing and only able to delete in batches of 100.

 When we tried to run a script from Microsoft team, we ran into this error: library has exceeded the list view threshold which is 5000 items per library.

Would like to know if there's an easier way out to clean up the Sharepoint  Online site Preservation Hold library to a bare minimum ?

 

 

0 Replies