Azure / Azure/Azure-DataFactory
ADF artifact doesn't contain the global parameters per enviroment
- Dominant language
- PowerShell
- Stars
- 529
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm following the [Global Parameters](https://learn.microsoft.com/en-us/azure/data-factory/author-global-parameters#deploying-using-powershell) documentation. Specifically the CI/CD deployment with PowerShell. I need to deploy in a new environment with different global params values but in the documentation, it is not clear where I have to save the copy of the global parameters files with the values of the other environment. I need the artifact with two global parameters files like the documentation shows:

But when the process creates the artifact I only can see the parameters of one environment:

I save a copy of the new environment global parameters (JSON file) in the factory folder:

I tried with and without the arm-template-parameters-definition.json file. Also in ADF I marked the included global parameters in ARM template:

It is not clear to me what am I doing wrong. Am I saving the new environments JSON file in the wrong folder? The structure of the JSON file is the same as the original one but with different values.
I'm not using the new mechanism since I have a lot of global parameters in ADF. I need to use the old mechanism with PowerShell.
Thanks for your help.
Contributor guide
Assessment
This issue has not been assessed yet.