Hi @Manish Kumar - You can display user specific data stored in Azure Active Directory in tab using Azure AD authentication. Please go through this documentation. But currently there is no API to get unread messages in teams.
Show "unread" count on custom app tab name

Manish Kumar
1
Reputation point
I am showing a custom web page in Teams through a custom tab by using microsoftTeams javascript sdk.
The page returns todo list as per user wise. I have to show per user's messages count concatenated in a custom tab name.
Ex. If the custom name is "New Ticket" and a user unread message is 3 then the custom tab name should be "New Ticket(3)" with bold text.
Is this possible or similarly any other way where we can show this?
Initially when MS teams start I am able to set the tab name(using suggestedDisplayName). while I need to change the tab name after my web page code execution.
{count} votes
@Manish Kumar - Could you please confirm are you trying to create a personal tab or Team tab?
HI @Mamatha-MSFT
I am creating a Team Tab.
Thankyou @Sharon Zhao-MSFT
Sign in to comment