azd Azure Functions flex consumption apps support remoteBuild
Introduced 2026-02-13 · score 0.94
HOW TO USE IT
For an Azure Functions Flex Consumption app, set `remoteBuild: true` on its service in `azure.yaml` to build the deployment package remotely with Oryx.
services:
<service-name>:
project: <project-path>
language: <language>
host: function
remoteBuild: trueWHY THIS HELPS
Configure an Azure Functions flex consumption app to use remote builds.
REQUIREMENTS AND LIMITATIONS
- Version: 1.23.5
- services.<service-name>.remoteBuild: Boolean; `true` builds the function deployment package remotely using Oryx; `false` deploys the package as-is. If omitted, defaults to true for JavaScript, TypeScript, and Python function apps.
- services.<service-name>.host (required): Set to `function`; `remoteBuild` is only valid for function services.
- services.<service-name>.project (required): Path to the service source directory; function services using source projects require this instead of `image`.
- Prerequisite: Use azd 1.23.5 or later for the option introduced in that release.
- Applies to Azure Functions flex consumption apps.
- Docs conflict: The current schema reference describes `remoteBuild` as a general remote image build option. The release note and function-specific schema describe it for function app package builds; this answer follows the release note’s function-app context.
FIRST-PARTY EVIDENCE
- https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.5
- https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/azd-schema
- https://github.com/Azure/azure-dev/blob/main/schemas/v1.0/azure.yaml.json
Check the installed version and the source before using it. Entry JSON