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".
- Enter "Sentry" as the name.
- Under "Basic Information" use the following values (the rest may be 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" >> and then choose the bot you just created from the "Select an existing bot" dropdown and hit Save.
- Click "Add a command" and call it anything you like e.g.
/sentry
. Select "Team" as the scope, add it, and again hit Save.
Take the values from before and add them to the config.yml
file as shown below:
Copied
# Microsoft Teams #
msteams.client-id: "your-bot-client-id"
msteams.client-secret: "your-bot-secret"
- 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.
Help improve this content
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").
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").