# Integrating ManageEngine OpManager with Microsoft Teams [![Integrating OpManager with Microsoft Teams: Video](https://www.manageengine.com/products/oputils/images/video_icn.png)](https://www.youtube-nocookie.com/embed/nw099Dl2lD8) ![Integrating OpManager with Microsoft Teams: Third party integrations list](https://www.manageengine.com/network-monitoring/help/images/msteams-1.png) Microsoft Teams is a collaborative business tool that brings users together and enables them to communicate via texts, audio conferencing, and video conferencing. By integrating OpManager with Microsoft Teams, users can now receive alerts directly to the concerned channel. To have a standalone OpManager - Microsoft Teams integration, users have to follow the below steps: - [Configuring OAuth provider settings](#azure) - [Configuring Microsoft Teams settings](#settings) - [Configuring Notification profile](#notifications) 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. **NOTE:** The logged-in user must have the **Global administrator** role in the Microsoft Azure portal to configure the integration. The user must also have **Microsoft 365 E5 Developer** and **Microsoft Power Automate Free** licenses assigned via **Microsoft 365 Admin Center.** ## 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. ![Integrating OpManager with Microsoft Teams: Azure active directory in Azure portal post login](https://www.manageengine.com/network-monitoring/help/images/TeamsIntegration1.png) 2. Click on **App registration**, then select **New registration**. ![Integrating OpManager with Microsoft Teams: New registration under app registration](https://www.manageengine.com/network-monitoring/help/images/TeamsIntegration2.png) 3. Enter the application name as OpManager and select **Multi tenant** (Any Microsoft Entra ID tenant and personal Microsoft accounts) under **Supported account types** field. Under redirect URL, select **Web** from the dropdown, and enter a valid **Redirect URL**. ![Integrating OpManager with Microsoft Teams: Application registration](https://www.manageengine.com/network-monitoring/help/images/ms-integration.png) 4. You can copy the **redirect URL from OpManager** while adding OAuth provider. ![Integrating OpManager with Microsoft Teams: Add OAuth provider](https://www.manageengine.com/network-monitoring/help/images/ms-teamss.png) 5. Click register, and the new application will be created successfully. - Under the **API permissions** tab, grant the required permissions for integration. The required permissions for integration are as follows: | Permission | Description | |---|---| | Channel.ReadBasic.All | To fetch the channels list | | Team.ReadBasic.All | To fetch the teams list | | ChannelMessage.Send | To send messages to channels | ![Integrating OpManager with Microsoft Teams: Microsoft graph under API permissions](https://www.manageengine.com/network-monitoring/help/images/TeamsIntegration4.png) ![Integrating OpManager with Microsoft Teams: List of designated permissions](https://www.manageengine.com/network-monitoring/help/images/TeamsIntegration5.png) - Under the **Certificates and Secrets** tab, create a new Client secret for OpManager. Copy the **Value**, which will disappear after a few moments. **Note:** The **Value** is the client secret. ![Integrating OpManager with Microsoft Teams: New client secret under certificates and secrets](https://www.manageengine.com/network-monitoring/help/images/TeamsIntegration6.png) - Under the **Overview** tab, Application (client) ID and client secret will be displayed. ![Integrating OpManager with Microsoft Teams: Application ID](https://www.manageengine.com/network-monitoring/help/images/TeamsIntegration7.png) ## Configuring Microsoft Teams settings: - Navigate to **Settings -> General Settings -> Integrations**. - Click on the **Configure** icon found at the bottom right corner of the **Microsoft Teams** section. ![Integrating OpManager with Microsoft Teams: Microsoft teams configuration under third party sites in OpManager](https://www.manageengine.com/network-monitoring/help/images/msteams-1.png) - Click on the **Add OAuth Provider** button and configure the OAuth provider settings. - Kindly note that the **Add OAuth Provider** button will be displayed only when the OAuth Provider details have not been configured. If the details have been configured already, users will be displayed a list of all the OAuth providers that have already been configured. They can later choose one from them. - The **Scope** field will be prefilled as defined by the API permissions selected in [Step 5](#api). Paste the client ID and Secret copied from the Azure portal, and click on the **Save and Configure channels** option. Note that the redirect URL should be configured in MS Teams while creating the app. ![Integrating OpManager with Microsoft Teams: Add OAuth provider](https://www.manageengine.com/network-monitoring/help/images/msteams-2.png) - Under the **Teams** dropdown box found at the top left of the page, select the particular team and then click on the **Fetch Channels** option. This will list all the public and private channels available within the selected team. - Select the desired channels. The selected channels will be displayed below under the **Selected Channels** header. - Click on **Save**. ![Integrating OpManager with Microsoft Teams: Select desired teams channels](https://www.manageengine.com/network-monitoring/help/images/msteams-3.png) ## Configuring Notifications - Navigate to **Settings -> Notifications -> Add Profile**. - Select the **Chat** option. - Select the **Microsoft Teams** tab. - Select the desired team and channel. In case a specific channel is not available in the drop down, configure them under the Integrations page. - Fill the values for the required fields and click on **Next**. - [Click here](https://www.manageengine.com/network-monitoring/help/configuring-notifications.html#criteria-notifications) to learn more about configuring notification profiles. ![Integrating OpManager with Microsoft Teams: Configuring notification profiles](https://www.manageengine.com/network-monitoring/help/images/msteams-4.PNG) OpManager - Microsoft Teams integration is now successful. All the alerts that satisfy the mentioned Notification profile criteria will be sent to the concerned channel at the earliest. To know more about how to leverage the OpManager - Microsoft Teams integration to the fullest, kindly [click here](https://www.manageengine.com/network-monitoring/opmanager-msteams-integration.html). To know more about OpManager's integration capabilities, [click here](https://www.manageengine.com/network-monitoring/integration.html).