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 the source.”
When I was trying to move files between 2 different sites libraries, I wrote a Flow. It was running smoothly for some days, but a couple of days ago I encountered an error “Move is not Supported on Destination Library that has smaller version limit than source”
Please see the below screenshot for 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
Once I determined, where is the exact problem was then I started to find a solution and followed the 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 the destination site but seems all OKay.
Later I decided to compare both source and Destination library versioning settings. Again I followed the above-mentioned steps and reached the library settings page.
And decided to rather inspect/observe the 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 the Destination site and kept the same number of versions as the Source site, which is 5000 and it worked.
Hush!!! After a 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 files between these libraries.