You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_snippets/setup-teams-integration.mdx
+37-4Lines changed: 37 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,13 @@ Call it `Elementary` (or whatever you prefer) and connect it to the workspace of
34
34
35
35
</Accordion>
36
36
37
-
Now it is time to setup the webhookfor this channel.
37
+
Now it's time to set up a webhook. You have two options for creating a webhook:
38
38
39
-
<Accordiontitle="Create Teams Webhook">
39
+
<Accordiontitle="Option 1: Create Teams Webhook using Connectors (Legacy)">
40
40
41
-
## Create a webhook
41
+
## Create a webhook using Connectors
42
+
43
+
**Note:** Microsoft 365 Connectors are being deprecated. Consider using Power Automate Workflows (Option 2) for new integrations.
42
44
43
45
Go to a channel in your Team and choose `Manage channel`
44
46
@@ -77,7 +79,38 @@ Copy the URL of the webhook.
77
79
78
80
</Accordion>
79
81
80
-
Lastly, pass the webhook to the CLI as a param or in the `config.yml` file:
82
+
<Accordiontitle="Option 2: Create Teams Webhook using Power Automate (Recommended)">
83
+
84
+
## Create a webhook using Power Automate
85
+
86
+
You can create a webhook using Power Automate in two ways:
87
+
88
+
### Method 1: Directly from Teams (Recommended)
89
+
90
+
1. Go to your Teams channel
91
+
2. Click the three dots (...) next to the channel name
92
+
3. Select `Workflows`
93
+
4. Choose the template "Post to channel when a webhook request is received"
94
+
5. Copy the webhook URL
95
+
96
+
### Method 2: From Power Automate Website
97
+
98
+
1. Go to [Power Automate](https://flow.microsoft.com)
99
+
2. Create a new instant cloud flow
100
+
3. Search for "When a HTTP request is received" as your trigger
101
+
4. In the flow, add a "Post adaptive card in a chat or channel" action
102
+
5. Configure the team and channel where you want to post
103
+
6. Save the flow and copy the HTTP POST URL
104
+
105
+
**Important Notes:**
106
+
107
+
- When using Power Automate Workflows, Elementary CLI cannot directly verify if messages were successfully delivered. You'll need to monitor your workflow runs in Power Automate to check for any delivery issues.
108
+
- Workflows can't post in private channels as a flow bot, but can post on behalf of a user
109
+
- Workflows can only be created in your default environment
110
+
111
+
</Accordion>
112
+
113
+
Lastly, pass the webhook URL (from either method) to the CLI as a param or in the `config.yml` file:
Copy file name to clipboardExpand all lines: docs/cloud/integrations/alerts/ms-teams.mdx
+54-27Lines changed: 54 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: "Microsoft Teams"
3
3
---
4
4
5
5
Elementary's Microsoft Teams integration enables sending alerts when data issues happen.
6
+
The alerts are sent using Adaptive Cards format, which provides rich formatting and interactive capabilities.
6
7
7
8
The alerts include rich context, and you can create [alert rules](/features/alerts-and-incidents/alert-rules) to distribute alerts to different channels and destinations.
8
9
@@ -30,30 +31,29 @@ The alerts include rich context, and you can create [alert rules](/features/aler
30
31
</div>
31
32
</Frame>
32
33
33
-
3. For each MS Teams channel you connect to Elementary, you will need to create a Webhook.
34
+
3. For each MS Teams channel you connect to Elementary, you will need to create a Webhook. There are two ways to create a webhook:
34
35
35
-
<Accordiontitle="How to create a Microsoft Teams webhook?">
36
-
1. Go to a channel in your Team and choose `Manage channel`
36
+
<Accordiontitle="Option 1: Using Microsoft Teams Connectors (Legacy)">
37
+
1. Go to a channel in your Team and choose `Manage channel`
**Note:** Microsoft 365 Connectors (previously called Office 365 Connectors) are nearing deprecation, and the creation of new Microsoft 365 Connectors will soon be blocked. Consider using Power Automate Workflows instead.
97
98
98
99
</Accordion>
99
100
101
+
<Accordiontitle="Option 2: Using Power Automate Workflows (Recommended)">
102
+
103
+
You can create a webhook using Power Automate in two ways:
104
+
105
+
### Method 1: Directly from Teams (Recommended)
106
+
107
+
1. Go to your Teams channel
108
+
2. Click the three dots (...) next to the channel name
109
+
3. Select `Workflows`
110
+
4. Choose the template "Post to channel when a webhook request is received"
111
+
5. Copy the webhook URL
112
+
113
+
### Method 2: From Power Automate Website
114
+
115
+
1. Go to [Power Automate](https://flow.microsoft.com)
116
+
2. Create a new instant cloud flow
117
+
3. Search for "When a HTTP request is received" as your trigger
118
+
4. In the flow, add a "Post adaptive card in a chat or channel" action
119
+
5. Configure the team and channel where you want to post
120
+
6. Save the flow and copy the HTTP POST URL
121
+
122
+
**Important Note:** When using Power Automate Workflows, Elementary CLI cannot directly verify if messages were successfully delivered. You'll need to monitor your workflow runs in Power Automate to check for any errors.
123
+
124
+
</Accordion>
125
+
100
126
4. Configure your Microsoft Teams webhooks, and give each one a name indicating it's connected channel:
101
127
102
128
<Frame>
@@ -112,17 +138,18 @@ width="400"
112
138
5. Select a default channel for alerts, and set the suppression interval.
113
139
114
140
<Note>
115
-
The default channel you select will automatically add a default [alert rule](/features/alerts-and-incidents/alert-rules)
116
-
to sends all failures to this channel. Alerts on warnings are not sent by default. To modify and add tules, navigate to `Alert Rules` page.
141
+
The default channel you select will automatically add a default [alert
142
+
rule](/features/alerts-and-incidents/alert-rules) to sends all failures to
143
+
this channel. Alerts on warnings are not sent by default. To modify and add
Copy file name to clipboardExpand all lines: docs/oss/deployment-and-configuration/teams.mdx
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,23 @@ title: "Teams setup for Elementary CLI"
3
3
sidebarTitle: "Teams"
4
4
---
5
5
6
-
Elementary Teams integration includes sending [Teams alerts](/oss/guides/alerts/send-teams-alerts) on failures in dbt tests and models.
6
+
Elementary Teams integration includes sending [Teams alerts](/oss/guides/alerts/send-teams-alerts) on failures in dbt tests and models. The alerts are sent using Microsoft Teams Adaptive Cards format, which provides rich formatting and interactive capabilities.
7
7
8
8
## Integration options
9
9
10
-
There is one integration option for Microsoft Teams: a Webhook. This method let you receive alerts from Elementary, but lacks
11
-
some support that is available in the Slack integration solution.
12
-
Below is features support comparison table (with Slack), to help you select the integration method.
10
+
There are two ways to create a webhook for Microsoft Teams:
1.**Microsoft Teams Connectors (Legacy)**: The traditional way of creating webhooks, but this method is being deprecated by Microsoft.
13
+
2.**Power Automate Workflows (Recommended)**: The newer, more flexible way to create webhooks. Note that when using this method, Elementary CLI cannot directly verify if messages were delivered - you'll need to monitor your workflow runs in Power Automate.
14
+
15
+
Below is a features support comparison table (with Slack), to help you select the integration method.
**Note:** Microsoft 365 Connectors (previously called Office 365 Connectors) are nearing deprecation. We recommend using Power Automate Workflows for new integrations.
Copy file name to clipboardExpand all lines: docs/oss/guides/alerts/send-teams-alerts.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ title: "Setup Teams alerts"
9
9
Before you can start using the alerts, make sure to [install the dbt package](/oss/quickstart/quickstart-cli-package), [configure a profile and install the CLI](/oss/quickstart/quickstart-cli).
10
10
This is **required for the alerts to work.**
11
11
12
+
Elementary sends alerts using Microsoft Teams Adaptive Cards format, which provides rich formatting and interactive capabilities. You can create a webhook URL using either Microsoft Teams Connectors (legacy, being deprecated) or Power Automate Workflows (recommended).
0 commit comments