az-logicapp
Manage Azure Logic Apps
TLDR
Create a logic app
Delete a logic app
List logic apps
Restart a logic app
Start a logic app
Stop a logic app
SYNOPSIS
az logicapp <subcommand> [--definition FILE_OR_JSON] [--location LOCATION] [--name NAME] [--plan ID_OR_NAME] [--resource-group RG] [--subscription ID_OR_NAME] [--tags TAG_LIST] [--output TYPE] [--query JMESPATH]
PARAMETERS
--definition
Logic app workflow definition as JSON string or file (@file.json). Required for create/update.
--location
Azure region (e.g., westus). Defaults from az configure.
--name
Unique name of the Logic App within resource group.
--plan
App Service plan ID or name for Standard Logic Apps.
--resource-group
Name of the resource group. Required for most operations.
--subscription
Subscription ID or name. Defaults from az account show.
--tags
Space-separated tags: key[=value] key2[=value2].
--debug
Increase logging verbosity to debug HTTP requests/responses.
--help, -h
Show help for command or subcommand.
--output, -o
Output format: json, jsonc, table, tsv.
--query
JMESPath query string to filter output.
--verbose
Increase logging verbosity.
DESCRIPTION
az logicapp is a command group in the Azure Command-Line Interface (CLI) for managing Azure Logic Apps, serverless workflows that automate business processes by integrating apps, data, services, and systems.
Logic Apps enable visual designer-based or code-first workflow creation, supporting triggers, actions, conditions, loops, and connectors to hundreds of services like Office 365, Salesforce, and custom APIs. The command supports Consumption (pay-per-execution) and Standard (App Service plan-based) hosting models.
Use az logicapp to create apps from JSON definitions, list resources in a subscription or group, retrieve details, update configurations, delete apps, and manage related entities like runs, triggers, integration accounts, certificates, and diagnostic settings. It integrates with Azure Resource Manager (ARM) templates for infrastructure-as-code deployments.
Prerequisites: Install Azure CLI (version 2.30+ recommended), log in via az login, and have Contributor role on target resources. Examples include deploying from file (az logicapp create --resource-group rg --name app --definition @workflow.json) or listing apps (az logicapp list --resource-group rg). Supports JSON, table, or TSV output formats for scripting.
CAVEATS
Requires Azure CLI installation and az login. Not all subcommands support all options; check az logicapp <subcommand> --help. Rate limits apply to Azure API calls. JSON definitions must be valid Logic Apps schema.
COMMON SUBCOMMANDS
create: Provision new app.
delete: Remove app.
list: Enumerate apps.
show: Get app details.
update: Modify app.
run-history: List workflow runs.
AUTHENTICATION
Uses Azure AD; supports service principals via az login --service-principal. RBAC roles: Logic App Contributor or Owner required.
HISTORY
Introduced in Azure CLI 2.2.0 (2018) with basic CRUD. Enhanced in 2.10+ for Standard plans, run history, and diagnostics. Ongoing updates track Logic Apps v2 API evolution, including ISE deprecation and multi-tenant improvements.


