Views:

Applies to Product - Dynamics 365 Supply Chain Management


What’s happening?
Duplicate file name conflict occurs when a file that has just been successfully uploaded is attempted to be uploaded again, resulting in a failure of the second upload attempt.
 

Reason:
This appears to be related to a name conflict arising from multi-threaded processes during the upload of files. Specifically, multiple runtime tasks may be executing simultaneously, leading to a situation where the system incorrectly determines that a file with the same name does not exist, resulting in an upload failure.
 

Resolution:

  • Disable multi-threading for the batch task to prevent concurrent execution of upload processes that may lead to name conflicts.
  • Alternatively, consider implementing a solution where an initial file is retained in the SharePoint location to ensure that subsequent uploads generate unique file names, potentially by appending a unique identifier such as an order number to the file name.
  • If the issue persists, further investigation may be required to determine if the problem is related to third-party customizations or known system limitations.