Bad Request - Invalid linked service reference

Dayton, Nate 1 Reputation point

I have a linked service connecting to an SFTP. The linked service also references another linked service connecting to my key vault so I can reference the secret that contains the password for the SFTP connection. When I execute a copy activity that uses the SFTP linked service it runs just fine. When I execute a delete activity to delete a file off the SFTP, I get the error shown below.

"code": "BadRequest",
"message": "Invalid linked service reference. Name: ls_keyvault_main_kv_adesabi",
"target": "pipeline/pipe_sftp_basic_delete/runid/....",
"details": null,
"error": null

I don't understand why the SFTP linked service works for a copy activity but not for a delete activity.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,457 questions
{count} votes