Hi guys I have been trying to enable my bot on default, the bot needs to be installed directly to the Microsoft team's channel. Below is the schema of my app manifest in teams
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.schema.json",
"manifestVersion": "1.11",
"version": "1.6",
"id": "xxxx-xxxxxx-xxxxxx-xxxxx",
"packageName": "com.xxxxx.microsoftteams.jira",
"developer": {
"name": "xxxxxxx",
"websiteUrl": "https://www.xxxxx.com",
"privacyUrl": "https://www.xxxxx.com/privacy",
"termsOfUseUrl": "https://www.xxxxx.com/license",
"mpnId": "xxxxx"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "xxxx",
"full": "xxxx"
},
"description": {
"short": "xxxxx",
"full": "xxxxxx"
},
"accentColor": "#FFFFFF",
"configurableTabs": [],
"staticTabs": [
{
"entityId": "conversations",
"scopes": [
"personal"
]
},
{
"entityId": "about",
"scopes": [
"personal"
]
},
{
"entityId": "xx",
"name": "xx",
"scopes": [
"personal"
]
}
],
"bots": [
{
"botId": "xxx-xxxx-xxxx-xxxx",
"scopes": [
"personal",
"team",
"groupchat"
],
"supportsFiles": false,
"isNotificationOnly": false
}
],
"composeExtensions": [
{
"botId": "xxx-xxxx-xxxx-xxxx",
"canUpdateConfiguration": false,
"commands": [
{
"id": "search",
"type": "query",
"title": "Search",
"description": "Search for issues in xxx",
"initialRun": true,
"fetchTask": false,
"context": [
"commandBox",
"compose"
],
"parameters": [
{
"name": "search",
"title": "Search",
"description": "Search",
"inputType": "text"
}
]
}
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"defaultInstallScope": "team",
"defaultGroupCapability": {
"meetings": "bot",
"team": "bot",
"groupchat": "bot"
},
"validDomains": [
"xxx",
],
"webApplicationInfo": {
"id": "xxx-xxxx-xxxx",
"resource": "http://"
}
}
So if you look carefully you will find out that I have added defaultInstallScope
to route the installation to teams and defaultGroupCapability
has teams specifying that it should install the bot to the teams. But it's not working. Please does anybody know anything about this?