How to post an alarm to an MS Teams Group
One option is to use the NAS Auto Operator, Command, the command line string which allows you to pass custom (different Webhook URI's) with the required NAS variables like "$nimid" "$hostname" "$source" "$message" and "$level".
The backend command script is written in PowerShell.
The same method can be used for OpsGenie and Slack.
NAS Auto Operator profile with escalation conditions.
Create an Incoming Webhook - Teams | Microsoft Learn
Powershell script stub is attached to this KB Article along with NAS Auto Operator configuration screenshots.