Azure / Azure/azure-devtestlab
Difficulty converting to use 3.* preview for the Create Azure DevTest Labs VM task
- Dominant language
- PowerShell
- Stars
- 465
- Forks
- 595
- PR merge metrics
- No merged PRs in 30d
Description
In the 2.* version we only passed a bunch of template parameters.


I tried to convert to 3.* but then I needed to use a parameters file.
I tried to make a parameters file with all defined as strings with blank values. Then I tried passing all variables as I did before using the Parameter Overrides.

First I had tried only using the parameter overrides but in both cases I got:
2024-10-05T01:41:34.8378982Z '{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","message":"{\\r\\n \\"error\\": {\\r\\n \\"code\\": \\"RequiredPropertyNullOrEmpty\\",\\r\\n \\"message\\": \\"**Property userName is either missing or empty**.\\"\\r\\n }\\r\\n}"}]}}',
Is there a trick to passing variables from the pipeline to parameters list?
I also created: https://github.com/Azure/azure-devtestlab/issues/903
This issue (using 3.* preview) is part of me trying to work around the problems I was having with the non-preview versions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.