Forum Discussion
Version history and Retention Policies - Why do I have so many versions?
We are using (I believe) the global default of 500 versions for document libraries in SharePoint Online and now we are discovering that the version history is accumulating more than 500 major versions on items in libraries. We have retention policies set for SharePoint sites (do not delete for X years). Is that overriding the version history settings? We have libraries in supporting MSTeams and Communication sites where files are well over the 500 major version limit. 6800+, 7900+
It's kind of insane... I'm not finding the documentation to answer my question very easily. It's also throwing a wrench into backup software that we are trying to run since it doesn't have a setting where it allows us to backup a maximum amount of versions.
7 Replies
- N51768Copper ContributorHave you managed to resolve this?
- MontegoservicesCopper Contributor
N51768 issue is that your retention policy is based on time and versioning is based on how many times you save a document. In office web the documents are saved every 25 seconds so if you have retention based on time it can be a larger file count than versioning limit.
- N51768Copper ContributorMontegoservices
We are continuously adding space to SP Online site, because my SharePoint online is constantly running out of space, we have huge libraries with 1000 GB and 10000 Versions.
My Question:
when retention policy in place, can we delete older versions and limit the versions to 50 using PowerShell script?
If not, what would be the best way to handle my issue?
we have retention policy in place for 7 Years.
looking for best solution for high SharePoint storage Issue.