azure-deployment-preflight

Pre-validate Bicep templates and permissions for Azure deployments.

9|1|Updated Jul 21, 2025
One-click install
npx skills add https://github.com/usepowershell/PoshMcp --skill azure-deployment-preflight-usepowershell
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-deployment-preflight
Source: https://github.com/usepowershell/PoshMcp/tree/main/.squad/templates/skills/azure-deployment-preflight
Command: npx skills add https://github.com/usepowershell/PoshMcp --skill azure-deployment-preflight-usepowershell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Validating Azure infrastructure changes before deployment can prevent costly failures and permissions issues. This Skill provides end-to-end preflight validation by analyzing Bicep templates, performing what-if analyses, and verifying access rights across azd and Azure CLI workflows, enabling safer deployments.

Core Features & Use Cases

  • Bicep syntax validation: Detect syntax errors and ensure templates are deployable.
  • What-if analysis: Preview resource changes and summarize impacts before deployment.
  • RBAC permission checks & fallbacks: Detect permission gaps and gracefully fall back to read-only validation when needed.
  • Unified reporting: Generate a structured preflight report highlighting issues, recommendations, and next steps.
  • Workflow versatility: Works with azd projects or standalone az deployments.

Quick Start

Run preflight validation on your Azure project to generate a comprehensive deployment report.

Frequently Asked Questions about azure-deployment-preflight

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

FAQPage Schema
How do I validate Bicep templates and check permissions before an Azure deployment?▼

Preflight Azure deployment validation checks Bicep template syntax, verifies RBAC permissions, and performs what-if analysis to identify risks before execution. It generates a structured report highlighting issues and recommendations to prevent deployment failures.

Can I run a what-if analysis on Azure deployments without full RBAC permissions?▼

Yes, Azure deployment preflight gracefully falls back to read-only validation when RBAC permissions are insufficient. It performs what-if analysis under ProviderNoRbac mode to preview resource changes without requiring full access rights.

Does this Azure deployment preflight work with both azd projects and standalone az deployments?▼

Yes, Azure deployment preflight works with both azd-based projects and standalone az deployments. It scans the project structure for azure.yaml and locates .bicep files to apply validation across different workflow configurations.

What is included in an Azure deployment preflight report?▼

An Azure deployment preflight report provides structured results covering syntax errors, what-if resource change impacts, and RBAC permission gaps. It includes remediation guidance and next steps to resolve identified deployment risks.

Why do my Azure deployments fail due to permission issues and how can I prevent them?▼

Azure deployments fail due to RBAC permission gaps, which preflight validation prevents by verifying access rights and performing what-if analysis before execution. It detects permission issues early and provides remediation guidance.