Microsoft Teams Integration
Admin Privileges
You will need to be a Microsoft Teams Administrator to perform some of the required steps.
Allow Third-Party Apps
Before you can create and install a custom Microsoft App, you will need to allow third party apps to be installed.
- Visit the Teams admin page
- Click the "Org-wide app settings" in the upper right hand corner
- Enable all the settings on the page as shown below
Create the Sentry App
Now you will need to create a Microsoft Teams app for the Sentry integration.
- Visit your Microsoft Teams page
- Install the "App Studio" app from the Teams Store
- Go to App Studio
- Click on the "Manifest Editor" tab
- Press "Crete new app"
Fill out Manifest
- Fill out the form on the "App details page" (put whatever you want, it doesn't impact functionality)
- Click on the "Bots" tab on the sidebar
- Press "Set up"
- Fill out the form as shown below
- Press "Generate new password"
- Store the password somewhere as it will be used as the
msteams.client-secret
later - Take note of the ID of your bot as shown below as that will be used the
msteams.client-id
later - Set the "Bot endpoint address" to
{YOUR_DOMAIN}/extensions/msteams/webhook/
Set up config.yml
Take the values from above and add them to the config.yml
file as shown below
# Microsoft Teams #
msteams.client-id: your-client-id
msteams.client-secret: your-secret
Installation
If you left App Studio, go back and go to the "Manifest editor" tab and select your app
- Click on the "Test and distribute" tab on the left
- Fix any errors shown on the right side below "Description"
- Press "Install"
- Press "Add to a team" in the popup that appears
- Pick the team(s) you want to install the app on
You should see a message in the General channel that says "Welcome to Sentry for Microsoft Teams". If you do not get this message, it means was something went wrong and you'll need to uninstall, fix the problem, and re-install it.
Follow our documentation on using the Microsoft Teams integration to use the integration.
Uninstallation
To uninstall the integration, you should uninstall it inside of Teams instead of uninstall it Sentry.
- Find your Teams
- Click on the three dotted lines to the right of your Team
- Press "Manage team"
- Click on "Apps"
- Click the trash icon to the right of your custom app
- Press "Uninstall" in the popup