How to set debug level when deploying using Azure ARM template with C#
var deployment = azure.Deployments.Define(parameters.DeploymentName)
.WithExistingResourceGroup(parameters.ResourceGroupName)
.WithTemplate(vmTemplate)
.WithParameters(deploymentParameters)
.WithMode(DeploymentMode.Complete)
.Create();
In Powershell, there is an option we can use:
New-AzureRmResourceGroupDeployment -deploymentdebuglevel