During my recent work, I was working with Power Automate or MS Flow to move files between two libraries. but while working on the same I encountered an Error as “Move is not Supported on Destination Library that has smaller version limit than source, due to data loss on earlier versions of source files” in SharePoint Online.
To get rid of an error Action ‘Move_file’ failed. Error details contain “Solved: Move is not Supported on Destination Library that has smaller version limit than source.”
When I was trying to move files between 2 different sites libraries, I wrote a Flow. It was running smooth for some days, but couple of days ago I encountered with an error “Move is not Supported on Destination Library that has smaller version limit than source”
Please see a below screenshot fot the same.
From the error details I got to know that something went wrong with the versions of the Destination sites library.
Finding a Solution
One I determined, where is exact problem is then I started to finding a solution and followed below steps.
- Check the Versions: My first step was to check the versions type of both Libraries. Go to site contents >> click on your Library >> Select “Library Settings” from gear icon from top right corner.
- Once you are in Library settings page then Click on “Versioning Settings” and check what types of versions enabled.
In my case, I have selected “create major versions” on both sites, so that was not an issue. Then What next?
Again I observed the versioning settings on destination site but seems all OKay.
Later I decided to compare both source and Destination library versioning settings. Again I followed above mentioned steps and reached on library settings page.
And decided to rather inspect/observe whole versioning settings and I got the issue.
In my source Libraries versioning settings “Keep the following number of major versions: 5000” and on Destination site “Keep the following number of major versions: 500“.
I made a change on Destination site and kept the same number of versions as Source site, which is 5000 and it worked.
Husssh!!! After lot of hours of effort finally I resolved an issue.
You should keep the same versioning details on both Source as well as on Destination Library, which will not cause any problem to move file between these libraries.