Skip to content

Teams Crashes on Activity Notification in Group Chat #2915

@jker-org

Description

@jker-org

Hi there,

Our app sends activity notifications, and we’ve encountered an issue specifically with Group Chats.

Description

For Group Chats, we send activity notifications from our C# backend using the following parameters:

// ChannelChatId for Group Chats has the format: 19:[email protected]

var topic = new Dictionary<string, object?>
{
    {"source", "entityUrl"},
    {"value", $"https://graph.microsoft.com/v1.0/chats/{notificationRequest.Instance.ChannelChatId}"}
};

// ...

url = $"https://graph.microsoft.com/v1.0/chats/{notificationRequest.Instance.ChannelChatId}/sendActivityNotification";

Aside from differences in URLs and Topic Values between Teams channels and Group Chats, the implementation is identical. This code works correctly for Teams channels, but not for Group Chats.

Environment

  • Windows 11, Teams Desktop Client
  • Windows 11, Browser (Google Chrome)

Observed behavior

When sending an activity notification to a Group Chat:

  • The notification popup appears correctly in Microsoft Teams.
  • Clicking the popup opens the Group Chat in a new window (expected).
  • When switching to the Activity area in Microsoft Teams, Teams crashes — it immediately jumps back to the area that was open before (notification is visible for a brief moment).

Expected behavior

Teams should display the activity notification and allow navigation to the Activity area without crashing.

Request

Could you please investigate whether there is a broader issue with activity notifications sent by apps to Group Chats? Any guidance, known issues, or required changes on our side would be appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions