Back to articles

Azure Logic Apps’ Local CLI Adds an Agent Workflow—Not a Cloud Boundary

3 min read

Microsoft has released a public preview of a local command-line interface for Azure Logic Apps Standard. Delivered as an Azure CLI extension, it expands the tool from managing deployed apps to supporting local project creation, workflow authoring, runtime operations, and testing. That makes it potentially useful for coding assistants: they can follow explicit steps to check and exercise a workflow instead of relying entirely on assumptions. But “local CLI” describes the development interface, not a guarantee that every command stays on the developer’s machine.

A broader development surface

The extension previously focused on deployed Logic Apps. The preview adds project setup, operations on individual workflow files, a local runtime, connector and connection management, run-history inspection, and test scaffolding. On Azure CLI 2.67.0 or later, the extension is installed automatically the first time a developer runs an az logicapp developer command. Microsoft says the extension retains its 13 existing cloud-management commands and adds 19 command groups, for a total of 64 commands.

project create can create or take over a local project. Commands such as workflow create, set, export, and validate work with a workflow.json file; validation is offline by default. The runtime start, stop, and show commands control the local host on port 7071. When a project uses development storage, the CLI also starts the Azurite storage emulator. Other commands handle connectors, connections, executions, and deployment packages, while named contexts can save targets for later commands.

Clearer stages, with important limits

The runtime doctor command is designed as a read-only diagnostic. It checks project files, tool versions, cached Bundle information, and local loopback ports. Microsoft says it does not install, download, start, stop, or repair components; decrypt settings; change context; or access cloud storage. Its exit codes distinguish a failed required check from a required check whose result is unknown.

Testing is also divided into distinct stages. test create scaffolds a native SDK test project without restoring packages or running tests. test plan produces a preflight report, and only test run builds and executes tests within a time limit. There is a significant caveat: native SDK test code is treated as trusted code and does not run in a sandbox. The announced test workflow should therefore not be confused with an isolation boundary.

For an AI agent, a repeatable sequence—validate, run, inspect, and test—can make workflow changes easier to evaluate. Yet validation does not prove that authorization is effective or that business logic is correct. Nor are all commands local-only. Connection and execution commands can operate on deployed apps, and Microsoft’s walkthrough uses real Azure and Microsoft 365 resources; some commands modify deployed connections. Developers need to inspect the selected context, credentials, and target before acting, rather than infer safety from the CLI’s local-development framing.

Useful for automation, but not a substitute for controls

The preview could make onboarding and CI/CD testing more repeatable, while giving coding assistants a concrete interface for working with Logic Apps. There are practical limits: the extension does not update automatically with Azure CLI, so teams comparing runs should record the CLI, extension, runtime, and project versions. The visual designer still requires VS Code, and the CLI edits workflow.json directly rather than changing the state of an already running local app. The tool can improve the development loop; it does not remove the need for environment separation, permissions, and careful review.

InfoQ 中文

Comments

Checking sign-in status...

Loading comments...

Related articles

CCTest · Blog
Markdown Is Not a Firewall: What Repository Rules Really Do
Coding AI
cctest.ai
Coding AI

Markdown Is Not a Firewall: What Repository Rules Really Do

A pre-registered study found that a short repository rules file was no substitute for an enforceable security boundary—and that it coincided with a sharp hidden-test decline for one coding agent. A flaw in the HTTP-boundary setup also limits what the experiment can say about whether the file changed agent behavior there.

Read more