In light of a recent announcement from Microsoft indicating they will deprecate Office 365 Connectors for Workflows, I wanted to update my previous blog on how to send Aria Operations Alerts to Microsoft Teams. Rather than using Connectors, we'll use these new Workflows.
Log into Teams, go to your Team/Channel that you want Alerts to post in, select the three dots and select Workflows.
Select the Post to a channel when a webhook request is received.
Give your Workflow a name.
Click Next and select the Team and Channel you want to post to.
Click Add workflow, which will generate your Workflow and associated URL to send your POST calls to.
We will now use this URL in Aria Operations. Let's create a Webhook Notification Plugin with that URL.
Next let's test it via a Notification Rule I already have in place.
As you can see I'm using this new Outbound Plugin for Teams and the existing Team Template, which is using Adaptive Cards, and it tests successful. Back in Teams, I now have my Alert.
Which indicates it was sent via Workflow, ultimately by sending a Webhook to the Workflow URL from Aria Operations.
Tried this, but I receive an error "Notification rule test failed with the following code: 400". When looking at the teams workflow, it says you need to do a POST to the URL. But when doing in Aria on step 5 of the wizard, when I perform a test, it says: URI / Method: PUT. Aria 8.16.0 (23251571)