Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null templateLink returned in deployment().properties in 2.5.1 azure cli #13317

Closed
priyank-b opened this issue May 4, 2020 · 1 comment
Closed
Assignees
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@priyank-b
Copy link

priyank-b commented May 4, 2020

az feedback auto-generates most of the information requested below, as of CLI version 2.5.1

Describe the bug

Following az command is brokern:
az deployment group create -g <resource_group> --template-uri "https://devtestzipacc.blob.core.windows.net/test/mainTemplate.json" --name "test"

It used to return templateLink correctly in older version. With latest update, it is sending null.

To Reproduce

Use this command in 2.5.1 azure cli. It returns null templateLink property.
az deployment group create -g <resource_group> --template-uri "https://devtestzipacc.blob.core.windows.net/test/mainTemplate.json" --name "test"

Expected behavior

Above command should populate templateLink as explained in public documentation:

Environment summary

Additional context

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels May 4, 2020
@yonzhan yonzhan added the ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group label May 4, 2020
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label May 4, 2020
@yonzhan yonzhan added this to the S169 - For Build milestone May 4, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented May 4, 2020

add to S169

zhoxing-ms added a commit that referenced this issue May 8, 2020
…e returned when deploying or validating template-uri (#13317) (#13344)

* Fix the problem that the templateLink will not be returned when template-uri was deployed/validate

* supplement config for az deployment group/sub/mg/tenant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants