I have a SharePoint online document library, and we have enabled minor and major versioning, now some documents will be edited by many users, so we are expecting that the Major (50,000) & Minor (511) versions might be reached.

I know if these limits are met then the users will get errors. So, if I define the following, will we avoid getting any errors as we will guarantee that the limits will never get met:

enter image description here

3 Answers 3


Why would you make the assumption? I've encountered users who met the minor version limit -- education is key, here. Educate your users to perform major version publishing as required, or disable minor versioning.

  • because we have reached the 511 minor versions before.. so my question is if i define limits for major and minor will this avoid getting any errors?
    – John John
    Commented Jul 5, 2021 at 2:28
  • Nope. They will get an error when attempting to save a 512th version. They must publish a major version to re-start the minor versioning at 1.
    – user6024
    Commented Jul 6, 2021 at 15:45
  • but if we define the minor limit to be 510 then we will never have 512 minor versions so we should not receive any errors.. am i correct?
    – John John
    Commented Jul 6, 2021 at 17:50
  • No, once you hit whatever the defined minor version limit is (it's just a max of 511), your users will get an error. Turn off minor versioning if this is a concern.
    – user6024
    Commented Jul 6, 2021 at 17:55

To avoid the errors you can always limit the versions so that If your list or library exceed the limit set by you, then earlier versions will be deleted when the version limit is reached.


Versioning Best Practices


You can set limit the versions to avoid errors.

As the official document says, SharePoint in Microsoft 365 Library Settings allows a range of 100-50000 major versions and each major version allows up to 511 minor versions.

If the threshold is exceeded, SharePoint online will automatically delete the oldest (major/minor) version.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.