azure-validate

Validates Azure deployment readiness by checking configuration, infrastructure code, RBAC roles, and prerequisites.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/merceralex397-collab/alex-stack --skill azure-validate-merceralex397-collab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-validate
Source: https://github.com/merceralex397-collab/alex-stack/tree/main/dev/azure-profile/azure-skills-main/azure-skills-main/.github/plugins/azure-skills/skills/azure-validate
Command: npx skills add https://github.com/merceralex397-collab/alex-stack --skill azure-validate-merceralex397-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deploying to Azure without pre-flight checks leads to cryptic failures, misconfigured RBAC roles, and wasted time. This Skill runs deep pre-deployment validation on your configuration, Bicep or Terraform infrastructure, role assignments, and managed identity permissions so issues are caught before deployment. ## Core Features & Use Cases - Recipe-Based Validation: Runs tailored validation steps for AZD, Azure CLI, Bicep, or Terraform projects, including compilation, template validation, what-if previews, and Azure Policy compliance checks. - RBAC Role Verification: Statically reviews infrastructure code to confirm every managed identity has correct least-privilege data-plane role assignments. - Specialized Checks: Detects .NET Aspire + Azure Functions secret storage misconfigurations, Docker build context issues, region availability constraints, and Terraform template variable problems. - Use Case: Before running azd up on a Container Apps project, invoke this Skill to validate azure.yaml, preview provisioning, verify role assignments, and record proof in the deployment plan. ## Quick Start Ask the AI to validate my Azure deployment readiness and run preflight checks on my azure.yaml and infrastructure before deploying.

Frequently Asked Questions about azure-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate my Azure deployment before running azd up?▼

Run pre-deployment validation that checks azure.yaml schema, authentication, subscription and location settings, then executes azd provision --preview and azd package to confirm everything succeeds. All checks must pass and proof is recorded in the deployment plan before deploying.

How to validate Bicep templates before deploying to Azure?▼

Compile with az bicep build, validate with az deployment sub validate or az deployment group validate, and preview changes with az deployment what-if. Optionally run az bicep lint and check Azure Policy compliance for your subscription.

Why does my Azure deployment fail with RBAC permission errors?▼

Generic roles like Contributor or Reader do not include data-plane access, so a managed identity cannot read blobs or secrets without roles like Storage Blob Data Contributor or Key Vault Secrets User. Statically review role assignments in your Bicep or Terraform to confirm each identity has correct least-privilege data-plane roles.

Does this validation support Terraform as well as Bicep?▼

Yes, separate validation recipes exist for AZD, Azure CLI, Bicep, and Terraform projects. The Terraform recipe covers init, fmt, validate, plan, state backend checks, and detection of unsupported Go-style template variables in main.tfvars.json.

Why does my Aspire Azure Functions deployment fail with secret storage errors?▼

When Aspire configures identity-based storage via WithHostStorage, the Functions runtime cannot store secrets in blob storage using URI-based settings. Add .WithEnvironment("AzureWebJobsSecretStorageType", "Files") to the Functions project builder chain before provisioning.

When should I not proceed to deployment after validation?▼

Do not deploy if any validation check fails, if azd provision --preview reports unsupported resource types, or if Azure Policy violations remain unresolved. Fix the issues, re-run validation, and only set the plan status to Validated after all checks pass with recorded proof.