Azure Logic Apps has become one of the most important part of any business workflow. Given the move to a serverless infrastructure, most of the integration solutions built using Azure technologies make use of Azure Logic Apps to extend their business workflow and process the data. It also gets easier with Azure to stick to a Pay-As-You-Go pricing model. With ServiceBus360 Users can manage and monitor their Logic Apps easily.
Authorize Azure Service Principal
ServiceBus360 makes use of Service Principal object that is created when an Azure AD application is registered in the Azure Portal. The Service Principal object defines the policy and permissions required to use an application within a specific tenant. In order to associate an authorized Service Principal with ServiceBus360, the following values are required.
- Azure Subscription Id
- Azure Tenant Id
- Active Directory Application’s Client Id
- Active Directory Application’s Client Secret
You need to follow the steps in this article to authorize the Azure Service Principal.
Associate Service Principal
Once you have authorized the Service Principal in Azure Portal, you need to associate the Service Principal within ServiceBus360.
- Log in to ServiceBus360 Portal
- On the Home Dashboard, click Associate Service Principal under the Logic Apps widget. Alternatively, you can click the Settings icon found on the upper right-hand corner of the ServiceBus360 portal, select Service Principals from the left menu, and click Associate Service Principal.
- In the blade menu, enter a friendly name for the service principal, paste the subscription id, tenant id, client id and the client secret key that you copied from the previous step.
- Click OK to save the Service Principal
- The Associated Service Principals section will list the newly added Service Principal
Logic Apps Management
Once you have associated the Service Principal, on the Home Dashboard, you will notice that Associate Service Principal under Logic Apps widget will now be changed to Manage Logic Apps. With the ServiceBus360 Free Plan, users can configure up to 10 Logic Apps.
- Click Manage Logic Apps on the Home Dashboard to start associating the Logic Apps that you wish to manage and monitor using ServiceBus360
- The Associate Logic Apps blade will list the Logic Apps that are under your Azure Subscription. Select the Logic Apps that you wish to associate into ServiceBus360.
- Click Save to save the association. You will see the list of Logic Apps that you selected in the previous step listed in the page.
- Now that you have associated your Logic Apps with ServiceBus360, you can start managing the Logic Apps. The different operations that you can perform on Logic Apps are -
- Enable/Disable the Logic App - Select the checkbox to select the Logic App that you want to enable/disable
- Run Trigger - Click Run Trigger to run the trigger in your Logic App
- Associate/Dissociate - Click the button if you wish to associate/disassociate your Logic App into/from ServiceBus360
Properties - Click the ellipsis icon and choose Properties from the list to view the detailed Logic Apps properties
Logic Apps Monitoring (State Based)
With ServiceBus360, you can monitor the state of your Logic App and get notified whenever there is a violation between the current state and the expected state. The major prerequisite to monitor the Logic App is to create an Alarm. Once you have created an alarm,
- Click Monitor Logic App (computer icon) against the Logic App that you wish to monitor using ServiceBus360
- Select the alarm from the drop down that you wish to associate the Logic App
- Click Edit. Toggle the Enable Monitoring button to the enabled state to start monitoring the Logic App. You can set the expected state to be one of the following: NotSpecified, Completed, Enabled, Disabled, Deleted, Suspended.
- Click Save to save the monitoring configuration
- If you wish to stop monitoring the Logic App, click the Do Not Monitor button. Click Continue in the confirmation message dialog box which will turn off monitoring for the Logic App. Please note that turning off monitoring for the Logic App will automatically remove all configuration from the alarm.
- Select Monitoring Dashboard from the left menu. Select the alarm from the drop down that you selected previously to configure monitoring for the Logic App. You will see the Logic App that is being monitored and the details of number of Warnings and Errors.
Logic Apps Data Monitoring (Metric Based)
In addition to monitoring the state of Logic Apps, ServiceBus360 offers advanced capabilities for users to perform metrics monitoring capabilities. We refer to this as “Data Monitoring of Azure Logic Apps“. With the Data Monitoring capability, you can monitor the Logic App based on the different available metrics (time based or count based). There are -
- 7 different metrics under the time based metrics
- 23 different metrics under the count based metrics
To configure data monitoring for Azure Logic Apps, we recommend you to read this detailed blog article.