Move-PnpFile is not moving all files and I don't know when it moves or not.
Expected behavior
I expect to move all files
Actual behavior
I move several files with the code.
The most of the files are copied, still exist in the old page and then after some minutes are removed from the old site.
But some files are copied, still exist in the old page and then after some minutes are removed from the new site. So no success in moving.
Reporting an Issue or Missing Feature
Move-PnpFile is not moving all files and I don't know when it moves or not.
Expected behavior
I expect to move all files
Actual behavior
I move several files with the code. The most of the files are copied, still exist in the old page and then after some minutes are removed from the old site. But some files are copied, still exist in the old page and then after some minutes are removed from the new site. So no success in moving.
Steps to reproduce behavior
$fileServerRelativeUrl = Get-PnPProperty -ClientObject $file -Property "ServerRelativeUrl"
$targetServerRelativeLibraryUrl = "$TargetWebServerRelativeUrl/$listUrlName"
Move-PnPFile -TargetServerRelativeLibrary $targetServerRelativeLibraryUrl -ServerRelativeUrl $fileServerRelativeUrl -Force
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.26.2010.0
How did you install the PnP-PowerShell Cmdlets?