BlockEdge

Technology and digital life

Azure Logic Apps Standard CLI preview adds local workflow development

Microsoft has released a public preview of local development commands for Azure Logic Apps Standard. Previously limited to managing deployed apps, the Azure CLI’s logicapp extension now lets developers create, run and test workflows without opening Visual Studio Code. Workflow validation runs offline by default, but running a workflow locally does not necessarily isolate it from cloud resources.

On Azure CLI 2.67.0 or later, the first az logicapp developer command automatically installs the extension. The preview adds 19 command groups, bringing the total to 64 commands. The 13 existing cloud management commands are unchanged.

From a workflow file to a test run

project create can start a project or adopt an existing local one. Developers can create, update, export and validate individual workflow.json files, then use runtime start to launch the local host on port 7071. If the project uses development storage, the command also starts the Azurite storage emulator. The visual designer still requires VS Code.

Other commands inspect built-in and managed connectors, configure connections for local or deployed apps, and inspect execution history. Developers can wait for a run, cancel or resubmit it, or download the inputs and outputs recorded for a particular action. Named contexts save a target so it need not be specified on every command.

The preview separates inspection from execution. runtime doctor reads project files, tool versions and cached bundle information and checks local loopback ports. It does not install tools, start services, decrypt settings or access cloud storage. It exits with code 1 if a required check fails and code 2 if a required check returns an unknown result.

The same distinction applies to tests: test create scaffolds a native SDK test project without restoring packages, and test plan produces a preflight report without executing tests. Only test run builds and runs them, subject to a time limit. Riley Evans, author of the pull request introducing the extension, noted that native SDK test code is trusted and does not run in a sandbox. Evans also said agent bootstrap commands had not yet been implemented.

What local validation can and cannot establish

Microsoft MVP Sagar Sharma argued that the commands give AI coding assistants a repeatable way to validate, run, inspect and revise a workflow rather than guess whether it works. He pointed to named contexts, capability discovery and the ability to pass secrets through standard input rather than command-line arguments. Fellow MVP Sonny Gillissen saw uses for team onboarding and CI/CD testing, and suggested that an assistant could test workflows locally without touching Azure.

Microsoft MVP and certified trainer Christos Panagiotidis proposed testing that last claim; his pilot plan did not report results. Microsoft’s own walkthrough uses real Azure and Microsoft 365 resources, and some commands modify deployed connections. Microsoft also cautions that successful validation proves neither that authorization works nor that the business logic is correct. Similarly, the pull request notes that passing Linux CI checks does not establish that native SDK tests or executions against a live Azure environment will succeed.

For teams comparing results across runs, Panagiotidis recommended recording the CLI, extension, runtime and project versions alongside each result. Updating Azure CLI does not automatically update the extension.