Forum Discussion

johnjohn-Peter's avatar
johnjohn-Peter
Iron Contributor
Feb 19, 2025

"Automatically" option for the Organization version history limit, how it works??

I am reading about the "Automatically" option for the version history limit @ https://learn.microsoft.com/en-us/sharepoint/plan-version-storage#understand-version-storage-under-automatic-limits

 

 

where it mentioned the following algorithm:-

 

 

but what is the idea that versions created at the beginning of the day or at the top of the hour or the beginning of the week will get a preferred settings? i mean i can make an important modification at the end of the day .. or at minutes 35 of the hours and on a weekend?? am i correct?

Second question, for this sentence "The service trims intermediate versions..." so what count as intermediate versions? even in older versions of SharePoint online, when you edit let say a word document online, not every click or text you type will count as a new version,, so are those the same ?? or the above is talking about something different? also for the "Automatically" option, let say i made 2 versions last month to a documents, while i made 40 versions of the document in one day,, then will the service trim let say some versions from the 40 versions while keep the 2 versions from last month? assuming that 40 versions not all of them are needed?? i am really confused?

thanks

  • BaylorFox's avatar
    BaylorFox
    Iron Contributor


    1. Configure version history restrictions: Open the SharePoint site and navigate to the target document library.
    Click on Settings > Library Settings.
    In Version Control Settings, select Manual and set the maximum number of versions (e.g. 100).
    2. Check storage space: Open the SharePoint Administrator Center.
    Navigate to Storage Metrics and check storage usage.
    If you are running low on storage space, consider purging old files or increasing your storage quota.
    3. Configure version history using PowerShell:
    Open SharePoint Management Shell (administrator privileges).
    Run the following command to set version history limits:
    powershell
    $web = Get-SPWeb “https://yoursharepointsite”
    $list = $web.Lists[“YourDocumentLibrary”]
    $list.EnableVersioning = $true
    $list.MajorVersionLimit = 100
    $list.Update()
    4. Contact Microsoft Support: If none of the above methods satisfy the requirement, it is recommended to contact Microsoft support team with detailed error messages and screenshots for further assistance.

     

Resources