AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

azure-validate

Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read microsoft--azure-validate at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 17

references/recipes/azd/aspire.md

Aspire Validation

⚠️ Only load this file when the project is a .NET Aspire application.

Validation steps specific to .NET Aspire projects deployed via AZD.

Detection

A project is Aspire-based if any of these are true:

| Indicator | Check | |-----------|-------| | AppHost project | find . -name "*.AppHost.csproj" | | Aspire.Hosting package | grep -r "Aspire.Hosting" . --include="*.csproj" |

If none found → skip this file entirely.


Pre-Provisioning: Functions Secret Storage

⚠️ CRITICAL — Must run BEFORE azd provision.

Check if the project uses Azure Functions within Aspire and ensure AzureWebJobsSecretStorageType is configured. See Aspire Functions Secrets Reference for detection commands, fix examples, and full details.

If AddAzureFunctionsProject is NOT found, skip this section.


Post-Provisioning: Container Apps Environment Variables

⚠️ CRITICAL — Run AFTER azd provision but BEFORE azd deploy.

When using Aspire with Container Apps in "limited mode" (in-memory infrastructure generation), azd provision creates Azure resources but doesn't automatically populate environment variables that azd deploy needs.

Run the helper script (scripts/set-aspire-aca-env.sh or scripts/set-aspire-aca-env.ps1). It sets AZURE_CONTAINER_REGISTRY_ENDPOINT, AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID, and MANAGED_IDENTITY_CLIENT_ID (only the ones that are missing).

bash:

./scripts/set-aspire-aca-env.sh          # or: -e <azd-env-name>

PowerShell:

./scripts/set-aspire-aca-env.ps1         # or: -Environment <azd-env-name>