• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Microsoft Teams V2

Microsoft Teams logo

Watch this video: Integrating Opsgenie and Microsoft Teams

What does Opsgenie offer to Microsoft Teams users?

Opsgenie has a powerful integration with Microsoft Teams. Our integration allows Microsoft Teams users to execute actions on Opsgenie alerts within Microsoft Teams such as acknowledge, close, snooze, etc. List your alerts, integrations, policies, and more. Messages are sent to Microsoft Teams channel when an action is executed on Opsgenie alerts. The integration also supports taking actions on the Opsgenie alerts via the action buttons on the cards.

Functionality of the Integration

  • Executing commands on Opsgenie alerts within Microsoft Teams.

  • Forwarding Opsgenie alert actions to Microsoft Teams channels.

  • Taking actions on Opsgenie alerts within Microsoft Teams via action buttons.

  1. Go to Opsgenie's Microsoft Teams Integration page.

  2. Copy the setup command provided in the integration instructions.

  3. If you are in the US instance, instead of downloading the application package, you can directly add the Opsgenie app from the Microsoft Teams Marketplace.
    If you are in the EU instance, download Opsgenie’s Microsoft Teams application package for EU from here.

Microsoft Teams integration

4. Click Save Integration.

Microsoft Teams to Opsgenie

5. In Microsoft Teams, click on Apps section from the left menu.

6. Find Opsgenie App from the menu.

Microsoft Teams find app

7. Click on Add to team button.

Microsoft Teams add Opsgenie app

8. Select a channel/team to setup.

Microsoft Teams select a channel

9. The setup will be completed.

Microsoft Teams setup complete

10. Paste the setup command you previously copied.

11. Click Enter.

12. You receive the "Integration configured successfully." response from the bot.

Microsoft Teams integration configured

13. From now on, you will receive the alert action messages you configured in the integration settings page within this channel.

14. You can also use the bot commands without doing any further configuration within any channels of the team that you added the Opsgenie bot.

15. You can also set up the Opsgenie bot to multiple teams in Microsoft Teams by repeating the steps above.

Microsoft Teams multi teams bot
Microsoft Teams multi teams bot
Microsoft Teams multi teams bot

 

Action Mapping Feature

  • Opsgenie allows customers to choose which alert actions to be forwarded to Microsoft Teams.

  • By default, create, acknowledge, unacknowledge, close, add note and assign ownership actions are forwarded to Microsoft Teams.

  • Add more actions or remove the actions that don't need to be forwarded.

  • Forwarding Create action is mandatory.

Using Opsgenie’s Microsoft Teams Bot

Please make sure to verify your Opsgenie account. If your account is not verified you cannot use the Microsoft Teams Bot and the Bot does not respond any of the commands that you send.

Opsgenie Integration list

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

An alternative for this step is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

  1. Make sure the Execute commands option is enabled in the integration settings page.

  2. You can use the bot commands without further configuration from the channels of the team that the Opsgenie bot was added.

Teams to Opsgenie

Chat User Mapping

  1. Require Matching a User is used to force matching Microsoft Teams accounts with Opsgenie accounts.

  2. Associate your Microsoft Teams account to your Opsgenie account by using the @Opsgenie connect command.

  3. Chat user mapping flow:

Chat user mapping
Connection success
Last modified on Jan 27, 2021
Cached at 11:13 PM on Apr 20, 2021 |

Additional Help

Ask the Community