How can I troubleshoot Azure ARM template validation errors?

前端 未结 8 1850
终归单人心
终归单人心 2021-02-06 22:27

I have made some small changes to an Azure ARM template file and now when I try to deploy or validate via the xplat cli I get this message.

error: Inval

8条回答
  •  不要未来只要你来
    2021-02-06 22:58

    Log into the azure portal portal.azure.com.

    Open the Activity log

    Find the record with Operation Name of Validate in the list of activities. It should have a red exclamation mark because it failed.

    Click on it that record. Then click on the JSON tab at the bottom. Get reading and somewhere deep down in returned Json you might find an error in the statusMessage such as "The storage account named helloworld is already taken."

提交回复
热议问题