azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Article needs cleanup

Open senthilrepo20 opened this issue 2 years ago • 1 comments

[Enter feedback here] The content says to create parameter in the custom json file but execution of azure cli statement doesn't specify how to pass the parameter file to create dashboard.

The sample dashboard file doesn't have the parameters (https://raw.githubusercontent.com/Azure/azure-docs-powershell-samples/master/azure-portal/portal-dashboard-template-testvm.json) but rather the resource id's are marked with this "id": "/subscriptions/<subscriptionID>/resourceGroups/<rgName>/providers/Microsoft.Compute/virtualMachines/<vmName>",

I tried to use the same azure cli statement and create a parameter file but it threw errors.

So far, I tried to analyze and see the following

  1. Use “Replace Tokens” from Guillaume Rouchon
  2. You need to install extensions to the Azure CLI and include this statement az config set extension.use_dynamic_install
  3. Use the "az deployment group create" statement to deploy

Document Details

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

senthilrepo20 avatar Oct 12 '22 10:10 senthilrepo20

@senthilrepo20 Thanks for your feedback! We will investigate and update as appropriate.

SaibabaBalapur-MSFT avatar Oct 12 '22 17:10 SaibabaBalapur-MSFT

@senthilrepo thanks for your patience, I'm looking into this and hope to provide an update soon.

JnHs avatar Nov 08 '22 17:11 JnHs

Hi @senthilrepo, apologies for the long time to respond. I have created a work item to review and update this document, to be reviewed along other documentation needs. As I'm tracking this separately (but don't have a specific time frame for this work) I'll close this issue now. Thank you for taking the time to share this feedback and helping us improve the docs, and I apologize again for the delay. #please-close

JnHs avatar Feb 14 '23 18:02 JnHs