Expression Error Message: 'Parameter Env was not found under $(azuredatafactory)Npm failed with return code: 1.

Kirti Bansal (US) 51 Reputation points

If Azure data factory (dev) has global parameters defined from where ARM templates need to be generated and its global parameters are used in the data factory pipeline then the build pipeline i.e npm package is giving validation error as global parameter is not defined.

So is it right to say that global parameters should not be present in the initial adf dev environment? Only then can we validate/build/generate the ARM template using the NPM package and deploy to another environment. Have followed the below microsoft doc for global parameter deployment in another environment and it is working with powershell script , the only condition is that we not need to have global parameters defined in the initial ADF from where we are generating the ARM templates. Please suggest.

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