Restore the Opsgenie Microsoft Teams V2 integration

Microsoft Teams logo

If Opsgenie alerts have stopped reaching Microsoft Teams, use this guide to restore the integration.

Before you begin:

  • Identify every team and channel configured with the Microsoft Teams V2 integration (MSTeamsIntegrationV2).

  • Ensure you have permission to install or update Teams apps and add them to channels.

Step 1: Identify the bots you’ve installed in Microsoft Teams

Use this procedure to identify the bots:

  1. In Microsoft Teams, select Apps, then select Manage your apps.

  2. Look for the following app names:

App name

Next step

Only Opsgenie

Go to step 2A

Only OpsgenieEU

Go to step 2B

Both Opsgenie and OpsgenieEU

Complete step 2A, then step 2B

Step 2A: Update the Opsgenie app through the Teams marketplace

Use this procedure if your bot is named Opsgenie and is managed through the Teams app store.

  1. In Microsoft Teams, select Apps.

  2. Search for Opsgenie.

  3. Select Update if it is available, then confirm the update and wait for the installation to finish.

  4. Open a channel configured with the Microsoft Teams V2 integration.

  5. Type @Opsgenie help and confirm the bot responds.

  6. Wait 2–3 minutes for Teams to activate the updated bot in other configured channels.

  7. Check other configured channels. If the bot is not active, type @Opsgenie help in that channel to trigger it.

  8. (Optional) Send a test alert from Opsgenie to confirm delivery.

If you also have OpsgenieEU installed, updating the marketplace app doesn’t update OpsgenieEU. You must also complete Step 2B.

Step 2B: Install the OpsgenieEU custom app

Use this procedure if your bot is named OpsgenieEU and is managed as a custom-uploaded app. You only need to upload the ZIP file once, but you must add the app to each affected channel individually.

  1. Download the new ZIP file: https://github.com/opsgenie/opsgenie-integration/raw/master/msteamsv2/opsgenie-eu-msteamsv2.zip.

  2. In Microsoft Teams, select Apps, then select Manage your apps.

  3. Select Delete on the existing OpsgenieEU app to prevent duplicate bot names.

  4. Select Upload an app, then select Upload a custom app.

  5. Select the downloaded ZIP file and select Add.

  6. Search for a channel configured with the Microsoft Teams V2 integration and select Go.

  7. For all other configured channels, return to Manage your apps, select the OpsgenieEU app, search for the channel, then select Go.

  8. In a configured channel, type @OpsgenieEU help and confirm the bot responds.

  9. (Optional) Send a test alert from Opsgenie to confirm delivery.

You only need to upload the ZIP file once, but you must add the app to each affected channel individually.

Troubleshooting

If the integration still does not work and you see a BotDisabledByAdmin error:

  1. Ask a Microsoft Teams administrator to allow the new app under Teams apps then Manage apps and in the active permission policies.

  2. If setup policies installed or pinned the old app, add the new app to those policies.

Microsoft may take up to 24 hours to apply these policy changes.

 

Still need help?

The Atlassian Community is here for you.