Forum Discussion
The bot is not a part of the conversation roster error in new chat(Chat->New)
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
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
- Prasad_Das-MSFTAug 11, 2021
Microsoft
Yes, you can connect the app by uploading your manifest to the Teams channel. Then you will get the roaster for that team. It won't work for Chat > New Chat- DeveshTOct 24, 2024Copper Contributor
We are facing issue when bot is trying to send message in the channel where it is installed.
It was working fine few days back but all of a sudden it's throwing error that
"{"error":{"code":"BotNotInConversationRoster","message":"The bot is not part of the conversation roster."}}
Details :
teamId :19:3684c109f05f44efb4fb54a988d70286@thread.tacv2
Error: Operation returned an invalid status code 'Forbidden'
StackTrace: at Microsoft.Bot.Connector.Conversations.CreateConversationWithHttpMessagesAsync(ConversationParameters parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Bot.Connector.ConversationsExtensions.CreateConversationAsync(IConversations operations, ConversationParameters parameters, CancellationToken cancellationToken) at Microsoft.BotBuilderSamples.WelcomeBotCloundStorage.sendMessageInChannel(ConnectorClient connectorClient, String cId, String tenantId, Activity activity) "
The bot is able to send direct message to users
Any Idea?Note:- for any new installation, it is working fine but for all our existing client, we are getting this message. I can confirm that the bot is installed in the team.