SharePoint Online Site versioning limit.
Hello
Please i need your help on this issue.
Please help with issue we have faced with SPO Site versioning limit.
We are trying to limit number of major to 5 and minor versions to 3.
MajorVersionLimit : 5
MajorWithMinorVersionsLimit : 3.
Mentioned settings applied to SP Site, but if we continue work with Documents, counts of versions keep increasing for example 0.1 till 0.22 and up.
For existing and new files in Document library..
What was done:
Enable expiration feature on tenant
Set-SPOTenant -EnableVersionExpirationSetting $true
Read site settings:
Get-SPOSite -Identity https://Site/….. | fl Url, EnableAutoExpirationVersionTrim, ExpireVersionsAfterDays, MajorVersionLimit
Set Versions limit and expiration time
Set-SPOSite -Identity https://Site/….. -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 5 -ExpireVersionsAfterDays 0 -MajorWithMinorVersionsLimit 3
Track progress of applying changes:
Get-SPOSiteVersionPolicyJobProgress -Identity https://Site/…
In this scenario expected to get 5 Major version and 3 Minor version for document.
As was tested – settings applied only to new documents or to new library.
For existing documents – rule don’t apply. Also don’t apply to Minor version limit
As an example:
Existing file, should be version limit 3, but it don’t work
Correct example for 5 Major versions
Hot to apply this setting for all documents – existing and new correctly? And how correctly apply limit for example – versions Last 5 users Major versions and 3 minor versions per user?
P.S. Maybe we have miss some settings.
Hello Please i need your help on this issue. Please help with issue we have faced with SPO Site versioning limit. We are trying to limit number of major to 5 and minor versions to 3. MajorVersionLimit : 5MajorWithMinorVersionsLimit : 3. Mentioned settings applied to SP Site, but if we continue work with Documents, counts of versions keep increasing for example 0.1 till 0.22 and up. For existing and new files in Document library.. What was done: Enable expiration feature on tenantSet-SPOTenant -EnableVersionExpirationSetting $true Read site settings:Get-SPOSite -Identity https://Site/….. | fl Url, EnableAutoExpirationVersionTrim, ExpireVersionsAfterDays, MajorVersionLimit Set Versions limit and expiration timeSet-SPOSite -Identity https://Site/….. -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 5 -ExpireVersionsAfterDays 0 -MajorWithMinorVersionsLimit 3 Track progress of applying changes:Get-SPOSiteVersionPolicyJobProgress -Identity https://Site/… In this scenario expected to get 5 Major version and 3 Minor version for document. As was tested – settings applied only to new documents or to new library. For existing documents – rule don’t apply. Also don’t apply to Minor version limit As an example: Existing file, should be version limit 3, but it don’t work Correct example for 5 Major versionsHot to apply this setting for all documents – existing and new correctly? And how correctly apply limit for example – versions Last 5 users Major versions and 3 minor versions per user? P.S. Maybe we have miss some settings. Read More