azd provision runs local preflight validation before Bicep deployment
Introduced 2026-03-13 · score 0.91
HOW TO USE IT
For a Bicep project, run `azd provision` to run local preflight automatically before deployment is sent to Azure. To disable it, run `azd config set provision.preflight off`.
azd provisionazd config set provision.preflight offWHY THIS HELPS
Provision resources from a Bicep deployment while detecting parameter, configuration, or permission issues before submission to Azure.
REQUIREMENTS AND LIMITATIONS
- Version: 1.23.9
- provision.preflight: User configuration key; set to `off` to disable local preflight.
- off (required): Value used with `provision.preflight` to disable preflight.
- Prerequisite: Local preflight depends on the `bicep snapshot` command, available in modern Bicep CLI versions; the docs do not specify a minimum version.
- Local preflight depends on the `bicep snapshot` command, available in modern Bicep CLI versions.
- Preflight can be disabled by setting `provision.preflight` to `"off"` in azd user configuration.
FIRST-PARTY EVIDENCE
- https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.9
- https://github.com/Azure/azure-dev/pull/7053
- https://github.com/Azure/azure-dev/blob/azure-dev-cli_1.23.9/cli/azd/docs/design/local-preflight-validation.md
Check the installed version and the source before using it. Entry JSON