All Apps and Add-ons

Cannot publish Splunk alert in MS Teams with TA-ms-teams-alert-action

justynap_ldz
Path Finder

Hello Community,

We are configuring TA-ms-teams-alert-action to let the customer publish Splunk alerts in their MS Teams channel. The alert config is as follows:

justynap_ldz_0-1670850553873.png

When we try opening Webhook URL in browser for testing it says:  Invalid webhook request - GET not supported

While debugging TA-ms-teams-alert-action the logs say:

2022-12-12 13:17:05,698 DEBUG pid=106480 tid=MainThread file=cim_actions.py:message:292 | sendmodaction - signature="json data for final rest call:={
    "@type": "MessageCard",
    "@context": "http://schema.org/extensions",
    "themeColor": "0076D7",
    "summary": "Alert",
    "sections": [
        {
            "activityTitle": "Alert",
            "activitySubtitle": "",
            "activityImage": "https://myimage.png",
            "facts": [
                {
                    "name": "host",
                    "value": "hostname1"
                },
                {
                    "name": "sourcetype",
                    "value": "splunkd"
                }
            ],
            "markdown": false
        }
    ],
    "potentialAction": [
        {
            "@type": "OpenUri",
            "name": "View in Splunk",
            "targets": [
                {
                    "os": "default",
                    "uri": "https://splunk.mydomain.com/app/TA-ms-teams-alert-action/@go?sid=scheduler__username123_1233456"
                }
            ]
        }
    ]
}" action_name="ms_teams_publish_to_channel" search_name="test_alert" sid="scheduler__2username123_1233456" rid="0" app="TA-ms-teams-alert-action" user="username123" action_mode="saved"

Does anyone know how to troubleshoot this case?

Best regards,
Justyna

0 Karma

guilmxm
Influencer
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...