Teams notification badge in application bar

Dan Prince 31 Reputation points
2022-09-26T17:29:30.52+00:00

Is there a way to add a "notification badge" to a custom teams application like the Chat and Teams area do?

I've been looking through the documentation and can't find an example that increments this. Example of what I want:

244914-image.png

**The app I have is a content tab application

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,585 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,053 questions
0 comments No comments
{count} votes

Accepted answer
  1. Prasad-MSFT 6,076 Reputation points Microsoft Vendor
    2022-09-27T08:45:15.81+00:00

    Currently it doesn't seem to be feasible. You can use the activity feed notification APIs in Microsoft Graph for sending notifications.
    Requirements for using the activity feed notification APIs:

    1. The Teams app manifest must have the Azure AD app ID added to the webApplicationInfo section.(Teams app manifest version must be 1.7 or greater)
    2. Activity types must be declared in the activities section in manifest schema.
    3. The Teams app must be installed for the recipient, either personally, or in a team or chat they are part of.
      For detailed steps ,please follow below doc:
      https://learn.microsoft.com/en-us/graph/teams-send-activityfeednotifications#understanding-the-basics-of-activity-feed-notification

0 additional answers

Sort by: Most helpful