A Microsoft file hosting and synchronization service.
Hi Azanzane,
You may bulk change the versioning settings by PowerShell. First, you may close the default minimum version number setting by the following command:
Set-SPOTenant -EnableMinimumVersionRequirement $false
Then you may refer to the PowerShell codes in the following site:
Limit Versioning and Delete Old Versions in SharePoint
Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.
$SPsiteCollection = Get-SPSite "http://SharePointSite.com"
Loop through all Webs in the Site Collection
foreach($SPweb in $SPsiteCollection.AllWebs)
{
#loop through all lists in web
foreach ($SPlist in $SPweb.Lists)
{
if($SPlist.EnableVersioning -eq $true)
{
write-host "Setting versioning Limit for :" $SPlist.title
$SPlist.MajorVersionLimit = 20;
To Disable Versioning use: $SPlist.EnableVersioning=$false
To Enable Minorversion: $SPlist.EnableMinorVersions = $true;
Minor version Limit: $SPlist.MajorWithMinorVersionsLimit = 20;
$SPlist.Update();
}
}
}
Please let us know if you have any further concerns.
Best Regards,
Nathan