Logic apps action: "Move or rename a file" from OneDrive for Business connector error "The specified item name already exists"

Minh Pham 21 Reputation points
2021-10-28T09:58:21.957+00:00

Hi currently I have a Logic app which is triggered when a file is created in a OneDrive folder, I will use that file to do some process, when I finished, I move the file to another OneDrive folder to mark its completion.

I am doing performance test and try to upload multiple files at once, when I tested with 10 files, I saw multiple failed and they all failed at the "Move or rename a file" from OneDrive for Business connector. The error says that "The specified item name already exists" but I am confident that all my file names are different, and I also set Overwrite to Yes.

I have tested multiple times and see that this happened randomly, I used the same 10 files for 2 try, each try NOT the same file failed. I clear the OneDrive folder between each test.

144507-image.png

144438-image.png

144524-image.png

144457-image.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,981 Reputation points Moderator
    2021-11-01T04:09:53.147+00:00

    @Minh Pham I have created the simple workflow and tested but I couldn't observe the same behavior as you have mentioned. I have tested with 20 files and couldn't observe that any run getting failed.

    I would need the full workflow screenshot and code view so I can reproduce the issue at my end. Can you try the simple workflow as below and confirm if it is the same behavior.

    145307-image.png

    145372-image.png

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.