Production grade Azure Logic App deployment using ARM templates: A comprehensive guide

Savindi Wijenayaka
11 min readNov 30, 2021
Photo by Tim Graf on Unsplash

Kia Ora Techies! I recently worked on an Azure based solution which included a Logic App that communicates with few other Azure services. Developing the Logic App in the portal and integrating it with other Azure services using API connections was a pretty straight forward task. But the real challenge comes when we do this in production, where we have to put forth lots of measures with respect to security, CI/CD and deploying to multiple environments. So in today’s article, I am going to discuss how we did it and what are the hurdles we encountered.

Content lineup:

  1. Usecase we are tackling
  2. Creating the Logic App in the Portal
  3. Exporting ARM templates
  4. Parameterizing ARM templates
  5. ARM templates for API connection authorized with Service Principal
  6. ARM templates for API connection authorized with connection strings
  7. Putting together all resources
  8. Validating the ARM template
  9. CI/CD with ARM templates
  10. Final thoughts

Lets dive right in!

1. Usecase we are tackling

--

--

Savindi Wijenayaka

Ph.D candidate at University of Auckland. Software Engineer passionate about using Machine learning to revolutionize healthcare.