I have a flow that every night copies a file (using the OneDrive Copy File Action) from my Onedrive folder and writes it to another folder in Onedrive. When copying it it also renames the file using the expression below.
concat('/Documents/Project/Backups/',utcNow('yyMMdd'),' ','Report.xlsx')
Today it has failed with the error message below.
Looks like Microsoft have reinstated the reman function in the copy connector.
After a week of trying to resolve it I tried my original again and it works.
Problem solved. (Hopefully)
I have found that the time it takes to copy the file the rename connector failed as it didn't see the file in the destination folder in time.
I have now had to have 2 flows which run 5 mins apart. One to copy the file then another to rename.
Very frustrating for MS to change the copy functionality.
I was able to get my flow working again by doing the following. Seems like more steps to accomplish what was 1 simple step last week using the copy file step.
The goal of my flow was to copy a master file and put it in the current location with the date on it, and keep the original file. So at the end of the flow, I have FILE_Original.docx, and FILE_Original_06262020.docx.
So basically, copy the file somewhere else, then move it back with the correct name.
I did try this one but it moves and renames.
I need the file to remain where it is and a copy be placed in a backup folder with the new name.
I tried using the Copy connector to copy the file first them the move or rename connector to rename it but it doesn't copy the file fast enough for the renaming to happen. It just fails stating that the file was not in the location for renaming.
Hello,
Please try renaming the file using below connector action and see if this helps resolving the error:
https://docs.microsoft.com/en-us/connectors/onedrive/#move-or-rename-a-file
https://docs.microsoft.com/en-us/connectors/onedrive/#move-or-rename-a-file
I'm also having a similar issue with my flow that started today. It copies a file weekly, and ran fine last week, but erroring out today. No changes have happened within the flow to break this. Have exact error message:
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional