Skip to content

Badge Count API to fetch Badge from Team activity bar for a notification, so can be displayed in teams tab app #2847

@smilesharma

Description

@smilesharma

This request stems from a conversation with Carlos Guadamuz S. (Teams Developer Support at Microsoft).
Initially, we explored using setBadgeCount() based on a Copilot-generated example that was shared during our discussion. The code sample suggested that microsoftTeams.app.setBadgeCount() could be used to set a badge count on the app icon. However, Carlos later followed up—after checking with the product team—and confirmed that:
The setBadgeCount() API does not exist in the Teams JavaScript SDKThere is no current implementation of such functionality in the Teams clientThere is no supported way to programmatically set badge indicators on a custom tab appHe then advised raising this issue here in the GitHub repo, so the SDK engineering team can provide an accurate answer or consider it for future support.

Feature Request / Clarification Needed
We would like clarification or support for the following:
Is there any supported mechanism to visually indicate unread activity or pending notifications (e.g., a red dot) on a pinned tab app icon in the Teams side rail?If not currently supported, could this be considered as a feature enhancement?Given that our tab app already triggers Activity Center notifications, is it possible to:Subscribe to or listen for Activity Center notifications related to our tab app and Trigger a UI update that prompts a visual cue on the tab icon??Segregate or filter Activity Center notifications by app to handle them more granularly?

Use Case
We have a Teams personal tab app that informs users of time-sensitive actions and updates. While notifications sent from our backend correctly appear in the Teams Activity Center, there is no visual indicator on the tab icon itself.
We are looking for a solution that would:
Improve user awareness of new activity without requiring the user to open the tabAlign with Teams UX conventions (e.g., a red dot or similar passive visual indicator)

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