Set version limits to SharePoint and OneDrive

Copper Contributor

Hi all

I would like to do some data cleaning-up on my tenant and was wandering if there was a way to reduce the version number from 500 to 100 on all OneDrives and SharePoint libraries across the tenant.

Thank you.

1 Reply
Did you see this PowerShell option? https://www.sharepointdiary.com/2019/07/sharepoint-online-set-versioning-limit-using-powershell.html.... Steps : For old Sites /OneDrive - Run Onetime this script For New Sites - Create a On demand Job, when site created in Tenant, this script will run and change version configuration