An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hello Rachel Weber,
Thank you for reaching out to the Microsoft Q&A forum.
The failure occurs because the alert rule uses an Azure Resource Graph query (arg("")) that is interpreted as an ADX-style reference during validation. In Azure Government cloud, support for cross-resource queries in scheduledQueryRules is more limited and stricter than in commercial Azure, and non-standard tables (such as aksresources) are not recognized by the query validation engine. As a result, the deployment fails with the error “ADX reference is of incorrect format,” even though the query may still run successfully in Log Analytics.
Your issue is NOT Bicep — it’s query validation + Gov cloud limitations on ARG/ADX usage inside alert rules Let me know if you have further questions?