Operation on target linked service failed: Missing parameter definition

Vinayaka Dalawai 11 Reputation points
2022-04-24T10:44:35.977+00:00

Hi Team,

I am have created a parametrized linked service to connect to the key vault in ADF. Below is my configuration.

195876-image.png

If I manually run it by clicking on test connection and providing the key vault URL the connection is successful but when I try to run the pipeline i get the below error:
Operation on target ls_keyvault_qa failed: Missing parameter definition for az21q1

I also have a global parameter created for this key vault with the required URL value To deal with error, But I don't see an option to select this while parametrizing in linked service.

Request your help in resolving this error.

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

1 answer

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,061 Reputation points
    2022-04-26T01:47:02.827+00:00

    Hello @Vinayaka Dalawai and welcome to Microsoft Q&A.

    So, you can test connection successfully, but when you trigger a pipeline run (not debug), the Factory claims it can't find the parameter definition.

    There are two suspects I can think of so far. One, I notice you have not provided a Default value for the parameter in the picture. (I doubt you used "Value"). The test connection feature isn't always comprehensive.

    Perhaps the pipeline isn't passing a value into the linked service to use?

    The other suspect, is something is out of sync with published resources. I.E. this version of the linked service was published, but the pipeline has not be updated to supply, the parameter value, or the other way around.