debian-mirror-gitlab/doc/user/project/integrations/microsoft_teams.md

55 lines
1.9 KiB
Markdown
Raw Normal View History

2020-10-24 23:57:45 +05:30
---
stage: Create
group: Ecosystem
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-10-24 23:57:45 +05:30
---
2021-04-17 20:07:23 +05:30
# Microsoft Teams service **(FREE)**
2017-08-17 22:00:37 +05:30
## On Microsoft Teams
2020-03-13 15:44:24 +05:30
To enable Microsoft Teams integration you must create an incoming webhook integration on Microsoft
2021-02-22 17:27:13 +05:30
Teams by following the steps below:
1. Search for "incoming webhook" on the search bar in Microsoft Teams and select the
**Incoming Webhook** item.
![Select Incoming Webhook](img/microsoft_teams_select_incoming_webhook.png)
1. Click the **Add to a team** button.
1. Select the team and channel you want to add the integration to.
1. Add a name for the webhook. The name is displayed next to every message that
comes in through the webhook.
1. Copy the webhook URL for the next steps.
Learn more about
[setting up an incoming webhook on Microsoft Teams](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#setting-up-a-custom-incoming-webhook).
2017-08-17 22:00:37 +05:30
## On GitLab
After you set up Microsoft Teams, it's time to set up GitLab.
2020-04-22 19:07:51 +05:30
Navigate to the [Integrations page](overview.md#accessing-integrations)
2017-08-17 22:00:37 +05:30
and select the **Microsoft Teams Notification** service to configure it.
2021-02-22 17:27:13 +05:30
There, you see a checkbox with the following events that can be triggered:
2017-08-17 22:00:37 +05:30
- Push
- Issue
- Confidential issue
- Merge request
- Note
- Tag push
- Pipeline
- Wiki page
At the end fill in your Microsoft Teams details:
| Field | Description |
| ----- | ----------- |
2018-12-05 23:21:45 +05:30
| **Webhook** | The incoming webhook URL which you have to set up on Microsoft Teams. |
2017-08-17 22:00:37 +05:30
| **Notify only broken pipelines** | If you choose to enable the **Pipeline** event and you want to be only notified about failed pipelines. |
After you are all done, click **Save changes** for the changes to take effect.
![Microsoft Teams configuration](img/microsoft_teams_configuration.png)