Azure Devops - ARM deployment of Azure data factory

J, Ezhilarason (Cognizant) 0 Reputation points
2023-04-25T07:13:46.9+00:00

I have a requirement to move few of the pipelines and its dependency to another ADF using ARM template. There are around 80 pipelines in the ADF i need to move 25 from it . I exported the ARM template & picked the required pipelines and created the template json , the json seems to be having issues when running the Devops pipline (ARM deployment).As it has large json files i'm not able to figure out the errors. is there a better approach to move the pipelines or is there a way to find the issues in ARM json files. Devops pipeline doesn't recognize the ARM file as a valid template file

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

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-05-02T22:11:37.28+00:00

    Hello J, Ezhilarason (Cognizant),

    To move pipelines and their dependencies to another ADF using ARM templates, you can use the Export ARM template feature in Azure Data Factory to export the ARM template for the entire ADF

    Then, you can modify the ARM template to include only the pipelines and their dependencies that you want to move<sup>.</sup>

    If you are having issues with the ARM template, you can use the Azure Resource Manager Template Toolkit to validate and troubleshoot the template<sup>.</sup>

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/test-toolkit

    Alternatively, you can validate the ARM template using Azure CLI

    Ex:

    az deployment group validate --resource-group testrg --template-file {template-file}

    https://learn.microsoft.com/en-us/cli/azure/deployment/group?view=azure-cli-latest#az-deployment-group-validate

    This command will help you identify any issues in the ARM template before deploying it.

    Once you have a valid ARM template, you can deploy it using your DevOps pipeline.

    I hope this helps. Please let us know if you have any further questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.