Deploy Logic Apps to Multiple Environments
  • 18 Sep 2020
  • 1 Minute To Read
  • Contributors
  • Print
  • Comments
  • Share
  • Dark
    Light

Deploy Logic Apps to Multiple Environments

  • Print
  • Comments
  • Share
  • Dark
    Light

#ServerlessTips - Azure Logic Apps
Author: Steef-Jan Wiggers Azure MVP

There are various ways to author a Logic App. You can use the Azure Portal or IDE such as Visual Code or Studio. For these IDE’s you need to install an extension (VS 2019 or Visual Code) to have access to the designer, which you use in the Portal.

Once you authored your Logic App, you might want to push them to other environments. Moreover, you probably like to use Azure DevOps pipelines to deploy your Logic App to a test, acceptance, or production environment. In the Portal, you could choose your Logic App, and in the left pane under settings choose export template, and subsequently click Deploy. A new pane will appear, and now you can choose another subscription (in case you isolate each environment), resource group, and location. Furthermore, you can specify other settings for connectors and such.

The above process is a manual deployment of a Logic App to another environment. However, if you want to automate the deployment to other environments and dynamically set parameters, and so on, you will need a pipeline. Fortunately, Azure DevOps offers you the capabilities to automatically deploy to another environment. However, you will need to push your workflow definition of your Logic App into a repro in Azure DevOps before a pipeline can automatically deploy it to other environments.

Logic App Tip 1 - Deploy Logic Apps to multiple environments Picture 1

To have your workflow definition pushed into a DevOps repro, you can either download the template – or even better use an IDE like Visual Code or Studio to download the Logic App workflow definition (using Cloud Explorer). Subsequently, you can optimize the template by adding parameters and then push it to a repro. Alternatively, you first author your Logic App in a designer in Visual Code or Studio and then push the workflow definition to a repro.

Was This Article Helpful?