Forum Discussion
adaziv
Apr 15, 2024Copper Contributor
Set version limits to SharePoint and OneDrive
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 te...
Laxman V
Apr 15, 2024Brass Contributor
Did you see this PowerShell option? https://www.sharepointdiary.com/2019/07/sharepoint-online-set-versioning-limit-using-powershell.html#:~:text=Go%20to%20your%20document%20library,on%20the%20number%20of%20versions. 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