Forum Discussion

markngo's avatar
markngo
Copper Contributor
Dec 10, 2024

Team app tab to automatically added to meetings, channel and chat

Hi 

I am developing a teams app tab and uploaded the package zip to "Manage your apps" in Apps.
I can only add my developed tab on the selected channel, group chat, and meetings. 
I wonder if there's a way to automatically make my developed tab available already to channel, group chat, and meetings once installed so we don't have to add this manually.
Here's my sample manifest.json. Hope someone could help me please

  {
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.17/MicrosoftTeams.schema.json",
    "manifestVersion": "1.17",
    "version": "1.0.0",
    "id": "18317651-f9ac-4a8a-9457-3a81feab80e9",
    "developer": {
        "name": "TestDev",
        "websiteUrl": "https://www.example.com",
        "privacyUrl": "https://www.example.com/privacy",
        "termsOfUseUrl": "https://www.example.com/termsofuse"
    },
    "icons": {
        "color": "color.png",
        "outline": "outline.png"
    },
    "name": {
        "short": "sample tab - local",
        "full": "sample tab - POC"
    },
    "description": {
        "short": "sample tab - POC",
        "full": "Proof of concept for adding a tab application to teams group chat, channel, or meeting"
    },
    "accentColor": "#FFFFFF",
    "bots": [],
    "composeExtensions": [],
    "configurableTabs": [],
    "staticTabs": [
        {
            "entityId": "index",
            "name": "sampleTab",
            "contentUrl": "https://localhost:1010/tab",
            "websiteUrl": "https://localhost:1010/tab",
            "scopes": [
                "personal",
                "groupChat",
                "team"
            ],
            "context": [
                "personalTab",
                "channelTab",
                "privateChatTab",
                "meetingChatTab",
                "meetingDetailsTab",
                "meetingSidePanel",
                "meetingStage"
            ]
        }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
    "defaultInstallScope": "team",
    "defaultGroupCapability": {
        "meetings": "tab",
        "team": "bot",
        "groupchat": "bot"
    },
    "validDomains": [
        "localhost"
    ]
}

  • You can configure your Teams app to be available in different scopes by specifying the defaultInstallScope and defaultGroupCapability in the manifest file. This ensures that the app is automatically added to channels, group chats, and meetings once installed. We noticed that this is what you are already doing.

    FYI, there's no way to automatically make your developed tab available already to channel, group chat, and meetings once installed.

    To better achieve your requirements, we recommend submitting this feature request through the Teams Feedback Portal. This is the best way to ensure your idea is considered for future updates. 

     

    The Microsoft Graph API also provides endpoints to manage apps within Teams. You can use the teamsAppInstallation resource to install apps to a team, chat, or user.

    Ref: teamsAppInstallation resource type - Microsoft Graph v1.0 | Microsoft Learn

     

     

    Thanks, 

    Prasad Das 

    ------------------------------------------------------------------------------------------ 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

Resources