question

MinhPham-9005 avatar image
0 Votes"
MinhPham-9005 asked MayankBargali-MSFT answered

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

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
image.png (57.9 KiB)
image.png (48.2 KiB)
image.png (49.5 KiB)
image.png (127.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@MinhPham-9005 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


image.png (32.2 KiB)
image.png (82.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.