MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.47k forks source link

Azure CLI command needs tweaking #50057

Closed gatortarheel closed 4 years ago

gatortarheel commented 4 years ago

I needed to provide the full local path as a parameter to get the CLI command to work: az group deployment create --name devenvironment --resource-group delete-this-rg --template-file$templateFile --parameters 'C:\code\armtemplates\azuredeploy.parameters.dev.json'

The command as provided: PS C:\WINDOWS\system32> az group deployment create --name devenvironment --resource-group delete-this-rg --template-file $templateFile --parameters azuredeploy.parameters.dev.json This command is implicitly deprecated because command group 'group deployment' is deprecated and will be removed in a future release. Use 'deployment group' instead. Unable to parse parameter: azuredeploy.parameters.dev.json


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

BharathNimmala-MSFT commented 4 years ago

@gatortarheel Appreciate your feedback, we will take a look and fix the document accordingly.

tfitzmac commented 4 years ago

@gatortarheel - thanks for this feedback. The command has been updated. And, I am updating the example to use the parameter file path. It should be published tomorrow morning.

tfitzmac commented 4 years ago

please-close

BharathNimmala-MSFT commented 4 years ago

@tfitzmac Thank you for helping to fix this issue.