Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 20 additions & 6 deletions develop-docs/integrations/msteams/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ You will need to be a Microsoft Teams Administrator to perform some of the requi

1. Visit the [Developer Portal](https://dev.teams.microsoft.com/apps). Note: You may have to sign up for the [MS 365 Developer Program](https://developer.microsoft.com/en-us/microsoft-365/dev-program) if you're having trouble accessing this.
2. Click "New App".
3. Enter "Sentry" as the name.
4. Under "Basic Information" use the following values (the rest may be blank):
3. Name your app anything you like (e.g. `Sentry`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can u change this to make the name specific to them (so its easier to find your app)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should i remove the example then?

4. Under "Basic Information" use the following values (all other fields are optional and may be left blank):

| Setting | Value |
| ------------------------- | --------------------------- |
Expand All @@ -28,11 +28,19 @@ You will need to be a Microsoft Teams Administrator to perform some of the requi


5. Hit "Save" at the bottom of the page.
6. On the left hand sidebar click "App features" >> "Bot" >> "Create a new bot" >> "New Bot". You may name this whatever you like.
7. 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).
6. On the left hand sidebar click "App features" >> "Bot" >> "Create a new bot" >> "New bot". You may name this whatever you like.
7. 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).
8. Go to "Client secrets" and create a secret. Copy the secret as we'll use it later on.
9. 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.
10. Click "Add a command" and call it anything you like e.g. `/sentry`. Select "Team" as the scope, add it, and again hit Save.
9. To go back, click "Apps" >> Sentry >> "App features" >> "Bot". Then choose the bot you just created from the "Select an existing bot" dropdown.
10. Enable your bot to "Only send notifications (one-way conversations)" and select "Personal" and "Team" as the scopes.

![Microsoft Teams Bot Settings](./bot-settings.png)

11. 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".

![Microsoft Teams Bot Add a Command](./add-bot-command.png)

12. Hit "Save" at the bottom of the page.


## Set up config.yml
Expand All @@ -47,6 +55,12 @@ msteams.client-secret: 'your-bot-secret'

## Installation

<Alert title="Note" level="info">

We have encountered recent issues with this installation method. For a smoother experience, please refer to the Troubleshooting section for alternative steps.

</Alert>

1. At the top right of the screen click "Preview in Teams".
2. Select "Add to a team" in the resulting popup, and choose the team(s) you want to install the app on.

Expand Down
Loading