Skip to content

Teams Crashes on Activity Notification in Group Chat #83

Description

@Ashlesha-MSFT

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:xxxx....xxxxxxxx@thread.v2

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI-generated responseAn AI-generated response has been posted to this issue.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions