Forum Discussion
How do i set up Power automate to copy and move a file to different folders
@all
I tried the setup and found that the copy step had failed.
The Error details came up as follows:
Microsoft.SharePoint.SPException: Cannot open "C22-0021 Downer - Dunedin Asp SMA10 FPB 1 782.xlsx": no such file or folder. ---> System.Runtime.InteropServices.COMException: Cannot open "C22-0021 Downer - Dunedin Asp SMA10 FPB 1 782.xlsx": no such file or folder. at Microsoft.SharePoint.Library.SPRequestInternalClass.MoveUrl(String bstrUrl, StorePath bstrWebRelOldUrl, StorePath bstrWebRelNewUrl, MoveUrlFlags moveFlags, String etagMatch, Guid& pgOriginatorId, String& pbNewETag, Boolean fAllowNoExecuteWebFileUpdate, Int64& plldestListFlags, Int32 iSearchFlags) at Microsoft.SharePoint.Library.SPRequest.MoveUrl(String bstrUrl, StorePath bstrWebRelOldUrl, StorePath bstrWebRelNewUrl, MoveUrlFlags moveFlags, String etagMatch, Guid& pgOriginatorId, String& pbNewETag, Boolean fAllowNoExecuteWebFileUpdate, Int64& plldestListFlags, Int32 iSearchFlags)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.SPFile.MoveCopyInternal(SPResourcePath newUrl, MoveUrlFlags grf, Boolean requireWebFilePermission, String etagMatch, Guid originatorId, String& newETag, Boolean allowNoExecuteWebFileUpdate, Int32 searchFlags)
at Microsoft.SharePoint.SPFile.CopyTo(SPResourcePath newPath, SPCopyOperations copyOperations)
at Microsoft.SharePoint.Administration.SPMigrationOrchestrator.PerformCopyWithinWeb(SPCopyMigrationParameters migParams)
clientRequestId: 4bc99e8f-a4a2-4017-9bda-bf09ebce15d9
serviceRequestId: 4bc99e8f-a4a2-4017-9bda-bf09ebce15d9
------------
Does the text in bold mean that the file was already moved before it could be copied?
Any help would be appreciated
Regards
Geeta
- jefmeyerMar 09, 2022Iron ContributorYes, it appears that the move has happened before the copy. Can't you simply move the Move step below the Copy step?
- hg05sharerMar 10, 2022Copper ContributorHi jefmeyer
Tried that. It didn't work. Will try a few other options.