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. You can now integrate MS Teams with OpManager. After integrating, you will receive real time alerts regarding any network issues in your team channel.

To integrate Microsoft teams with OpManager, you should create an application in their Azure portal with the required details and permissions. After integration, the graph APIs will be called to post messages on your Microsoft Teams channel.

To integrate OpManager with MS Teams via webhook, click here.

Steps to create an application in Azure portal:

  1. Login to your Azure account. Expand the menu on the left hand side, and select Azure Active Directory.
  2. ManageEngine OpManager - Microsoft Teams integration
  3. Click on App registration, then select New registration.
  4. ManageEngine OpManager - Microsoft Teams integration
  5. Enter the application name as OpManager and enter a valid Redirect URL.
  6. ManageEngine OpManager - Microsoft Teams integration
  7. Under the API permissions tab, grant the required permissions for integration. The required permissions for integration are as follows:
  8. Channels.ReadBasic.All To fetch the channels list
    Teams.ReadBasic.All To fetch the teams list
    ChannelMessage.Send To send messages to channels
    ManageEngine OpManager - Microsoft Teams integration
    ManageEngine OpManager - Microsoft Teams integration
  9. Under the Certificates and Secrets tab, create a new Client secret for OpManager.
  10. ManageEngine OpManager - Microsoft Teams integration
  11. The new application is created successfully.
  12. Under the Overview tab, Directory (tenant) ID, Application (client) ID and client secret will be displayed.
  13. ManageEngine OpManager - Microsoft Teams integration

Steps to integrate OpManager with Microsoft Teams using Webhooks:

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.

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.