Forum Discussion
ln_msft
Feb 08, 2025Copper Contributor
Importing an ARM template into ADF DevOps
Hi everyone, requesting help in ADF and I am new to ADF & ADO.
I have 2 ADF workspaces A & B; A is enabled with Git and B is in Live mode.
All my resources like pipelines, data flows, datasets, linked services, credentials & triggers are present in Workspace B. I need to import these into collaboration branch of Workspace A. I tried copying the ARM Template to the git repo into the collaboration branch manually, but this doesn't show up anything in the Workspace A.
Am I missing anything here? Any help is much appreciated!
Thanks
ln
- petevernBrass Contributor
ADF does not track git changes, you must deploy the template via DevOps or other mechanism like PowerShell or Azure CLI.
- Export the ARM template from Workspace B.
- Extract the ZIP and modify parameters (if needed).
- Clone git repo of Workspace A.
- Place the arm_template.json and arm_template_parameters.json into adf_publish.
- Commit and push these changes.
- Deploy new arm template to Workspace A using DevOps pipeline.
- Sync Workspace A with git in ADF.