AZ CLI commands for Logic App Workflow

Rohan Bangale 20 Reputation points
2025-08-06T21:54:10.3+00:00

az logic workflow list command returns empty results
Documentation does not help, have got latest CLI and Extension, this command doesn't work.
To view the workflows present in a specific Logic App using the Azure CLI, you can use the command az logic workflow list. This command will list all workflows associated with your Logic Apps. Ensure that you have the Azure CLI installed and that you are logged in to your Azure account. If you want to filter the results further, you might need to specify the resource group and the Logic App name. This command is part of the Azure CLI Logic extension, which allows you to manage workflows effectively. Make sure you have the Azure CLI version 2.55.0 or higher installed, as the extension will automatically install the first time you run any az logic command.
Anyone knows the right command ?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
0 comments No comments
{count} votes

Accepted answer
  1. Michele Ariis 2,520 Reputation points MVP
    2025-08-07T08:16:25.7133333+00:00

    Hi, when working with Logic Apps via CLI, the behavior depends on the hosting model: Consumption or Standard.

    If your Logic App is Consumption-based (multi-tenant, one workflow per resource), the command az logic workflow list -g <rg> works as expected and shows the workflows directly, since they’re top-level Microsoft.Logic/workflows resources.

    If instead you’re using a Standard Logic App (single-tenant, multiple workflows in one app), that same command returns nothing. That’s because the workflows are nested under the App Service site (Microsoft.Web/sites/<logic-app>/workflows/<workflow>), and the current CLI doesn’t fetch child resources in this context.

    To list workflows for a Standard app, you need to either:

    – use az resource list --ids <logic-app-id>/workflows,

    – or make a direct REST call with az rest to that same ARM endpoint.

    This isn’t a bug, just a limitation of the CLI for now. The Logic Apps team is planning better support in the future, but until then, for Standard apps, use az resource or az rest.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.