Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)
SOLVED

Creating a bot in a channel without using the Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-1405857%22%20slang%3D%22en-US%22%3ECreating%20a%20bot%20in%20a%20channel%20without%20using%20the%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1405857%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20team%20found%20in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fbots%2Fhow-to%2Fconversations%2Fsend-proactive-messages%3Ftabs%3Ddotnet%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fbots%2Fhow-to%2Fconversations%2Fsend-proactive-messages%3Ftabs%3Ddotnet%3C%2FA%3E%20how%20to%20send%20messages%20via%20a%20bot%20that%20show%20up%20under%20the%20left%20side%20%E2%80%9CChat%E2%80%9D%20section%20without%20trouble.%20However%20when%20trying%20to%20send%20to%20a%20tab%20in%20the%20%E2%80%9CTeams%E2%80%9D%20section%20it%20returns%20the%20error%20%E2%80%9CThe%20bot%20is%20not%20part%20of%20the%20conversation%20roster%E2%80%9D.%20How%20does%20one%20go%20about%20doing%20this%20without%20special%20admin%20permissions%20or%20using%20the%20Graph%20API%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1405857%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1407873%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20bot%20in%20a%20channel%20without%20using%20the%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1407873%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F673586%22%20target%3D%22_blank%22%3E%40Roginc%3C%2FA%3E%26nbsp%3BIs%20your%20app%20installed%20in%20the%20Team%3F%20Your%20bot%20needs%20to%20be%20a%20part%20of%20the%20team%20to%20send%20a%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fbots%2Fhow-to%2Fconversations%2Fsend-proactive-messages%3Ftabs%3Ddotnet%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3E%20proactive%20message%20inside%20Team.%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1410439%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20bot%20in%20a%20channel%20without%20using%20the%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1410439%22%20slang%3D%22en-US%22%3EGot%20it%2C%20thanks!%3C%2FLINGO-BODY%3E
New Contributor

My team found in https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-me... how to send messages via a bot that show up under the left side “Chat” section without trouble. However when trying to send to a tab in the “Teams” section it returns the error “The bot is not part of the conversation roster”. How does one go about doing this without special admin permissions or using the Graph API?

2 Replies
best response confirmed by Roginc (New Contributor)
Solution

@Roginc Is your app installed in the Team? Your bot needs to be a part of the team to send a proactive message inside Team.