{"id":23494,"library":"dagster-msteams","title":"dagster-msteams","description":"A Dagster resource for posting messages to Microsoft Teams via webhooks. Version 0.29.3, released as part of Dagster core 1.13.3. Supports Python 3.10-3.14. Follows Dagster library release cadence (roughly monthly).","status":"active","version":"0.29.3","language":"python","source_language":"en","source_url":"https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-msteams","tags":["dagster","microsoft-teams","notifications","monitoring"],"install":[{"cmd":"pip install dagster-msteams","lang":"bash","label":"pip"}],"dependencies":[{"reason":"Core Dagster framework required for all integrations","package":"dagster","optional":false}],"imports":[{"wrong":"from dagster_msteams import TeamsResource","symbol":"MSTeamsResource","correct":"from dagster_msteams import MSTeamsResource"},{"symbol":"Card","correct":"from dagster_msteams import Card"},{"symbol":"make_teams_on_run_failure_sensor","correct":"from dagster_msteams import make_teams_on_run_failure_sensor"}],"quickstart":{"code":"import os\nfrom dagster import Definitions, job, op\nfrom dagster_msteams import TeamsResource, make_teams_on_run_failure_sensor\n\n@op\ndef my_op():\n    return 1\n\n@job\ndef my_job():\n    my_op()\n\n# Resource requires WEBHOOK_URL env var or config\nteams_resource = TeamsResource(\n    webhook_url=os.environ.get('TEAMS_WEBHOOK_URL', ''),\n    webhook_resource_key=\"teams\"\n)\n\n# Optional: notify on run failure\nteams_sensor = make_teams_on_run_failure_sensor(\n    webhook_url=os.environ.get('TEAMS_WEBHOOK_URL', ''),\n    dagit_base_url=\"http://localhost:3000\"\n)\n\ndefs = Definitions(\n    jobs=[my_job],\n    resources={\"teams\": teams_resource},\n    sensors=[teams_sensor]\n)","lang":"python","description":"Minimal setup: define a TeamsResource, optional failure sensor, and attach to job/sensor in Definitions."},"warnings":[{"fix":"Use `TeamsResource(webhook_url=...)` explicitly.","message":"The `TeamsResource` no longer accepts `webhook_url` during initialization as a positional argument; it must be passed as a keyword or via config.","severity":"breaking","affected_versions":">=0.20.0"},{"fix":"Prefer creating a custom sensor using `TeamsResource` and `@run_failure_sensor`.","message":"`make_teams_on_run_failure_sensor` is deprecated in favor of using `TeamsResource` directly with the core Dagster `RunFailureSensorContext`.","severity":"deprecated","affected_versions":">=0.28.0"},{"fix":"Validate webhook URL format: `https://outlook.office.com/webhook/...`.","message":"Webhook URL must be a valid Microsoft Teams incoming webhook. Using a malformed URL will silently fail (no error raised).","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'-3.14':27 '0.29.3':16 '1.13.3':23 '3.10':26 'cadenc':32 'core':22 'dagster':2,5,21,29,35 'dagster-msteam':1 'follow':28 'librari':30 'messag':9 'microsoft':11,37 'microsoft-team':36 'monitor':40 'month':34 'msteam':3 'notif':39 'part':19 'post':8 'python':25 'releas':17,31 'resourc':6 'rough':33 'support':24 'team':12,38 'version':15 'via':13 'webhook':14","created_at":"2026-05-01T08:08:04.574502+00:00","updated_at":"2026-05-01T08:08:04.574502+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.29.10","cli_name":"","cli_version":null,"type":"library","homepage":"https://dagster.io","github":"https://github.com/dagster-io/dagster","docs":null,"changelog":null,"pypi":"https://pypi.org/project/dagster-msteams/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["workflow","communication","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}