Introduction
Azure Logic Apps Standard helps developers build workflows that integrate applications, services, databases, and external systems. Unlike Logic Apps Consumption, the Standard hosting model runs on a single-tenant Azure Logic Apps runtime and supports local development, workflow projects, built-in connectors, and custom code integration.
As these projects become part of larger application solutions, deployment consistency becomes important. Developers need a repeatable way to package workflow definitions, include required custom code, and deploy the application across development, testing, and production environments.
The Azure Developer CLI (azd) provides a workflow for preparing and deploying application projects to Azure. Its extension model makes it possible to add support for project types that are not handled directly by the core CLI.
In November 2026, Microsoft introduced the Azure Logic Apps Standard extension for Azure Developer CLI as a public preview. The extension, named azure.logicappsstandard, adds native packaging support for Logic Apps Standard projects. It also supports projects that include a .NET custom code project.
This article explains how the extension works, how to configure an existing Logic Apps Standard project, how to package it with azd, and how to organize the deployment process for multiple environments.
Understanding Azure Logic Apps Standard Packaging
A Logic Apps Standard project contains workflow definitions and supporting configuration files required by the Logic Apps runtime.
A typical project includes the following files:
File or folder | Purpose |
|---|
host.json
| Configures the Logic Apps runtime |
connections.json
| Defines connection references used by workflows |
Workflows
| Contains individual workflow directories |
workflow.json
| Defines the triggers, actions, and workflow behavior |
local.settings.json
| Stores local development settings |
Functions
| Optional custom code project |
parameters.json
| Can contain workflow parameter definitions |
Each workflow normally has its own directory containing a workflow.json file.
For example:
OrderProcessing/
├── host.json
├── connections.json
├── local.settings.json
├── Workflows/
│ ├── ProcessOrder/
│ │ └── workflow.json
│ └── SendNotification/
│ └── workflow.json
└── Functions/
├── Functions.csproj
└── OrderValidator.cs
The Functions directory is optional. A Logic Apps Standard project can contain only workflows, or it can combine workflow definitions with custom .NET code.
Packaging must preserve the structure expected by the Logic Apps runtime. If workflow directories or configuration files are placed under an unexpected directory in the deployment archive, the application may not load correctly.
What Is the Azure Developer CLI Logic Apps Standard Extension?
The Azure Developer CLI is an open-source command-line tool that helps developers prepare, provision, and deploy application projects to Azure.
Its standard workflow includes commands such as:
azd init to initialize a project.
azd provision to create or update Azure resources.
azd package to prepare application packages.
azd deploy to deploy application code.
azd up to combine provisioning and deployment.
The Azure Logic Apps Standard extension adds project-specific packaging support to this workflow.
The extension identifier is:
azure.logicappsstandard
It was introduced in preview version 0.1.0. Developers can install it using:
azd ext install azure.logicappsstandard
After installation, the extension recognizes a Logic Apps Standard service through its azure.yaml configuration.
Two important settings identify the project:
language: logicappsstandard
host: function
The logicappsstandard language tells azd to use the extension's Logic Apps packaging implementation. The function host identifies the Azure Functions-based hosting model used by Logic Apps Standard.
For projects that include custom .NET code, the customCodeProject property identifies the corresponding project file.
This removes the need to represent a Logic Apps Standard project as a JavaScript project merely to reuse the existing Functions deployment behavior.
Prerequisites
Before configuring the project, prepare the development environment.
Requirement | Purpose |
|---|
Azure Developer CLI | Runs the project packaging and deployment workflow |
Azure Logic Apps Standard extension | Adds Logic Apps-specific packaging support |
Azure CLI | Authenticates and manages Azure resources |
Azure subscription | Provides the deployment environment |
.NET SDK | Required when the project includes .NET custom code |
Logic Apps Standard project | Contains workflows and runtime configuration |
Infrastructure definitions | Used to provision the required Azure resources |
Install or update Azure Developer CLI using the supported installer for your operating system.
Check the installed version:
azd version
Authenticate with Azure:
azd auth login
Also make sure that Azure CLI is authenticated when your workflow uses Azure CLI for resource management:
az login
The Logic Apps Standard extension is a preview capability. Check the extension release information and current compatibility requirements before using it in a production deployment pipeline.
Configuring a Logic Apps Standard Project
The first step is to organize the Logic Apps Standard project so that azd can identify its location and packaging requirements.
Organize the project structure
Create a project directory such as:
LogicAppsSolution/
├── azure.yaml
├── infra/
│ ├── main.bicep
│ └── modules/
│ └── logicapp.bicep
├── src/
│ └── OrderProcessing/
│ ├── host.json
│ ├── connections.json
│ ├── Workflows/
│ │ ├── ProcessOrder/
│ │ │ └── workflow.json
│ │ └── SendNotification/
│ │ └── workflow.json
│ └── Functions/
│ ├── Functions.csproj
│ └── OrderValidator.cs
└── .azure/
The src/OrderProcessing directory contains the Logic Apps Standard project.
The infra directory contains infrastructure-as-code definitions. These can describe the resources required by the application, such as the Logic Apps Standard resource, hosting plan, storage account, and other dependencies.
The .azure directory is maintained by azd for environment-specific configuration. It should not be used to store application secrets in source control.
Create the azure.yaml file
The azure.yaml file connects the project directory to its Azure deployment configuration.
Create the following file in the solution root:
name: logic-apps-solution
services:
orderProcessing:
project: ./src/OrderProcessing
language: logicappsstandard
host: function
customCodeProject: ./src/OrderProcessing/Functions/Functions.csproj
The configuration contains four important properties.
name identifies the azd project.
project points to the Logic Apps Standard project directory.
language identifies the project type and activates the extension's packaging support.
host identifies the Azure Functions-based hosting model.
customCodeProject points to the .NET project file when custom code is included. It is optional for workflows that do not use custom .NET code.
The extension uses this information to prepare the Logic Apps Standard deployment package.
Packaging a Logic Apps Standard Project
After configuring azure.yaml, developers can use the normal azd packaging workflow.
Run the packaging command
From the solution root, execute:
azd package orderProcessing
The command identifies the orderProcessing service in azure.yaml and invokes the appropriate packaging implementation.
When the project contains custom .NET code, the extension can use the configured project path to include the custom code build output in the Logic Apps package.
This is important because workflow definitions and custom code must be deployed together when the workflows depend on those custom functions.
Package all configured services
A solution may contain multiple deployable services, such as a Logic Apps Standard project, an API, and a frontend application.
To package all services defined in azure.yaml, run:
azd package --all
You can also specify an output directory where supported by the installed azd version:
azd package orderProcessing \
--output-path ./artifacts
The output path controls where azd saves generated packages. Verify the resulting files before using them in a deployment pipeline.
Inspect the package
Packaging should be treated as a build artifact that needs validation.
Check that the generated package contains the required workflow directories and runtime configuration files.
A representative deployment structure looks like this:
OrderProcessing.zip
├── host.json
├── connections.json
├── Workflows/
│ ├── ProcessOrder/
│ │ └── workflow.json
│ └── SendNotification/
│ └── workflow.json
└── compiled custom code files
The exact contents depend on the project and its custom code configuration.
Do not assume that every local development file should be included. Local settings can contain connection strings, passwords, and other sensitive values. Production configuration should be supplied through the appropriate Azure application settings, managed identities, and secure configuration mechanisms.
Deploying the Package to Azure
Packaging and deployment are separate stages.
The package contains the application files, while the Azure resource must exist and be configured to run the application.
Provision Azure resources
Use Bicep or another supported infrastructure-as-code solution to define the Logic Apps Standard resource and its dependencies.
For example, the infrastructure project might define:
A Logic Apps Standard resource.
An App Service plan with a supported workflow hosting configuration.
A storage account.
A managed identity.
Required application settings.
Access permissions for dependent Azure services.
Run the provisioning command:
azd provision
The command evaluates the infrastructure configuration associated with the azd project and creates or updates the required Azure resources.
Make sure the infrastructure deployment creates a Logic Apps Standard resource compatible with the selected deployment configuration.
Deploy the application
After provisioning the resources, deploy the Logic Apps Standard service:
azd deploy orderProcessing
The deployment stage uses the configured service host and the package prepared for the project.
For a complete workflow that provisions infrastructure and deploys the application, run:
azd up
The azd up command combines provisioning, packaging, and deployment.
This is useful for initial environment creation and repeatable deployments. However, teams should understand the difference between provisioning infrastructure and deploying application code. When infrastructure already exists and only workflow definitions have changed, deploying the service separately can avoid unnecessary infrastructure operations.
Handling .NET Custom Code Projects
One important capability of the new extension is support for Logic Apps Standard projects that include .NET custom code.
A custom code project can provide functionality that is not conveniently implemented through workflow actions alone.
For example, an order-processing workflow may need a custom validation function that checks a complex business rule.
A simple C# example could look like this:
namespace OrderProcessing.Functions;
public static class OrderValidator
{
public static bool IsValidOrder(
decimal amount,
int quantity)
{
if (amount <= 0 || quantity <= 0)
{
return false;
}
return amount * quantity <= 100000;
}
}
The actual custom code integration must follow the supported Logic Apps Standard custom code programming model and project requirements. A standalone C# class is not automatically exposed as a workflow action simply because it is included in the package.
Configure the custom code project in azure.yaml:
services:
orderProcessing:
project: ./src/OrderProcessing
language: logicappsstandard
host: function
customCodeProject: ./src/OrderProcessing/Functions/Functions.csproj
The extension uses the specified project path during packaging so that the custom code can be built and included with the workflow application.
This is useful for teams that want to maintain workflow definitions and supporting .NET code in one source-controlled project.
Using Multiple Environments
Most enterprise applications need separate development, testing, staging, and production environments.
Azure Developer CLI supports named environments, allowing teams to maintain environment-specific configuration.
Create a development environment:
azd env new development
Create a testing environment:
azd env new testing
Create a production environment:
azd env new production
Select the environment before provisioning or deploying:
azd env select development
Set environment-specific values:
azd env set AZURE_LOCATION eastus
azd env set LOGICAPP_NAME order-processing-dev
Infrastructure definitions can use these values to create resources with environment-specific names and settings.
For example, the development environment can use a smaller hosting configuration, while production can use the required scaling, networking, and monitoring configuration.
Do not place credentials or sensitive connection strings directly in azure.yaml or source-controlled environment files. Use managed identities, Key Vault references, and secure pipeline variables.
Integrating Packaging Into CI/CD
The extension also provides a practical way to standardize packaging in continuous integration and continuous deployment pipelines.
A typical pipeline contains the following stages:
Stage | Responsibility |
|---|
Restore | Restore .NET dependencies when custom code is present |
Validate | Check workflow definitions and project configuration |
Build | Compile custom .NET code |
Package | Generate the Logic Apps Standard deployment package |
Provision | Create or update Azure resources |
Deploy | Publish the package to the target environment |
Verify | Confirm that the application and workflows are operational |
For example, a CI pipeline can execute the following commands:
azd auth login
azd env select development
azd package orderProcessing
A deployment stage can then execute:
azd provision
azd deploy orderProcessing
In production, use a service principal or workload identity federation rather than an interactive developer login. Also separate the permissions required to provision infrastructure from those required to deploy application code.
The generated package should be retained as a pipeline artifact so that the same validated package can be promoted between environments instead of rebuilding different artifacts for each deployment target.
Common Mistakes to Avoid
Using the wrong language value
The Logic Apps Standard extension expects language: logicappsstandard.
Using language: js simply to reuse an older deployment approach does not activate the new extension's native packaging implementation.
Configuring the wrong host
Logic Apps Standard uses the Azure Functions runtime. The service configuration should use host: function.
Providing an incorrect custom code project path
The customCodeProject property should point to the relevant .csproj file. Verify that the path is correct relative to the project configuration and that the project can build successfully.
Including local secrets in deployment artifacts
Local settings can contain credentials and connection information. Review the package before deployment and use secure Azure configuration for production.
Assuming packaging provisions Azure resources
azd package prepares application files. It does not independently create the Logic Apps Standard resource or its dependencies.
Use infrastructure-as-code provisioning or an existing Azure resource before deployment.
Treating the extension as generally available
The Azure Logic Apps Standard extension for azd was introduced as a preview in version 0.1.0. Preview capabilities can change, so validate the extension version and behavior before depending on it for critical production deployments.
Best Practices for Production Deployments
Use the following practices when adopting the extension:
Keep workflow definitions, custom code, and infrastructure definitions in source control.
Use the dedicated logicappsstandard language configuration.
Keep custom .NET code in a clearly separated project directory.
Validate workflow definitions and compile custom code before packaging.
Inspect generated artifacts for missing files and unintended secrets.
Use managed identities for Azure service connections where supported.
Maintain separate azd environments for development, testing, and production.
Promote the same validated package between environments.
Keep infrastructure provisioning and application deployment as separate pipeline stages when appropriate.
Pin and test the extension version used by automated deployment pipelines.
Review preview release notes before upgrading the extension.
These practices make deployments easier to review, reproduce, and troubleshoot.
Advantages and Disadvantages
Advantages | Disadvantages |
|---|
Adds native Logic Apps Standard packaging support to azd | Extension is currently in preview |
Supports projects containing .NET custom code | Requires extension installation |
Avoids treating Logic Apps projects as ordinary JavaScript services | Requires correct service configuration |
Integrates with existing azd deployment workflows | Does not remove the need for infrastructure provisioning |
Supports repeatable packaging across environments | Preview behavior may change |
Helps standardize CI/CD workflows | Package contents still require validation |
Conclusion
The Azure Logic Apps Standard extension for Azure Developer CLI provides a more direct way to package Logic Apps projects as part of an Azure application deployment workflow.
By configuring language: logicappsstandard and host: function in azure.yaml, developers can use azd to recognize and package Logic Apps Standard projects. Projects that include .NET custom code can also identify the relevant .csproj file through the customCodeProject property.
The extension fits into the existing azd workflow, allowing teams to separate infrastructure provisioning, application packaging, and deployment. This makes it easier to build repeatable deployment processes for multiple environments.
Since the extension is currently in preview, validate its behavior and package output before adopting it in production pipelines. Combined with infrastructure as code, secure configuration, and automated validation, it provides a useful approach for managing Logic Apps Standard deployments alongside other Azure application services.
Join the conversation! Your thoughts help the community grow.