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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...