Nov 30 2021
10:03 AM
- last edited on
Mar 05 2024
01:21 PM
by
TechCommunityAP
Nov 30 2021
10:03 AM
- last edited on
Mar 05 2024
01:21 PM
by
TechCommunityAP
How do I fix:
Warning: Failed to download the template parameters file from the given path '$(System.DefaultWorkingDirectory)/_myproject-poc/ArmTemplates/ARMTemplateParametersForFactory.json' with the following error: The item ArmTemplates/ARMTemplateParametersForFactory.json could not be found.
in the Parameters Override dialog, when deploying an ARM Template from files that were built in a pipeline?
in the Parameters Override dialog, when deploying an ARM Template from files that were built in a pipeline?
I've done this previously when my source artifact is a direct reference to a Git repo which contained the Template files, and it worked perfectly. ADO recognised the Git repo, found my target branch, found the relevant files within the codebase, and was able to parse the parameters file, to give me the UI to override those parameters. All good.
Now I'm trying to move to a model where a pipeline builds the Template files for me and publishes them as an artifact to use.
Artifacts generated contain below files:
The pipeline seems to work fine, and I've verified that all the relevant files are created.
But when I try to use those files as the artifact source, the Override Parameter dialog can't "find" them.
What am I doing wrong, and how do I fix this?
Dec 10 2021 12:30 PM
Mar 28 2022 11:38 PM
@pavankumar2mf I have the exact same issue as you describe. Did you get it resolved?
Apr 29 2022 06:14 AM
Apr 29 2022 06:46 AM
@Fernando_Benedetto Interacted with Microsoft team the information provided by them is below
Resolution: Engineer from Dev ops team mentioned Warning was for informing a file was not found, but the actual file was within and artifact and Informed that behavior was expected and confirmed the pipeline was working fine.
Apr 29 2022 06:48 AM
May 02 2022 05:26 AM
It's the same for me. Can you help us pls ?
May 03 2022 05:02 AM
May 03 2022 05:07 AM
@Fernando_Benedetto yes I have no error for the pipeline but I want to have no warning. I understand that you don't resolve this issue.
If you resolve this warning, it will be very great. Thanks for your answer.
May 03 2022 05:11 AM
Jul 08 2022 03:36 AM
Anyhow the warning of path not found will come .
click on Override template parameters and set the parameters manually. Unfortunately, since build is only accessible in run time, parameters are not generated and you will have to add them manually one by one.