Docs » Send alert notifications to third-party 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 Observability Cloud alert notifications to Microsoft Teams, complete the following configuration tasks:

For troubleshooting information, see Troubleshooting Microsoft Teams.

Note that existing Office 365 integrations appear in 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 perform this task.

To get the webhook 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. Click More options (…) and then click Connectors.

  4. Find the Incoming Webhook connector. Click Add. If the connector has already been added to the channel, click Configure.

  5. Enter a descriptive name for the connector.

  6. Click Create. Microsoft Teams generates a webhook URL.

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

  8. Click Done.

Step 2: Create a Microsoft Teams integration in Observability Cloud 🔗

You must be an Observability Cloud administrator to perform this task.

To create a Microsoft Teams integration in Observability Cloud:

  1. In the Observability Cloud navigation menu, select Data Setup.

  2. In the CATEGORIES menu, select Notification Services.

  3. Click the Microsoft Teams tile.

  4. Click New Integration to display the configuration options.

  5. 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.

  6. 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 URL should look something like this: https://outlook.office.com/webhook/5ab8c38e-8b49-47fe-8134-4ff61715a23b@e06c3f21-566e-4e85-ad74-619dea7eef88/32a5e6c4-c9dd-4c12-89a8-34d2c496312f/aazzaazzaazzaazzaazzaazzaazzaazz/5c0bf566-05bc-4755-9f10-e3dbbb19a2b8.

  7. Click Save.

  8. If Observability Cloud is able to 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 Observability Cloud 🔗

To add a Microsoft Teams integration as a detector alert recipient in 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, click 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 Observability Cloud.

  4. Activate and save the detector.

Observability Cloud will send an alert notification to the Microsoft Teams channel when an alert is triggered by the detector and when the alert clears.

Troubleshoot your Microsoft Teams notification service integration 🔗

If the Microsoft Teams channel stops receiving notifications, consider the following troubleshooting tips:

  • Verify that the Microsoft Teams notification service integration in Observability Cloud still exists. To troubleshoot, perform the following steps. You must be an Observability Cloud administrator to perform these steps.

    1. In the Observability Cloud navigation menu, select Data Setup.

    2. In the CATEGORIES menu, select Notification Services.

    3. Click the Microsoft Teams tile.

    4. Find your integration and click to expand it.

    5. Click the Integrations menu and click Validate. If you see an error message, specifically Connector configuration not found, then the Incoming Webhook connector was removed from the Microsoft Teams channel and must be added back. To do this, see Step 2: Create a Microsoft Teams integration in Observability Cloud.

  • Verify that the Microsoft Teams notification service integration in Observability Cloud has not been changed to send alert notifications to a different Microsoft Teams channel.

  • Verify that the Microsoft Teams notification service integration is still the alert recipient on the detector in Observability Cloud.

  • Verify that the Observability Cloud detector’s alert rules have not changed, causing it to send alert notifications for different reasons.