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 Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...