Forum Discussion
The bot is not a part of the conversation roster error in new chat(Chat->New)
Hi,
This is the manifest.json file
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.schema.json",
"manifestVersion": "1.9",
"version": "1.0.1",
"id": "<ID>",
"packageName": "<packageName>",
"developer": {
"name": "chatapp",
"websiteUrl": "",
"privacyUrl": "",
"termsOfUseUrl": ""
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Chatapp",
"full": ""
},
"description": {
"short": "This is a sample chat app",
"full": "This is a sample chat app."
},
"accentColor": "#FFFFFF",
"configurableTabs": [
{
"configurationUrl": "<URL>",
"canUpdateConfiguration": false,
"scopes": [
"team"
],
"context": [
"channelTab"
]
}
],
"staticTabs": [
{
"entityId": "id",
"name": "Website",
"contentUrl": "<URL>",
"scopes": [
"personal"
]
},
{
"entityId": "conversations",
"scopes": [
"personal"
]
},
{
"entityId": "about",
"scopes": [
"personal"
]
}
],
"bots": [
{
"botId": "<BOTID>",
"scopes": [
"personal",
"team"
],
"supportsFiles": false,
"isNotificationOnly": false
}
],
"composeExtensions": [
{
"botId": "<BOTID>",
"canUpdateConfiguration": true,
"commands": [
{
"id": "search",
"type": "query",
"title": "search",
"description": "",
"initialRun": false,
"fetchTask": false,
"context": [
"commandBox",
"compose"
],
"parameters": [
{
"name": "query",
"title": "Search Text",
"description": "Search Text",
"inputType": "text"
}
]
}
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
""
]
}
fabin10
The bot MUST be installed to the Team in order to get the roster for that Team. If the bot is not installed in the Team, you will get a "The bot is not part of the conversation roster" error.
TeamsInfo.getMember() will not get the mail id from Chat->New Chat.
- fabin10Aug 09, 2021Brass Contributor
Thanks for the updates. So, it's not possible to get the mail id using TeamsInfo.getMember() from Chat->New Chat.? or will it only be possible to get the mail id when the bot is connected to a channel? Prasad_Das-MSFT
- Prasad_Das-MSFTAug 09, 2021Microsoft
Yes, it only be possible to get the mail id when the bot is connected to a Teams channel.
- fabin10Aug 11, 2021Brass Contributor
Ok, How can I connect the app to the channel? Is it by updating the manifest file? I had already installed the app in teams and was able to access email ids in teams chat. The issue is only on Chat->New Chat