- 25 Nov 2021
- 2 Minutes to read
- Print
- DarkLight
- PDF
Logic Apps
- Updated on 25 Nov 2021
- 2 Minutes to read
- Print
- DarkLight
- PDF
Setting up Alerts for Logic Apps
You can execute the following steps to set up an alert for Azure Logic Apps:
- Log in to the BizTalk360 application
- Select the 'Environment'
- Click 'Monitoring' in the navigation panel
- Click the expand button against the 'Manage Mapping' tab and select the 'Azure Services' link
- Select the Alarm name (Manage Alarms) from the drop-down for which you would like to associate the alerts
- Choose the Azure subscription from the drop-down
- Select the 'Logic Apps' tab. This will list the Logic Apps that are created under the selected subscription
- Select the check box against the Logic App(s) you want to monitor
- From the 'Expected State' drop-down, choose the expected state of the Logic App in order to set up monitoring. Let's say, we expect the Logic App to be 'Enabled' at all time
Setting the expected state will automatically start monitoring the Logic App. BizTalk360 monitoring service will automatically compare the current state of the Logic App with the expected state and display the status (as Healthy or Error). If the expected state matches the current state, you will notice the status of the Logic App as Healthy (in green color). If there is a state mismatch, the status of the Logic App will be displayed as Error (in red color).
Auto Correct functionality
To auto correct the state of the Logic App, select the check box against the Logic App and click the 'Auto Correct' box. Select 'Enable' from the drop-down. If at any time the current status of the Logic App becomes Disabled (opposite of the expected status), the auto correct logic will start functioning and the BizTalk360 monitoring service will try to automatically enable the Logic App (based on the number of retries defined in the Max Retry section).
- In order to receive email notifications from BizTalk360 on the threshold violation alerts (and auto-correction alerts), you need to configure the SMTP settings under BizTalk360 Settings. Follow the steps in this article to be able to configure the SMTP settings in BizTalk360. You will receive an email notification with the exact details of the status of the Logic App with the auto-correction details (as shown in the email below)
- The Monitoring Dashboard will reflect the health of the Azure services as shown in the image below
How to Remove Orphaned Logic Apps
By chance when you rename or delete the Logic Apps that you are monitoring within an alarm will become Orphaned Logic Apps. Hence it will be shown as Orphaned in the User Interface and the status will become unhealthy.
To resolve this unhealthy alarm state, you can remove the Orphaned Logics Apps, by selecting the "Remove Orphaned" option.