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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...