Azure / Azure/azure-cli-extensions

Deployment of Dashboard fails via Azure Portal Cloud Shell for exported json template

Open
#8,568 7 comments 0 reactions 1 assignee Claimed by @jsntcy View on GitHub
Azure CLI Team bug
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Describe the bug

There will be error when running the command `az portal dashboard create --input-path .\dashboard-props.json --name testDashboard --resource-group lazinnat-test-so` in both PowerShell window and Cloud Shell.

### Related command

[dashboard-props.json](https://github.com/user-attachments/files/19279428/dashboard-props.json)

### Errors

[azPortalDashboardDebugOut.txt](https://github.com/user-attachments/files/19279421/azPortalDashboardDebugOut.txt)

### Issue script & Debug output

az portal dashboard create --input-path .\dashboard-props.json --name testDashboard --resource-group lazinnat-test-so

[dashboard-props.json](https://github.com/user-attachments/files/19279432/dashboard-props.json)

### Expected behavior

No error

### Environment Summary

NO

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.