LJHHouston
LJHHouston

Reputation: 113

How to disable/Enable logic app work flows from another Logic app

We have several logic apps with several workflows. Each month, for monthly patching, we have to disable certain workflows in several logic apps. We have a spreadsheet listing each logic app and which of the workflows in each logic app needs to be disabled and then later enabled. Is it possible to have another logic app to do this at one time with out having to go to each Logic App and click on each workflow to disable?

Upvotes: -1

Views: 44

Answers (1)

RithwikBojja
RithwikBojja

Reputation: 11383

Thanks @Skin for the comment.

Yes, I do agree that you can disable/enable logic app from another logic apps and I followed Microsoft-Document:

Firstly, you will be having enable and disable option for Consumption Plan as below:

enter image description here

Design:

enter image description here

I am disabling the logic app by using

https://management.azure.com/subscriptions/13f2rirhwuk6/resourceGroups/rithwik/providers/Microsoft.Logic/workflows/rilog6/diable?api-version=2016-06-01

for enabling:

https://management.azure.com/subscriptions/13f2rithwik6/resourceGroups/rithwik/providers/Microsoft.Logic/workflows/rilog6/enable?api-version=2016-06-01

Output:

enter image description here

In the same way you can change the name, resource group to easily enable or disable other logic apps.

Upvotes: 0

Related Questions