Microsoft Teams Integration
Admin Privileges
You will need to be a Microsoft Teams Administrator to perform some of the required steps.
- Visit the Developer Portal. Note: You may have to sign up for the MS 365 Developer Program if you're having trouble accessing this.
- Click "New App".
- Name your app (something specific to you to make it easier to find, e.g.
Bob's Sentry
). - Under "Basic Information" use the following values (all other fields are optional and may be left blank):
Setting | Value |
---|---|
Short description | enter anything |
Long description | enter anything |
Developer or company name | Sentry |
Website | https://www.sentry.io |
Privacy policy | https://sentry.io/privacy/ |
Terms of use | https://www.sentry.io/terms/ |
- Hit "Save" at the bottom of the page.
- On the left hand sidebar click "App features" >> "Bot" >> "Create a new bot" >> "New bot". You may name this whatever you like.
- Enter the bot endpoint address as
{YOUR_DOMAIN}/extensions/msteams/webhook/
and hit "Save". Take note of your bot ID (shown in the URL, e.g. https://dev.teams.microsoft.com/bots/{BOT-ID}/configure). - Go to "Client secrets" and create a secret. Copy the secret as we'll use it later on.
- To go back, click "Apps" >> Sentry >> "App features" >> "Bot". Then choose the bot you just created from the "Select an existing bot" dropdown.
- Enable your bot to "Only send notifications (one-way conversations)" and select "Personal" and "Team" as the scopes.
- Click "Add a command" and call it anything you like (e.g.
/sentry
). Give your command a description, select "Personal" and "Team" as the scopes, then click "Add".
- Hit "Save" at the bottom of the page.
Take the values from before and add them to the config.yml
file as shown below:
# Microsoft Teams #
msteams.client-id: "your-bot-client-id"
msteams.client-secret: "your-bot-secret"
Note
We have encountered recent issues with this installation method. For a smoother experience, please refer to the Troubleshooting section for alternative steps.
- At the top right of the screen click "Preview in Teams".
- Select "Add to a team" in the resulting popup, and choose 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.
If you're having trouble with installation, try following these steps:
- Click "Publish to org" in the sidebar.
- Visit the manage apps page, and find your app in the list by sorting by "Custom App".
- Click the title of your app, in this case "Sentry".
- Publish it to the org-wide app catalog.
- After publishing it, you or your admin for your MS Teams org will need to approve the app before it can be installed on MS Teams. Go to the Manage apps page, and search for the app (e.g. "Sentry").
- Click the title of your app, in this case "Sentry", and click "Publish".
- You should now be able to see the published custom app under the "Built for your org" section in the MS Teams application store.
To uninstall the integration, you should uninstall it inside of Teams instead of uninstall it Sentry.
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").