Hey <@U088WCP3B4P>, please answer <@U07R6E57H0U>'s...
# ask-elementary-ai
n
Hey @kapa.ai, please answer @Asavari Pawgi's question: How do we setup Teams alerts at project level in dbt? also is there any way to tag the individuals?
k
A message from kapa.ai
I'll help you understand how to set up Microsoft Teams alerts at the project level in Elementary Data and explain the tagging capabilities. ## Setting up Teams alerts at project level Elementary Data supports sending alerts to Microsoft Teams using Adaptive Cards format. To set up Teams alerts at the project level, you need to: 1. First, create a Microsoft Teams team and channel where you want to receive alerts 2. Create a webhook using either Microsoft Teams Connectors (legacy) or Power Automate Workflows (recommended) 3. Configure Elementary to use this webhook For the webhook setup, you have two options: Option 1: Using Microsoft Teams Connectors (Legacy) This is the traditional way but is being deprecated by Microsoft by the end of 2025. Option 2: Using Power Automate Workflows (Recommended) You can create a webhook using Power Automate either directly from Teams or from the Power Automate website. After setting up the webhook, you can configure Elementary to use it either through CLI parameters or in a config file:
Copy code
# As CLI parameter edr monitor --teams-webhook <your_teams_webhook_url>  # Or in config.yml teams:   teams_webhook: <your_teams_webhook_url>
[Teams setup documentation](https://docs.elementary-data.com/oss/guides/alerts/send-teams-alerts) provides detailed instructions for each step. ## Tagging individuals in Teams alerts Currently, tagging individuals in Microsoft Teams alerts is not fully supported in Elementary Data. Unlike Slack, where you can tag users with
@username
format, Teams requires additional support for this functionality. According to a recent conversation in the Elementary community, the development team has acknowledged this limitation and plans to implement this feature in the future. As one of the Elementary team members mentioned: > "In Teams, tagging individuals in plain text does not work without additional support, unlike Slack. We plan to implement this feature in the future." [Teams alerts discussion](https://slack.com/archives/C02CTC89LAX/p1736849073966839) For now, you can still configure owners and subscribers in your dbt project, but they won't be automatically tagged in Teams alerts as they would be in Slack alerts. If tagging individuals is a critical requirement for your workflow, you might want to consider using Slack alerts instead, where tagging functionality is fully supported.