Disable the workflows of Single Tenant LogicApps

Ankur Dahiya 46 Reputation points
2022-05-22T16:38:00.967+00:00

Hi Experts,

How can I disable the workflows of Single Tenant LogicApps ?

I don't want to disable the whole Single Tenant Logicapp, but want to disable the some workflows, is there any way to achieve it it using AZ command?

Can you help me?

Regards

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

Accepted answer
  1. Kamlesh Kumar 3,861 Reputation points
    2022-05-22T17:01:10.357+00:00

    Hi There,

    Thank you for asking this question on the Microsoft Q&A Platform.

    Yes, you can disable/enable Standard LogicApps using below script,

    This should work for disable the workflow:

    az functionapp config appsettings set --name x --resource-group y --settings Workflows.<workflow_Name>.FlowState=Disabled  
    

    This should work for enable the workflow:

    az functionapp config appsettings set --name x --resource-group y --settings Workflows.<workflow_Name>.FlowState=Enable  
    

    Sample Scenario,

    Standard LogicApp 'TestSingleTenantLogicApps' with 5 enabled workflow

    204357-image.png

    Run AZ CLI command to disable 'WF-1' workflow

    204403-image.png

    After command execution, result

    204345-image.png

    Run AZ CLI command to enable 'WF-1' workflow

    204404-image.png

    Regards,
    Kamlesh Kumar
    BizTalk Techie

    If this answer solved your problem, please click the Verify Answer button (found below the answer) to help other users who have the same question.


0 additional answers

Sort by: Most helpful