Forum Discussion
rbutgins21235
Nov 12, 2025Copper Contributor
Not able to edit items in list due to too many versions.
I have a sharepoint list and some of the items cannot be edited because of the number of versions. I have the versioning set at 50, but some of these uneditable items somehow got up to over 10,000. Any ideas on how to resolve or how they got so high? Thanks
1 Reply
- virendrakBrass Contributor
When you set SharePoint to ‘Keep the last 50 versions,’ it doesn’t go back and trim older history. If items already have thousands of versions, those remain until you clean them up. To fix this, you’ll need a PowerShell script that deletes the extra versions while keeping only the latest 50.
Note:
- Run the deletion script with care - once old versions are removed, they can’t be recovered unless you have a backup.
- Always test the script on a small list first before applying it to production lists/libraries.