Unable to list Azure Standard Logic app workflows using CLI

Lygel D'Mello 0 Reputation points
2024-09-27T12:31:38.7533333+00:00

Unable to list Azure Standard Logic app workflows using Azure CLI. I have a standard logic app with a single workflow. I am the owner and contributor of this logic app/subscription. I can see the logic app and the workflow in the azure portal. The az logicapp list command shows me the logic app but the az logic workflow list --resource-group

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,133 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 15,321 Reputation points Microsoft Employee
    2024-09-27T15:10:16.03+00:00

    Hi @Lygel D'Mello Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.

    In line with your observation, I too noticed that the command az logic workflow list does not return any workflows from Standard logic apps. However, it does return the workflows from Consumption Logic apps. Perhaps, this is by design. Looking into the issue further, I stumbled across a similar post, How to list all workflows in a logic app where a couple of alternate approaches have been specified on how to get the workflows from a Standard Logic app.

    I have tested and can confirm that either of the following two commands can be used to retrieve the workflows

    az resource show --ids /subscriptions/<subscrptionid>/resourceGroups/<resorcegroupname>/providers/Microsoft.Web/sites/<standardlogicappname>/workflows/
    
    az resource show --ids $(az logicapp show --name <logicappname> --resource-group <resourcegroupname> --subscription '<sunscription_name>' | jq -r '.id  | rtrimstr("/") + "/workflows/"')
    
    

    Hope this helps! Please let us know if you have any additional questions.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    0 comments No comments

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.