Docs Menu
Docs Home
/
MongoDB Atlas
/ /

Integrate with Microsoft Teams

On this page

  • Required Access
  • Prerequisites
  • Procedure

You can integrate Atlas with Microsoft Teams to receive Atlas alerts in your Microsoft Teams channel.

To manage all organization alerts, you must have Organization Owner access to the organization.

The Organization Billing Admin role grants a limited authorization to manage billing alerts.

To manage project alerts, you must have Project Owner access to the project. Users with Organization Owner access must add themselves to the project as a Project Owner.

To integrate Atlas with Microsoft Teams and receive alerts in your Microsoft Teams channel, you must have a Microsoft Teams account.

To integrate Atlas with Microsoft Teams and receive alerts in your Microsoft Teams channel:

1
  1. Navigate to the Microsoft Teams channel where you want to add the webhook.

  2. Select from the top navigation bar. A dropdown menu of available options displays.

  3. Select Connectors from the dropdown menu. A modal with available connectors displays.

  4. Search for Incoming Webhook and select Add. A modal with information about the Incoming Webhook connector displays.

  5. Click Add.

  6. Click Configure. A modal displays.

  7. In the modal, enter a name for your webhook. Optionally, you can upload a unique image to help you identify your webhook.

  8. Click Create.

  9. Copy the incoming webhook URL.

    Important

    Atlas requires this URL to configure the integration.

  10. Click Done

2
  1. If it's not already displayed, select your desired organization from the Organizations menu in the navigation bar.

  2. Click the Organization Settings icon next to the Organizations menu.

    The Organization Settings page displays.

3

Click Alerts in the sidebar.

The Organization Alerts page displays.

4

To create a new alert:

  1. Click Add Alert.

To clone an existing alert setting:

  1. Click the Alert Settings tab.

  2. Locate the alert setting you want to clone.

  3. Click then Clone in that alert setting's row.

To update an existing alert setting:

  1. Click the Alert Settings tab.

  2. Locate the alert setting you want to update.

  3. Click then Edit in that alert setting's row.

5

Click User or Billing under Select a Target.

6

Under Select a Condition:

7
  1. Under the Add Notification Method heading, click the button for Microsoft Teams.

  2. Enter the incoming webhook URL in the provided text box.

  3. To test the integration, click Post Test Alert.

  4. Under Recurrence, set the recurrence conditions in the provided text boxes.

  5. Click Add.

1
  1. Navigate to the Microsoft Teams channel where you want to add the webhook.

  2. Select from the top navigation bar. A dropdown menu of available options displays.

  3. Select Connectors from the dropdown menu. A modal with available connectors displays.

  4. Search for Incoming Webhook and select Add. A modal with information about the Incoming Webhook connector displays.

  5. Click Add.

  6. Click Configure. A modal displays.

  7. In the modal, enter a name for your webhook. Optionally, you can upload a unique image to help you identify your webhook.

  8. Click Create.

  9. Copy the incoming webhook URL.

    Important

    Atlas requires this URL to configure the integration.

  10. Click Done

2
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. Next to the Projects menu, expand the Options menu, then click Integrations.

    The Project Integrations page displays.

3
  1. Search for Microsoft Teams and click Configure. A configuration modal displays.

  2. Enter the incoming webhook URL in the provided text box.

  3. To test the integration, click Test Integration.

  4. Click Activate.

4
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. Do one of the following steps:

    • Click the Project Alerts icon in the navigation bar.

    • Next to the Projects menu, expand the Options menu, click Project Settings, and click Alerts in the sidebar.

    The Project Alerts page displays.

5

To create a new alert without cloning an existing setting:

  1. Click Add.

  2. Select New Alert.

To clone an existing alert setting:

  1. Click the Alert Settings tab.

  2. Locate the alert setting you want to clone.

  3. Click then Clone in that alert setting's row.

To update an existing alert setting:

  1. Click the Alert Settings tab.

  2. Locate the alert setting you want to update.

  3. Click then Edit in that alert setting's row.

6

In the Alert if section, select the target component and the condition. To learn more about alert conditions, see Review Alert Conditions.

7

If the options in the For section are available, you can optionally filter the alert to apply only to a subset of the targets.

The matches field can use regular expressions.

8

In the Send to section:

  1. (Optional) To help reduce the false positives that Atlas sends, in the send if condition lasts at least field, specify the minutes to elapse before the condition sends the alert. The next alert check that runs after the specified time elapses sends the alert.

  2. (Optional) In the resend after field, specify the minutes to elapse before the condition resends the alert.

  3. Click Add and select Microsoft Teams

    The incoming webhook URL is automatically populated in the text box.

9

Back

Datadog