Book Image

Enterprise Integration with Azure Logic Apps

By : Matthew Bennett
Book Image

Enterprise Integration with Azure Logic Apps

By: Matthew Bennett

Overview of this book

Logic Apps are a visual flowchart-like representation of common programming actions, and are a flexible way to create logic without writing a single line of code. Enterprise Integration with Azure Logic Apps is a comprehensive introduction for anyone new to Logic Apps which will boost your learning skills and allow you to create rich, complex, structured, and reusable logic with instant results. You'll begin by discovering how to navigate the Azure portal and understand how your objects can be zoned to a specific environment by using resource groups. Complete with hands-on tutorials, projects, and self-assessment questions, this easy-to-follow guide will teach you the benefits and foundations of Logic App logic design. As you advance, you'll find out how to manage your Azure environment in relation to Logic Apps and how to create elegant and reliable Logic Apps. With useful and practical explanations of how to get the most out of Logic App actions and triggers, you'll be able to ensure that your Logic Apps work efficiently and provide seamless integration for real-world scenarios without having to write code. By the end of this Logic Apps book, you'll be able to create complex and powerful Logic Apps within minutes, integrating large amounts of data on demand, enhancing your systems, and linking applications to improve user experience.
Table of Contents (17 chapters)
1
Section 1: Logic App Fundamentals
7
Section 2: Logic App Design
13
Section 3: Logic App Maintenance and Management

Working with Azure PowerShell for bulk operations

Azure PowerShell is a complex and involved topic – in fact, it is a whole book in itself! What I wanted to do here, however, is to introduce to you one very useful command I use when I want to enable or disable every logic app in my resource group at the same time. I currently manage over 80 logic apps in some resource groups, so to do this manually means that the process is prone to error – I might miss one accidentally.

Exercise – enabling/disabling all logic apps in a resource group

Let's start with the code, then I will explain how it works:

1. param([string] $subscriptioname, [string] $resourcegroup, [string]$state)
2. Connect-AzureRmAccount
3. Get-AzureRmSubscription -SubscriptionName Visual Studio Enterprise Subscription | Select-AzureRmSubscription
4. Find-AzureRmResource -ResourceType "microsoft.Logic/workflows" -ResourceGroupNameContains " MatthewTestRG" | ForEach-Object...