Getting Error when publishing Synapse pipelines which is linked to Azure DevOps git.

asked 2022-06-18T13:07:55.487+00:00
Shailendra Kad 11 Reputation points

I am trying to publish the synapse pipelines from master branch. And I am getting an error and it does not point it to any details or any specific pipeline or Data flow.

Error is below:-

Error code: OK
Inner error code: BadRequest
Message: Missing parameter definition for Env

I am using Env parameter for a linked service. And I have added parameter to all pipelines ,Datasets and Dataflows. Everything is working fine , no error when running the pipelines.
Please help me. I am not getting anything on the internet.
I have also raised the issue with Microsoft support team but no help yet.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
2,600 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
6,257 questions
1 vote

1 answer

Sort by: Most helpful
  1. answered 2022-06-20T05:03:25.493+00:00
    Pratik Somaiya 4,026 Reputation points

    Hello @Shailendra Kad

    You can export ARM template from ADF by clicking Manage tab as below


    But as you said you are getting an error while publishing from ADF portal itself, then ARM template won't show the env parameter

    Are you running pipeline via Debug mode? That is why you might be passing parameter during runtime. To publish a pipeline you will have to provide a default value or a dynamic value