Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
426 views
in Technique[技术] by (71.8m points)

Azure CLI unable to create portal dashboards from templates

Using examples verbatim with provided json, no matter how simple always result in the following. I have been unable to find any documentation on this error.

PS C:UsersX> az portal dashboard create --input-path "C:UsersXDownloadsest.json" --resource-group TestGroup

--name "testDash" Command group 'portal' is experimental and not covered by customer support. Please use with discretion. <_io.TextIOWrapper name='C:UsersXDownloadsest.json' mode='r' encoding='cp1252'> does not contain the property 'lenses'

I have confirmed repeatedly that that property exists as it is also directly pulled from Microsofts own documentation here, https://docs.microsoft.com/en-us/azure/azure-portal/azure-portal-dashboards-create-programmatically#create-a-template-from-the-json


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Use the feedback option at the bottom of the page to file a issue in GitHub for assistance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.6k users

...