Create a Template for Microsoft Teams
To send an HTTP request action to Microsoft Teams, you must create a template in Splunk AppDynamics. When Splunk AppDynamics triggers an action in response to an event, you can view the details of the action in your Microsoft Teams channel.
Before You Begin
- Create a channel in your Microsoft Teams and provide an appropriate name. For example,
Splunk AppDynamics Alerts
. This channel is used to receive alerts from Splunk AppDynamics. See Microsoft Teams documentation. - Create an incoming webhook to the channel that you have created in your Microsoft Teams. See Microsoft Teams documentation.
- Copy the webhook URL from Microsoft Teams and keep it securely for later use. Splunk AppDynamics uses this URL to send the alerts to Microsoft Teams.
Create a Template
- In the menu bar, click Alert & Respond.
- Click HTTP Request Templates.
- Enter a name for the template. For example, Send alerts to Microsoft Teams .
- In the Request URL section:
- Select POST as Method.
- Enter the webhook URL in the Raw URLfield.
- Select UTF-8 as URL Encoding.
- In the Authentication section, select NONE as Type. If you want to enable mutual TLS authentication, select Also Turn on Mutual TLS. For more information about mutual TLS, see Configure and Enable Mutual TLS Authentication.
- In the Payload section:
- In the Settings section, select the One Request Per Event option.
- Click Save.