I've just read these two questions:

but I would like to be sure that nothing has changed and that I even can't set version number of a document in SPO via CSOM or PowerShell, can anyone help me?

Thanks in advance.

2 Answers 2


As the Mohamed said El-Qassas from the link, it's not possible to set the document version number manually in all SharePoint versions.

Workaround: Try to delete the versions until reach to the desired version.

  • Yes, I think so, maybe by a PowerShell script I'll repeat "check in" and "check out" operations and at the end I'll delete the previous versions. Commented Oct 2, 2019 at 11:56

Nothing changed because this would be against the concept of versioning. If you need a controlled Versionnumber create a field where you can freely choose a value.

  • It's a solution I considered but, in my case, it is not suitable but thanks for your advice. As for "the concept of versioning": if a document has a previous history SPO doesn't allow to show this information to users, maybe SPO should be more flexible. Commented Oct 2, 2019 at 12:08

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.