Microsoft Teams V2 Integration

Microsoft Teams is a group chat software that is naturally integrated with the familiar Microsoft Office applications.


โ€‹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. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie's Microsoft Teams Integration page.
  3. Copy the setup command provided in the integration instructions.
  4. Download Opsgenie's Microsoft Teams application package for US from here, for EU from here.
  1. Click Save Integration.
  1. In Microsoft Teams, click on Teams section from the left menu.
  2. Select the team that you want to connect with Opsgenie, and click on the
    ... button of that team and select Manage team.
  1. Open Bots tab (if Developer preview is active, open Apps tab instead.)
  2. Click on Sideload a bot or tab (if Developer preview is active, click on Upload a custom app instead.)


If you do not see Sideload a bot or tab option, you must enable sideloading option from your Microsoft Office 365 settings. For more information see here.

  1. Select the package you've downloaded and click Open.
  2. Go to the channel of the team you want to receive Opsgenie alert action messages.
  3. Type @Genie and select the Genie bot as Microsoft Teams suggests.
  4. Paste the setup command you previously copied.
  5. Click Enter.
  6. You receive the "Integration configured successfully." response from the bot.
  1. From now on, you will receive the alert action messages you configured in the integration settings page within this channel.
  2. You can also use the bot commands without doing any further configuration within any channels of the team that you added the Genie bot.
  3. You can also setup the Genie bot to multiple teams in Microsoft Teams by repeating the steps above.
15541554 15381538 14841484 15401540 15241524

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.



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.


For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given above to add this integration.

  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 Genie bot was added.

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 @Genie connect command.
  3. Chat user mapping flow:
14321432 14201420 17281728

Did this page help you?