Integrating Microsoft Teams with OpManager

Microsoft Teams is a personal/workplace communication and collaboration platform that helps you stay connected over chat, calls, and video meetings. Using webhook, you can now integrate Microsoft Teams with OpManager. Upon integration, you can receive real time alerts on network faults right in your team channel.

Supported Version: OpManager 12.5.192 & above

Step 1: Configuring MS Teams

  1. Open the required Microsoft Teams channel to which OpManager alert has to be communicated.
  2. Click on More options next to the channel name and then choose Connectors.
  3. Select Incoming Webhook from the list of options displayed.
  4. In the new window, provide a name for the webhook and click on Create.
  5. Copy the webhook URL generated by MS Teams.

Step 2: Configuring OpManager

  1. In OpManager webclient, go to Settings > Notifications > Add Profile.
  2. Choose Invoke a Webhook.
  3. After selecting HTTP Method POST, paste the webhook URL generated by Microsoft Teams.
  4. Choose raw as the Data Type and JSON as the Payload Type.
  5. Under the field Body Content, add the text in the following JSON format: 
    1. {"text": "
      $displayName
      $message"
      }

  6. Add the required alert variables (IP Address, Source of the alarm, etc.,) within the curly braces.

     

  7. Click on Next.
  8. Select the criteria, filter the devices, and choose your Time Window for which the alerts need to be communicated to MS Teams channel.
  9. Finally, provide a name for the webhook notification, and click on Save.