How to Disable a Logic App from Another Logic App

Logic Apps is a part of Azure App Service, and it is basically used to automate the access and use of data across clouds without writing code. Azure Logic Apps enables customers to quickly build powerful integration solutions that connect applications and services on-premises and in the cloud. It provides a visual designer to model and automates your process as a series of steps known as a workflow. Logic Apps allow developers to design workflows. Logic Apps is a fully managed iPaaS (integration Platform as a Service) allowing developers not to have to worry about building hosting, scalability, availability, and management. Logic Apps will scale up automatically to meet demand. 

We could come across a scenario where our logic app triggers data factory pipeline run and we need to disable that logic app after failure of pipeline run. To stop recurrence, we can disable the logic app automatically and find error and fix that. 

Steps to disable one logic app automatically from another logic app 

  1. Graphical user interface, text, application, email

Description automatically generatedWe need to Select Azure Resource Manager Under Logic app we used to stop another logic app. Further in action we need to select invoke resource operation 
  1. For Authorization we could  
  • sign into Azure portal, 
  • Use Managed Identity 
  • Use Service principal 

             We have used sign into Azure portal for our setup 

  1. Graphical user interface, text, application, email

Description automatically generatedWe need to fill details accordingly depending on our resource group, subscription and resource provider   
  1. Now what we required is short resource id of Logic app we want to disable. We can get this info from properties section of logic app. We need to copy all data after Microsoft.Logic 
  1. To disable the Logic app under action we need to write disable and save it 
  1. Under Logic app history we can see that azure resource manager has disable demo logic app  

Page Break 

  1. Graphical user interface, text, application, email

Description automatically generated If we navigate to demo logic app, we could see that the logic app has been disabled and We have option to Enable it. 

 Aniket Ghodinde 

 Data Engineering 
Addend Analytics 

Addend Analytics is a Microsoft Gold Partner based in Mumbai, India, and a branch office in the U.S.

Addend has successfully implemented 100+ Microsoft Power BI and Business Central projects for 100+ clients across sectors like Financial Services, Banking, Insurance, Retail, Sales, Manufacturing, Real estate, Logistics, and Healthcare in countries like the US, Europe, Switzerland, and Australia.

Get a free consultation now by emailing us or contacting us.