| title | App Icon Badges for Meetings |
|---|---|
| description | Learn how to enable app icon badging for your Microsoft Teams app in meeting, app manifest setting, and its code samples to enable app icon badging (Node.js, .NET). |
| ms.topic | conceptual |
| ms.localizationpriority | medium |
| ms.owner | vichug |
| ms.date | 01/23/2025 |
App icon badging helps a meeting participant identify any app activity during a meeting. Participants get activity notification for the meeting apps.
When there's a new activity during the meeting, the app calls the targetedMeetingNotification API and displays a red badge on the app icon in the meeting unified bar (U-bar). When the participant selects the app icon, the app opens in the meeting side panel, and the badge goes away.
For example, during a real time collaboration in a meeting, if a participant adds a comment in a file added to the meeting, the app calls the targetedMeetingNotification API from the participant's meeting side panel. The API triggers a badge on the app icon to make other participants aware of the comment activity.
The following image shows you the app icon badging in the meeting U-bar:
:::image type="content" source="../assets/images/app-icon-badging.png" alt-text="Screenshot shows you the app icon badging in U-bar in teams meeting."lightbox="../assets/images/app-icon-badging.png":::
Note
- App icon badging is available for Government Community Cloud (GCC), GCC High, and Department of Defense (DoD) environments and isn't supported in Teams operated by 21Vianet.
- App icon badging isn't supported for mobile clients.
- App icon badging isn't supported for channel meetings.
To enable app icon badging, follow these steps:
To enable app icon badging, you must:
- Ensure that you've configured
meetingSidePanelas acontextproperty for your app. - Configure the
authorizationproperty and thenameandtypeproperties under theresourceSpecificfield in the app manifest as follows:
"webApplicationInfo": {
"id": "<<MICROSOFT-APP-ID>>",
"resource": "https://RscBasedStoreApp" },
"authorization": {
"permissions": {
"resourceSpecific": [
{
"name": "OnlineMeetingNotification.Send.Chat",
"type": "Application" }
]
}
}To enable app icon badging, ensure that you've enabled targeted in-meeting notification.
The Targeted meeting notification and app icon badging API is extended to support the app icon badging capability on the app icon and pass the user MRI IDs of the intended recipients. The surfaces parameter now supports meetingTabIcon value, which is used by the app.
App can also pass the tabEntityId, if there are multiple instances of the app added to the same meeting. If the tabEntityId isn't passed, then Teams displays the badge on the first app icon on the users meeting window.
TeamsInfo.SendMeetingNotificationAsync(context, notificationPayload, meetingId);TeamsInfo.sendMeetingNotification(context, notificationPayload, meetingId);{
"type": "targetedMeetingNotification",
"value": {
"recipients": [
"<participant1 MRI>",
"<participant2 MRI>"
],
"surfaces": [
{
"surface": "meetingTabIcon",
"tabEntityId": "<tab id from tab sdk>" // optional
}
]
}
}[!INCLUDE Response code]
-
App icon badging displays only one notification for a user in a minute per meeting.
-
App icon badging is displayed to a maximum of first 50 participants for a particular meeting.
|Sample name | Description | Node.js | .NET | |----------------|-----------------|--------------| | App icon badging for your Teams app | This sample app showcases how to implement app icon badging for notifications in Teams meetings. | View | View |