How do I see Inner Details for a bicep deployment?

125 Views Asked by At

I deploy a bicep with this powershell command:

New-AzResourceGroupDeployment -ResourceGroupName $ResourceGroupName -Mode Incremental -TemplateFile .\appservice_linux.bicep -TemplateParameterObject $templateParameters -Verbose

The deployment is failing, with this error:

Error: Code=InvalidTemplateDeployment; Message=The template deployment 'appservice_linux' is not valid according to the validation procedure. The tracking id is '3af29b5f-342a-48fe-8017-6459490c15fd'. See inner errors for details.

How do I see the inner error with the details?

Is there a parameter to New-AzResourceGroupDeployment that will return it?

There are no deployments in the Azure UI. Shouldn't I see the trackingID here?

enter image description here

0

There are 0 best solutions below