Promoting everything in a Data Factory to another except linked services and triggers with templates.

Rodrigo Fernández M 21 Reputation points
2021-02-11T15:06:06.66+00:00

Hi,

Is there a way to promote everything in a Data Factory to another except linked services and triggers with templates. The templates get exported with triggers and linked services and it expects the when you submit the template in the other data factory.
Triggers and Linked services are different in each DF and don't wish to overwrite them.

Regards.

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

Accepted answer
  1. MartinJaffer-MSFT 26,051 Reputation points
    2021-02-11T23:23:08.127+00:00

    Hello anonymous user and welcome to Microsoft Q&A.

    The short answer to whether you can easily generate a cherry-picked ARM template is no.

    There are other options available, however.

    The arm template generated by the export button can be modified by the Parameterization template, but this does not drop resources from the ARM template. The parameterization template modifies what portions need to be re-entered when deploying. Typically this is used to make the linked services point to different environments, as you probably want to do.

    If you do not restrict yourself to ARM templates, then it is possible to write a powershell script to copy only the desired resources between factories. Do not use this method if the destination factory has a git / ADO integration. When doing this method, make sure there are no hanging references. For example, a dataset pointing to a linked service that doesn't exist , will break the pipeline. If the linked services in both factories have the same names, this method will work.


0 additional answers

Sort by: Most helpful