Sending Aria Operations Alerts to Microsoft Teams Using Workflows
In a recent announcement, Microsoft indicated that they will be deprecating Office 365 Connectors for Workflows. As a result, I have updated my previous blog on how to send Aria Operations Alerts to Microsoft Teams. Instead of using Connectors, we will use new Workflows to achieve this integration.
To set up the integration, log into Microsoft Teams and go to your desired Team or Channel. Select the three dots and choose Workflows from the menu. In the Workflows window, select Post to a channel when a webhook request is received. Give your Workflow a name and click Next. Then, select the Team and Channel you want to post to and click Add workflow. This will generate your Workflow and provide you with the associated URL to send your POST calls to.
Once you have the URL, you can create a Webhook Notification Plugin in Aria Operations. To do this, follow these steps:
1. Navigate to the Notifications section of your Aria Operations instance.
2. Click on the New Notification button and select Webhook as the notification type.
3. In the Webhook details section, enter a name for your plugin and provide the URL you generated in Microsoft Teams.
4. Configure any additional settings or properties as needed.
5. Save your plugin to complete the setup.
Now that you have set up the Webhook Notification Plugin in Aria Operations, let’s test it by creating a new Notification Rule. In the Notifications section of your Aria Operations instance, click on the New Notification button and select the appropriate notification type for your use case. For example, I will be using an Adaptive Card to display the alert information.
Next, configure the notification rule settings as needed, such as specifying the team and channel in Microsoft Teams where you want the alert to be posted. When you have finished configuring the rule, save it to complete the setup.
To test the integration, I will now send a notification from Aria Operations to Microsoft Teams using the Webhook URL. In the Notifications section of your Aria Operations instance, click on the Send Notification button and select the appropriate notification rule. Then, select the Send button to send the notification to Microsoft Teams.
If everything is set up correctly, you should see the alert posted in the designated team and channel in Microsoft Teams. As shown in the screenshot below, the alert indicates that it was sent via Workflow, ultimately by sending a Webhook to the Workflow URL from Aria Operations.
In conclusion, this updated guide shows how to send Aria Operations Alerts to Microsoft Teams using Workflows and Webhooks. By following these steps, you can integrate your Aria Operations instance with Microsoft Teams and streamline your alerting and notification processes.