Operation returned an invalid status code 'Forbidden'.The bot is not part of the conversation roster.

durjan hussain 10 Reputation points
2024-07-15T11:31:20.13+00:00

Hi team,

The Teams Bot was working and suddenly it stopped. We are getting the above error when we are calling 'CreateConversationAsync' method of ConversationsExtensions class.

{Method: POST, RequestUri: 'https://smba.trafficmanager.net/uk/v3/conversations', Version: 1.1, Content: System.Net.Http.StringContent, Headers:

{

Authorization: Bearer eyJ0e....

Content-Type: application/json; charset=utf-8

}}

ErrorMessages

Here is the JWT token.

jwt_token

Here is the App permissions.

App_Permissions

--Here is the Bot Manifest settingsManifest

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
806 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,064 questions
{count} votes