Closed pazdedav closed 2 weeks ago
Thanks @pazdedav for the feedback, we are checking.
@pazdedav we continue to troubleshoot, in the meantime, please go inside the failed deployment SH-Batch* and provide details on which internal deployment failed.
This is what I see on the 'AVD Baseline' deployment level:
However, when I try to open the SH-Batch deployment, it doesn't show nested deployments, only this:
@pazdedav thanks for the info, we have been trying to replicate the issue but no luck so far.
Please share the parameters you are using for the deployment (please redact the credentials related ones).
What happened? Provide a clear and concise description of the bug, including deployment details.
When deploying the AVD baseline using the bicep 'flavour', we are setting the following values for 'Baseline AVD module':
avdDeployMonitoring: false
deployAlaWorkspace: false
deployCustomPolicyMonitoring: false
alaExistingWorkspaceResourceId
We don't want the accelerator to configure the environment for monitoring because we have a set of robust Azure policies that centrally takes care of both AMA extensions for session hosts and diag. settings for other resources. We don't want to provision a separate LA workspace and we dont' want to reference an existing one.
The deployment fails on 'SH-Batch-xxx' sub-deployment (session hosts) due to
TemplateViolation
error (see below).Based on our troubleshooting, it seems the issue is in
workload/bicep/modules/avdSessionHosts/deploy.bicep
, lines 292-295, where a resourceId is parsed but since it's getting an empty string, that expression fails, but there could be other reasons.Please provide the correlation id associated with your error or bug.
57b81c7c-9c63-4e8b-a9f1-62bd30b4a0da
What was the expected outcome?
We want to be able to skip a deployment of monitoring components completely. We have a robust policy engine that centrally takes care of both AMA extensions for session hosts and diag. settings for other resources.
Relevant log output