Hi @Dan Barbary ,
Thankyou for using Microsoft Q&A platform and thanks for posting your question.
As I understand your query, you are trying to perform upsert inside Copy data activity in ADF, however it's not working as expected as it is creating a duplicate. Please let me know if my understanding is incorrect.
What is happening in your case is certainly not expected. As upsert merges the data if the keyColumns matches and then perform update or insert accordingly. There shouldn't be duplicates coming in.
Kindly check if there is any trailing space in any of the column values - cora_acct_id, hostitemid, server_ip_addr which is leading it to treat the two rows as separate entries.
Also, kindly make sure that the source data doesn't have duplicate entries.
Please let us know if any of these is the case . Looking forward to your response. Thanks !