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.
- Executing commands on OpsGenie alerts within Microsoft Teams.
- Forwarding OpsGenie alert actions to Microsoft Teams channels.
- Please create an OpsGenie account if you haven't done so already.
- Download OpsGenie's Microsoft Teams application package for US from here, for EU from here.
- In Microsoft Teams, click on Teams section from the left menu.
- Select the team that you want to connect with OpsGenie, and click on the
... button of that team and select Manage team.
- Open Bots tab (if Developer preview is active, open Apps tab instead.)
- 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.
- Select the package you've downloaded and click Open.
- Click Teams from the left menu.
- Select the channel to forward OpsGenie alert actions to, and click the ... button on that channel and select Connectors.
- Add OpsGenie connector.
- Click Visit site to install to be redirected to a page for connecting Microsoft Teams.
- Click Connect to Office 365 to be directed to OpsGenie Microsoft Teams integration page.
- The integration is automatically created. (If not logged into OpsGenie, please log in.) On this page, view the default configurations of the integration. If configuration is not changed, then there's no need to click on Save Integration since it is already saved.
- 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.
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.
- Go to the OpsGenie Microsoft Teams integration configuration page. Open the Integrations page and click on the integration that created for Microsoft Teams. Copy the API key on that page.
For Essentials plan, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.
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.
- Type @Genie for US, @GenieEU for EU and see that Microsoft Teams suggests the name of the bot. Select it and then type setup [YOUR_OPSGENIE_API_KEY] and hit enter.
- An "Integration configured successfully." message appears from our bot.
- Now start executing commands on OpsGenie alerts in the channel.
To use Genie from Chat
- Click on Chat section from the left menu.
- Click on New chat button (next to the Search bar).
- Paste 18de29f7-8984-43fa-b5e6-05294e1a12bd to the To field.
- See that our bot is suggested, and select it.
- Type commands to the bot now, e.g. help, list alerts or get tinyId
- "Require Matching a User" is used to force matching Microsoft Teams accounts with OpsGenie accounts.
- Associate your Microsoft Teams account to your OpsGenie account by using the @Genie connect for US, *@GenieEU connect for EU command.
- Chat user mapping flow: