|
1 | 1 | Teams |
2 | 2 | ----- |
3 | 3 |
|
4 | | -- From a Teams administrator account, go to the channel that will receive GLPI notifications |
5 | | -- Click on the channel menu |
6 | | -- Then **Manage channel** |
| 4 | +.. Warning:: Following the end of O365 connectors, Microsoft is imposing a new method of setting up your webhooks using workflows. |
| 5 | + This procedure must be implemented before August 15th. After this date, your webhooks will no longer function. |
| 6 | + Your webhooks used by incoming Webhooks (old method) will no longer be available |
7 | 7 |
|
8 | | -.. figure:: images/Webhook-10.png |
9 | | - :alt: manage channel |
10 | | - :scale: 100 % |
| 8 | +.. Note:: The channel used must be public. Microsoft does not currently allow webhooks with Workflows from a private channel. |
11 | 9 |
|
12 | | -- In the **Connectors** section, |
13 | | -- click on **Modify** |
| 10 | +- From **Teams**, go to **Apps** |
| 11 | +- In the search box, enter **Workflows** |
| 12 | +- In the list of applications, click on **Add** |
14 | 13 |
|
15 | | -.. figure:: images/Webhook-11.png |
16 | | - :alt: edit connector |
17 | | - :scale: 75 % |
| 14 | +.. figure:: images/Webhook-21.png |
| 15 | + :alt: copy URL |
| 16 | + :scale: 58 % |
18 | 17 |
|
19 | | -- From the **incoming Webhook connector** |
20 | | -- click on **Configure** |
21 | 18 |
|
22 | | -.. figure:: images/Webhook-12.png |
23 | | - :alt: add webhook |
24 | | - :scale: 100 % |
| 19 | +.. Note:: Some information may take a while to appear, so please be patient between each step and wait for the information |
| 20 | + to appear on the screen before moving on to the next step. |
25 | 21 |
|
26 | | -- Enter a name for your webhook and an image (optional) |
27 | | -- Click on **Create** |
28 | 22 |
|
29 | | -.. figure:: images/Webhook-13.png |
30 | | - :alt: setup webhook |
| 23 | +- From the desired Teams channel, click on the **···** menu |
| 24 | + |
| 25 | +.. figure:: images/Webhook-22.png |
| 26 | + :alt: copy URL |
31 | 27 | :scale: 100 % |
32 | 28 |
|
33 | | -- You will then be sent the URL of your webhook |
| 29 | +- Click on **Workflows** |
| 30 | +- Choose "**Post to a channel when a webhook request is received**" |
| 31 | +- In the new window, make sure that the current account has a sufficient licence to send webhooks |
| 32 | + |
| 33 | +.. figure:: images/Webhook-23.png |
| 34 | + :alt: copy URL |
| 35 | + :scale: 88 % |
| 36 | + |
| 37 | +- Teams will give you a summary of the selected channel. If you've got it right, click on Add Workflows |
| 38 | + |
34 | 39 |
|
35 | | -.. figure:: images/Webhook-14.png |
| 40 | +.. figure:: images/Webhook-24.png |
36 | 41 | :alt: copy URL |
37 | | - :scale: 100 % |
| 42 | + :scale: 90 % |
| 43 | + |
| 44 | +- The URL of your workflow appears. Copy it and keep it, it will be used to configure GLPI. |
| 45 | + |
| 46 | +.. figure:: images/Webhook-25.png |
| 47 | + :alt: copy URL |
| 48 | + :scale: 85 % |
| 49 | + |
| 50 | + |
| 51 | +- Go to :doc:`setup the webhook in GLPI <setup_glpi>` |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
0 commit comments