Unable to override template parameters in Automated publishing for continuous integration and delivery - Azure Data Factory

M, Murugeswari (Cognizant) 456 Reputation points

In the release pipeline of Azure Devops, I am trying to deploy ARm template with 'Azure Resource Group Deployment' template through build but getting the below error:-


I am unable to override parameter template

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

3 answers

Sort by: Most helpful
  1. AnnuKumari-MSFT 30,601 Reputation points Microsoft Employee

    Hi @Anonymous ,
    Thankyou for using Microsoft Q&A platform and posting your query.

    By the error message, It seems the main root is not set correctly. You have set '$(System.DefaultWorkingDirectory)/_ADF_PoC/ArmTemplates/ARMTemplateForFactory.json' as the path for override template parameter. Could you please confirm:

    1. _ADF_PoC : is the artifact name you have set while creating the release pipeline
    2. ArmTemplates : is the name of your dev adf
    3. ARMTemplateForFactory : is the name of json file pointing to Template parameter

    If you go to adf_publish branch of your GIT repo , you will be able to see two json files like these:

    For templateparameter , you have to go with the second option (not the first one)

    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

  2. M, Murugeswari (Cognizant) 456 Reputation points

    Hi @AnnuKumari-MSFT ,

    Yes, I have selected Build Artifact as the source Type. Because I have configured Build pipeline to generate artifacts instead of adf_publish

    [ Old method --> We will publish the pipeline from collaboration branch, it will get validate and stored as adf artifacts in adf_publish branch and from that branch we can deploy it.]

    But if we use build pipeline, we no need to publish, instead if I give pull request from my working branch to collaboration branch, automatically this build pipeline validates and generates artifacts in build folder. From there we can deploy. So only I chose the Build artifact. I cant chose Azure Repos since I didn't validate and publish anything

    0 comments No comments

  3. M, Murugeswari (Cognizant) 456 Reputation points

    I got an answer from a blog


    Since build is accessible only during Run Time, I think I am facing error. Correct me If I am wrong.

    BLOG LINK : https://asankap.wordpress.com/2021/03/02/automated-publish-in-azure-data-factory-using-devops/