Azure Logic Apps Standard CLI
GitHubOfficialFirst committed by wsilveiranzDistributed by GitHub
- Skill
- Tool integration
- Cloud and DevOps
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The azure-logic-apps-standard-cli skill provides an interface for interacting with Azure Logic Apps Standard projects. It enables developers to scaffold, inspect, validate, test, run, debug, package, and deploy workflows directly from the command line. The skill emphasizes local development practices, identity-based connections, and structured lifecycle operations while maintaining clear boundaries between local and cloud environments.
What it does
- Scaffolds new Logic Apps Standard projects and workflows.
- Validates workflow definitions locally and against a running host.
- Manages connector discovery and identity-based connection configurations.
- Executes and monitors local runtime hosts for testing and debugging.
- Packages projects for deployment and manages cloud-based workflow operations.
- Provides tools for inspecting live workflow runs and managing runtime state.
When to use it
- When developing or maintaining Azure Logic Apps Standard projects.
- When you need to validate workflow configurations before deployment.
- When configuring connections using managed identities in a local or cloud environment.
- When performing lifecycle tasks like packaging, deploying, or inspecting live workflows.
Advantages
- Provides a unified CLI interface for the full development lifecycle.
- Supports local runtime execution for testing without needing cloud access.
- Promotes secure practices by defaulting to managed identity authentication.
- Enables structured validation to catch issues before deployment.
Usage examples
- “Create a new Logic Apps Standard project named MyProject with a workflow named MyWorkflow.”
- The CLI scaffolds the project structure and initializes the specified workflow within the local directory.
- “Validate all workflows in my current project using the local runtime.”
- The CLI starts the local host, runs validation checks against all workflows, and reports any findings.
- “List available connectors for my local Logic App host.”
- The CLI queries the local runtime catalog and displays the available connectors and their operations.
- “Export a live workflow named Orders from my running local host.”
- The CLI retrieves the workflow definition from the runtime and saves it to a local JSON file.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/azure-logic-apps-standard-cli/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip azure-logic-apps-standard-cli.zip -d .agents/skills
Documentation by wsilveiranz
Logic Apps Standard CLI
Use az logicapp as the primary interface for supported Standard project, workflow,
connection, validation, runtime, diagnostic, testing, and packaging operations.
Do not manually recreate files or Azure wiring owned by a supported command.
Manual workflow authoring, workspace files, ignore files, and infrastructure-as-code
remain appropriate where the CLI does not own that operation.
Reviewed baseline: extension 1.0.0b1. It is a public preview for evaluation and development, not a claim of production readiness. Use non-production resources for evaluation. Existing core app-management, app-settings, and ZIP-deployment commands are distinct from the extension's preview commands, even where reference pages label extension commands GA. Declared platform support is not live-runtime qualification.
Mandatory procedure routing
This folder is one installable skill package. Resolve bundled files relative to this
SKILL.md, not the customer's working directory. Install/copy the entire folder.
These references are required procedures, not optional background reading.
See the package README for installation, provenance, and maintenance notes.
Before the corresponding operation, read every applicable reference below. For combined tasks, read each required procedure before its phase. If a required file is missing or unreadable, report that operation as blocked. Do not invent syntax, bypass its prerequisites, or fetch an unreviewed substitute.
| Requested operation | Required bundled procedure |
|---|---|
| Install/check dependencies; diagnose, start, or stop a host | Local runtime |
| Discover connectors; create/change/test/delete connections; configure identity or ACLs | Connections and identity |
| Inspect/export/change live workflows; invoke/diagnose/cancel/replay runs | Live workflows and runs |
| Scaffold, plan, run, or inspect native workflow tests | Workflow testing |
| Package, deploy, or change deployment exclusions | Packaging and deployment |
Basic local scaffolding, workspace creation, and offline validation are specified here. Do not start a host, restore packages, invoke workflows, or mutate Azure merely because the skill was activated. Select only the procedures needed for the requested task.
Non-negotiable rules
Inspect before mutation. Establish the actual project root and requested scope. Inspect affected workflows, configuration structure/references, ignore files, workspaces, and uncommitted changes. Do not dump secret setting values.
Preserve existing conventions. Do not restructure repositories, convert workflow kinds, migrate authentication, normalize aliases, or replace user files unsolicited.
Use managed identity by default. For new connections and deployed app configuration, use another authentication method only when explicitly requested by the customer or unsupported by the selected connector/operation. Authentication failure is not proof of lack of support. Never silently fall back to secrets.
Enable identity as part of new-project delivery. Configure the supported local identity-based connection mechanism. For deployment-facing work, enable app identity through the authorized provisioning/deployment process. Preserve an existing identity convention; otherwise default to system-assigned identity. Local scaffolding does not authorize Azure mutation; report unapproved cloud prerequisites explicitly.
Verify distinct principals and permissions. A local process does not acquire a deployed app's managed identity. Follow the connector's documented local mechanism; do not assume every connector uses
DefaultAzureCredential. Verify local and cloud principals, connection access, and least-privilege data-plane roles separately.Discover, do not guess. Obtain connector IDs, operation IDs, parameter sets, and required input shapes from the actual runtime or regional managed catalog. Verify authentication support using metadata and authoritative connector documentation.
Protect secrets and sensitive outputs. Never put secret values in command arguments, source control, examples, or shared logs. Treat existing definitions, exports, and provider output as potentially sensitive; protect and review them before sharing. Use supported stdin secret input and setting references. Required protected local/runtime storage is permitted; local settings and test artifacts must be ignored and excluded from deployment.
Keep environments configurable. Put deployment-specific endpoints, resource IDs, and environment values in settings or parameters, not hardcoded workflow literals.
Guard replacements and concurrency. Inspect before every create; treat creation as non-idempotent. Use
--forceonly for reviewed replacement. Export live workflows before replacement/deletion, retain revisions, and obtain approval for non-atomic writes. Do not bypass conflicts or blindly retry uncertain mutations.Authorize effects, not just targets. Starting local triggers and running test/build code can contact real systems. Establish permitted effects first. Obtain explicit authorization for Azure mutations, cancellation, and replay; preview is not a sandbox.
Keep evidence honest. Read structured results even on nonzero exits. Distinguish configured, authorized, accepted, observed, and verified states. An open port, accepted invocation, generated plan, or inspected report is not successful workflow execution.
Validate without manufacturing success. Validate incrementally; require strict full-project validation before release packaging/deployment. Preserve stricter repository policy. Do not remove warnings, assertions, outputs, or guards merely to obtain a passing result.
Own cleanup precisely. Stop only task-owned runtimes unless asked to leave them running; verify shutdown and shared dependency ownership. Never kill processes by name or stop another user's host/emulator.
Preserve deployment boundaries. Merge ignore rules without replacing unrelated entries; inspect the actual package. Do not deploy local settings, tests, state, editor files, logs, settings templates, or generated packages.
Keep connector semantics specialized. Use available connector-specific guidance for delivery guarantees, poison handling, and operation-specific tests. If unavailable, use authoritative connector documentation; do not invent specialized behavior.
Defaults and consequential choices
| Decision | Rule |
|---|---|
| Workflow kind | Preserve existing kinds; new workflows default to Stateful |
| Stateful vs Stateless | Stateful for durable history/long-running work; choose Stateless deliberately for suitable short-lived, low-latency work |
| Initial scope | Local authoring, unless the request includes further operations |
| Authentication | Managed identity, subject only to the exceptions above |
| Identity type | Existing convention, otherwise system-assigned; user-assigned for explicit stable/shared/pre-provisioned identity requirements |
| Project root/layout | Existing repository convention; otherwise the smallest suitable layout |
| Workspace | Optional; reuse an existing workspace and ask only if intent is unresolved |
| Context | Optional saved shortcut; never change active selection without authorization |
| Automation | Explicit project path and runtime/cloud target coordinates |
| Runtime lifetime | Stop task-owned hosts after checks unless explicitly asked to retain them |
Infer paths and established choices from the request/repository. Ask only about missing, consequential decisions. Do not insist on three scaffold questions when answers are known.
1. Verify tooling and select the target
Inspect first; these commands do not install the extension:
az version
az extension list --query "[?name=='logicapp'].{name:name,version:version}" --output tableMinimums for the reviewed release: Azure CLI 2.67.0 and its Python runtime 3.10. If the extension is absent and installation is authorized, use the public extension index:
az extension add --name logicapp --version 1.0.0b1 --allow-preview true
az extension show --name logicapp --output json
az logicapp --helpCheck the exit after each command; do not continue after failed installation.
If the requested version is unavailable, report the index/network/version error.
Do not substitute a private wheel, disable TLS, or bypass organizational package policy.
Do not automatically upgrade an installed extension. For a different installed version,
inspect each affected command's --help and current official contracts before execution;
report material differences instead of assuming this baseline still applies.
Detect OS and shell before using examples. Single-line azurecli blocks avoid shell-specific
continuations. App, Orders, and uppercase identifiers are illustrative names: substitute
the inspected target, quote paths containing spaces, and use the host OS's path separator.
PowerShell/native-wrapper quoting for expressions is specified in the connections procedure.
| Operation | Target contract |
|---|---|
| Local file authoring/validation | Explicit --path; some commands also accept a local context |
| Runtime API inspection/execution | --local --port PORT, or cloud --resource-group GROUP --name APP |
| Runtime lifecycle | Local runtime start/show/stop flags; not cloud host management |
| Runtime doctor | Local --path and optional --port, or local --context; no --local |
| Managed connection creation | --name CONNECTION and --logic-app-name APP, not interchangeable |
| Live workflow enable/disable | Deployed apps only |
For API-targeting commands, explicit --port requires --local. A named context owns its
coordinates: do not mix it with explicit API target flags. Inspect command-specific help
for file-command context combinations; do not assume one universal precedence rule.
Cloud work requires the intended Azure login, tenant, subscription, and permissions.
Verify account selection independently: saved contexts do not bind subscription/tenant.
Avoid changing global account selection; prefer explicit --subscription in automation.
2. Inspect and scaffold locally
Classify the destination as new, an existing Standard project, or a nonempty unrecognized
directory. The project/host root contains host.json; workflow directories are its direct
children. The repository root may itself be that project root.
For an existing project, inspect host.json, workflow files, connections.json,
parameters.json when present, settings names/references, ignore files, workspaces, and
affected uncommitted changes. Preserve unrelated content and avoid exposing local values.
For a new project, choose a minimal project-at-root layout or a solution/monorepo child
project according to requirements. Support directories such as docs, requests, fixtures,
tests, logs, and artifacts are optional and created only for actual work. Prefer package
output outside the host root. Do not author .azurelogicapps runtime state.
After inspecting the destination, scaffold using explicit paths:
az logicapp project create --path App --workflow OrdersAdd --workflow-kind Stateless only for an intentional Stateless choice.
Use --adopt only for a reviewed nonempty unrecognized directory, not as routine setup.
Inspect generated host/settings/connection/workflow files before extending them.
Create additional workflows without replacing existing ones:
az logicapp workflow create --path App --workflow Notify --kind Stateful--file FILE accepts a reviewed full workflow file or bare definition for local import.
Creation is local-only and non-idempotent. Do not use it to add a cloud workflow.
Before writing sensitive local settings, confirm effective Git exclusions. Merge rules
relative to the actual repository and host roots; never copy .gitignore over .funcignore.
Always exclude local settings/state from source control and deployment. If changing
deployment exclusions, first read the packaging procedure and follow its concrete rules.
Gate: Correct project root, requested workflow kinds, preserved user files, effective secret exclusions, and identity-based configuration or an explicitly reported prerequisite.
3. Optional workspace and context
A .code-workspace file is optional; opening the host directory is valid. Reuse an existing
workspace. When a new multi-root workspace is requested, use relative paths to real folders
and put the Logic Apps host project first. Do not create empty folders just to populate it.
Adapt this JSON to the selected layout; it is not a required filename or folder scheme:
{
"folders": [
{ "name": "Logic App", "path": "App" }
]
}Preserve existing workspace settings and names. Add docs/test roots only when useful and
present. For a project-at-root workspace, the project path is ".".
Saved contexts are optional. Inspect context list before choosing a unique project-specific
name. If requested, create a shortcut without implicitly selecting it:
az logicapp context list --output table
az logicapp context create --name orders-local --path App --port 7071
az logicapp context show --name orders-localUse context use --name NAME or creation's --use only when active selection is authorized.
context update preserves omitted fields and does not select a target; editing an active
target prompts unless --yes is authorized. A kind change requires explicit local path/port
or cloud resource group/app coordinates. Inspect its help before changing kind.
context delete deletes only a shortcut; deleting the active one clears selection without
choosing a replacement. Stores follow AZURE_CONFIG_DIR; no credentials belong in them.
4. Author and validate
Preserve workflow structure/kind. Use stable action/trigger names. Implement the required ordering, branching, retries, timeouts, and failure paths; terminal success/failure paths must not both execute. Use discovered operation shapes and configurable environment values. Create representative non-sensitive fixtures only when needed.
For built-in connector discovery, read both the local-runtime and connections procedures before establishing safe host startup and querying the catalog. For runtime-backed validation, read the local-runtime procedure and establish readiness first. Native tests can instead use authored mocks without starting a host.
Validate the workflow under active development:
az logicapp workflow validate --path App --workflow OrdersFor completed project authoring and before release packaging/deployment:
az logicapp workflow validate --path App --all --fail-on-warningWhen runtime-backed validation is required, first establish host readiness:
az logicapp workflow validate --path App --all --fail-on-warning --with-runtime --local --port 7071Do not start a host solely for an offline edit/review. Assess findings and preserve repository policy; report unrelated pre-existing failures separately without weakening release gates. Static validation, runtime-template validation, native assertions, and live integration checks are separate evidence. A completed runtime validation response is required; accepted asynchronous validation alone does not establish completion.
Completion evidence
Apply only gates relevant to the requested task; do not turn an inspection into a deployment.
| Task | Required evidence |
|---|---|
| Scaffold/author | Requested files/kinds and behavior; affected validation; no unsolicited restructuring |
| Connections/identity | Discovered shape, setting references, selected principal, verified grants or explicit blockers; no secrets exposed |
| Full-project release | Strict full-project validation passes; required runtime validation completes |
| Native tests | Reviewed meaningful assertions, actual executed counts/outcome, skipped counts and limitations |
| Live execution/diagnosis | Actual supported run evidence, required outputs/effects, failed action/platform error where available |
| Live mutation | Retained export/revision, guarded write result, separate observed runtime behavior |
| Cancellation/replay | Requested/accepted/observed/unknown distinguished; no inferred new run IDs |
| Package/deploy | Inspected archive/exclusions; authorized prerequisites; required post-deploy verification |
| Runtime ownership | Task-owned processes stopped and verified, or explicitly retained with coordinates/ownership |
State concrete missing permissions, dependencies, resources, unexecuted checks, retained resources, and uncertain effects. Do not call configured identity authorized, an accepted request complete, a skipped suite passing, or a blocked prerequisite satisfied.
Files
- ATTRIBUTION.mdAdded by AutoGineer897 B
- LICENSELicence file added by AutoGineer1.0 KiB
- README.md9.1 KiB
- SKILL.md17.6 KiB
- references/connections.md13.1 KiB
- references/live-operations.md10.3 KiB
- references/local-runtime.md8.2 KiB
- references/packaging-deployment.md8.3 KiB
- references/testing.md10.7 KiB
references/local-runtime.md
Local dependencies and runtime
Mandatory before dependency installation/checks, runtime doctor, or host lifecycle work.
Baseline: logicapp 1.0.0b1. Read SKILL.md rules first. Use the actual project root, OS,
shell, available port, and ownership evidence; App and 7071 are example coordinates.
Prerequisites and effects
Inspect existing configuration, settings references, listeners, and runtime ownership before starting or repairing anything. Do not print secret values. Running a local host can activate polling/event triggers and invoke real services using local credentials. Establish authorized effects and appropriate non-production resources before startup; "local" does not mean isolated. Do not install dependencies or start services as a side effect of read-only inspection.
Check before installation
For a destination that does not exist, a general dependency check may identify tooling.
Once the project exists, use the project-aware form:
az logicapp dependency check --path AppInspect Core Tools, Node.js, bundle, .NET, and Azurite findings. The project-aware check resolves configured storage and whether Azurite is required; not every tool is needed for every operation. A local SDK test has different prerequisites from a live host.
For an existing project, diagnose before runtime repair:
az logicapp runtime doctor --path App --port 7071 --output jsonDoctor is read-only: it does not install, download, repair, start/stop services, decrypt settings, or contact cloud storage. It uses bounded loopback probes and local project/tool/ cache/ownership evidence. A stopped host is an optional skipped probe, not an offline failure.
| Doctor exit | Meaning and required response |
|---|---|
| 0 | No required blockers/unknowns; not business correctness or universal compatibility |
| 1 | Required failure; inspect and resolve the actual finding |
| 2 | Required unknown, or optional problem under --strict; preserve diagnostic uncertainty |
Exact tool/bundle compatibility remains a required unknown in this baseline; a responsive
project can exit 2. Do not reinstall merely because compatibility is unknown or convert
the result into certified health. Preserve structured stdout on nonzero exits.
Use a local --context instead of path/port if appropriate; explicit context cannot be
combined with --path or --port. Doctor does not take --local.
Install only selected missing dependencies
Install only the kinds reported missing and required for the requested operation:
az logicapp dependency install --kind core-tools --yes
az logicapp dependency install --kind node --yes
az logicapp dependency install --kind azurite --yes
az logicapp dependency install --kind bundle --yesThese are alternatives, not a command sequence to run unconditionally. Repeat --kind for
multiple required kinds. Omitting --kind installs all installable kinds and is not the
default procedure. --yes is appropriate only after installation is authorized.
Check each exit and rerun the project-aware check after the selected installation.
Constraints:
The CLI does not install the .NET SDK. Report a required missing SDK and use the customer's approved installation process; do not run a remote installer implicitly.
Azurite requires Node.js 22 or newer. Establish Node/npm availability before installing it.
Managed dependencies default to
~/.azurelogicapps/dependencies, shared with VS Code tooling;LA_DEPENDENCIES_PATHor supported target flags can override it.Managed tools affect child-process environments, not global PATH.
Respect approved package sources, proxies, and network policies. The Azurite installer uses the public npm registry by default rather than the user's configured registry. Use
--kind azurite --source-url REGISTRY_URLfor an authorized mirror.--source-urlrequires exactly one kind. Custom sources do not receive the same publisher-checksum verification; establish trust independently. Never disable TLS.--versionpins one selected kind when required. Do not upgrade working tools merely because a newer version exists.dependency uninstallremoves only recorded CLI-owned dependencies using.logicapps-integrity.json. Inspect shared use and obtain removal authorization first.
Gate: Every dependency required for this task is available, or its concrete blocker is reported. An unknown compatibility finding is not a missing-package finding.
Start and verify readiness
Choose a port after inspecting existing listeners. Do not stop another process to free it. Reuse a suitable existing host only after confirming its project and permitted effects.
az logicapp runtime start --path App --port 7071 --background --ready-timeout 90
az logicapp runtime show --port 7071Require running state and readiness.managementEndpointReachable: true.
An open port or recorded process alone is insufficient. If starting/failed/unready, inspect
the reported logPath, then rerun doctor as appropriate. Do not invoke workflows until ready.
Logs can contain sensitive payloads; inspect locally and sanitize before sharing.
When AzureWebJobsStorage resolves to UseDevelopmentStorage=true, startup manages Azurite
on ports 10000-10002 and reuses an existing emulator. Real storage configuration does not
start Azurite. Use --no-azurite only when another authorized process owns its lifecycle.
Do not manually author emulator/runtime state directories.
Inspect the returned dependency record:
| Azurite state | Required response |
|---|---|
started | Record CLI ownership and dependent host |
already-running | Inspect startedByCli; do not infer ownership from the port |
port-conflict | Identify the non-Azurite listener; stop startup, not the unrelated process |
missing | Authorize/install the required Azurite dependency |
not-started | Inspect storage configuration without exposing its values |
failed | Inspect the dependency's reported logPath |
skipped | Confirm intentional externally managed emulator lifecycle |
Local runtime lifecycle honors saved local context ports where applicable; explicit path/port
coordinates are safer for automation. Do not add API-only --local to lifecycle commands.
These commands do not manage cloud host startup/shutdown.
Gate: Correct owned/reused host, actual management readiness, permitted trigger effects, and understood dependency ownership.
Diagnose before stopping
Collect required run/action evidence while the host is reachable using the mandatory live
operations procedure selected from SKILL.md. Console output alone is not a workflow
business diagnosis. If no run exists or Stateless history is unavailable, report that fact
and use supported response/telemetry evidence; do not invent a failed action.
Stop only owned processes
After required validation, discovery, execution, and diagnosis are finished:
az logicapp runtime stop --port 7071
az logicapp runtime show --port 7071Confirm the task-owned host is stopped and its listener is closed using OS-appropriate process/listener inspection. If a new listener has reused the port, identify it without terminating it. Do not declare the original host alive solely from a reused port.
Stop only runtimes started for this task, unless explicit shutdown of another host is authorized. If asked to leave a host running, verify responsiveness and report project, port, and lifecycle ownership instead of stopping it.
When Azurite was started by the CLI, it is retained while any CLI-started foreground or background host depends on it. Only after the last dependent host stops should its 10000-10002 listeners close. Never stop an emulator the CLI did not start.
CLI process ownership uses PID and creation identity. Unknown/recycled identities and unresolved descendants must not be signalled. If cleanup remains pending, retain ownership records and inspect the exact reported processes. Use an explicitly authorized, identity- verified PID only; never kill by executable name or delete records to bypass a guard. Use supported stop retries only after reviewing ownership evidence.
Gate: All task-owned processes are verified stopped, or explicit retention/cleanup blockers are reported. Shared and unrelated services remain intact.
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs a command-line tool
The author says: Requires Azure CLI 2.67.0 or newer with the logicapp extension; its Python runtime must be 3.10 or newer. Local hosting and native tests have additional task-specific dependencies. Installation, connector catalogs, and Azure operations can require network access and Azure permissions.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
wsilveiranz
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/azure-logic-apps-standard-cli · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- wsilveiranz
AutoGineer is not affiliated with or endorsed by wsilveiranz or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download azure-logic-apps-standard-cli.zip