Docs » Send alert notifications to services using Splunk Observability Cloud » Send alert notifications to Microsoft Teams using Splunk Observability Cloud

Send alert notifications to Microsoft Teams using Splunk Observability Cloud đź”—

You can configure Splunk Observability Cloud to automatically send alert notifications to a Microsoft Teams channel when a detector alert condition is met and when the alert clears.

To send Splunk Observability Cloud alert notifications to Microsoft Teams, complete the following configuration tasks:

Existing Office 365 integrations appear in Splunk Observability Cloud within the Microsoft Teams tile.

Step 1: Get the webhook URL for the Microsoft Team channel đź”—

You must be an owner or administrator of the Microsoft Team to complete this task.

To get the webhook POST URL for the Microsoft Team channel:

  1. Log in to Microsoft Teams and navigate to the list of teams.

  2. Select the team that contains the channel you want to send alert notifications to. Expand the list of channels.

  3. Find and hover over the channel you want to send alert notifications to. Select More options (…) and then select Workflows.

  4. Find and select the Post to a channel when a webhook request is received template.

  5. Enter a descriptive name for the workflow.

  6. Select Next.

  7. Add a team and channel for your workflow.

  8. Select Add workflow. Microsoft Teams generates a URL to make a POST request to.

  9. Select the Copy to Clipboard icon to copy the webhook URL for use in Step 2: Create a Microsoft Teams integration in Splunk Observability Cloud.

  10. Select Done.

Step 2: Create a Microsoft Teams integration in Splunk Observability Cloud đź”—

You must be a Splunk Observability Cloud administrator to complete this task.

To create a Microsoft Teams integration in Splunk Observability Cloud:

  1. Log in to Splunk Observability Cloud.

  2. Open the Microsoft Teams guided setup . Optionally, you can navigate to the guided setup on your own:

    1. In the left navigation menu, select Data Management.

    2. Go to the Available integrations tab, or select Add Integration in the Deployed integrations tab.

    3. In the integration filter menu, select All.

    4. In the Search field, search for Microsoft Teams, and select it.

    5. Select New Integration to display the configuration options.

  3. By default, the name of the integration is Microsoft Teams. Give your integration a unique and descriptive name. For information about the downstream use of this name, see About naming your integrations.

  4. In the Webhook URL field, paste the webhook URL you copied in Step 1: Get the webhook URL for the Microsoft Team channel. The webhook POST URL looks similar to this: https://<region>.logic.azure.com:<port>/workflows/<workflowId>/triggers/manual/paths/invoke?<apiVersion>&<signature>.

  5. Save.

  6. If Splunk Observability Cloud can validate the Microsoft Teams webhook URL, a Validated! success message displays. If an error displays instead, make sure that the webhook URL value you entered matches the value displayed in Microsoft Teams in Step 1: Get the webhook URL for the Microsoft Team channel.

Step 3: Add a Microsoft Teams integration as a detector alert recipient in Splunk Observability Cloud đź”—

To add a Microsoft Teams integration as a detector alert recipient in Splunk Observability Cloud:

  1. Create or edit a detector that you want to configure to send alert notifications using your Microsoft Teams integration.

    For more information about working with detectors, see Create detectors to trigger alerts and Subscribe to alerts using the Detector menu.

  2. In the Alert recipients step, select Add Recipient.

  3. Select Microsoft Teams and then select the name of the Microsoft Teams integration you want to use to sends alert notifications. This is the integration name you created in Step 2: Create a Microsoft Teams integration in Splunk Observability Cloud.

  4. Activate and save the detector.

Splunk Observability Cloud sends an alert notification to the Microsoft Teams channel when the detector triggers an alert and when the alert clears.

Update existing Microsoft Teams integration configurations for Office 365 connectors retirement đź”—

Caution

Office 365 connectors in Microsoft Teams will be retired. To see the latest update on the retirement date, search for “Retirement of Office 365 connectors within Microsoft Teams” in Microsoft Dev Blogs.

To continue using the Microsoft Teams integration in Splunk Observability Cloud without any interruption, follow these steps:

  1. Transition from Office 365 connectors to Workflows:

    1. Log in to Microsoft Teams and navigate to the list of teams.

    2. Select the team that contains the channel you want to send alert notifications to. Expand the list of channels.

    3. Find and hover over the channel you want to send alert notifications to. Select More options (…) and then select Workflows.

    4. Find and select the Post to a channel when a webhook request is received template.

    5. Enter a descriptive name for the workflow.

    6. Add a team and channel for your workflow.

    7. Select Add workflow. Microsoft Teams generates a URL to make a POST request to.

    8. Select the Copy to Clipboard icon to copy the webhook POST URL.

    9. Select Done.

  2. Edit existing Microsoft Teams integration configurations in Splunk Observability Cloud:

    1. From the Splunk Observability Cloud home page, go to the Data Management page.

    2. Find the Microsoft Teams connection you want to edit.

    3. In the Webhook URL field, replace the existing URL with the webhook POST URL you copied from the Microsoft Teams Workflows app.

    4. Select Save.

This page was last updated on Nov 21, 2024.