Skip to content

Microsoft Teams channel crashes on startup in OpenClaw 2026.3.24 #56108

@KonsultDigital

Description

@KonsultDigital

Environment:

  • OpenClaw 2026.3.24
  • Linux
  • Microsoft Teams enabled
  • Azure bot credentials configured
  • webhook configured as:
    channels.msteams.webhook.port = 3978
    channels.msteams.webhook.path = /api/messages

Issue:
The msteams channel crashes on startup before binding the webhook listener, so Teams webhooks cannot be received at all.

Observed gateway log:
2026-03-28T11:11:30.506+10:00 info gateway/channels/msteams starting provider (port 3978)
2026-03-28T11:11:30.530+10:00 info gateway/channels/msteams msteams resolve failed; using config entries. TypeError: Missing parameter name at index 5: /api*; visit https://git.new/pathToRegexpError for info
2026-03-28T11:11:30.535+10:00 error gateway/channels/msteams [default] channel exited: Missing parameter name at index 5: /api*; visit https://git.new/pathToRegexpError for info

Notes:

  • This happens with the documented default webhook path /api/messages
  • Public npm latest is still 2026.3.24
  • GitHub tags also stop at v2026.3.24
  • Teams docs reference /api/messages as the default path
  • Because the provider never starts, external webhook forwarding (Hookdeck, ngrok, etc.) cannot work

Redacted config:

{
  channels: {
    msteams: {
      enabled: true,
      appId: "<redacted>",
      appPassword: "<redacted>",
      tenantId: "<redacted>",
      webhook: {
        port: 3978,
        path: "/api/messages"
      },
      dmPolicy: "pairing",
      groupPolicy: "allowlist"
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions