Microsoft Teams Bot : Messaing Endpoint not being used

Herman Edwards 6 Reputation points
2021-08-25T06:00:24.157+00:00

Context

126190-image.png

  • As a result, my Bot never receives anything from my Bot connector (i.e. when I send 1-1 message to my bot, my bot server never receives the POST message)

    Questions

  • This is quite hard to debug, since the endpoint gets saved with a green checkmark. There is absolutely no error message. Is there any way that I can see the error message on why the new endpoint does not get registered properly? Do we have log for this? Seeing the error would help me solve this issue much faster.
  • Could you help explain the requirements for a new endpoint to be registered as a new messaging endpoint.
    126234-image.png

    My attempts

  • I added ['https://teams.microsoft.com/', 'teams.microsoft.com', 'https://login.microsoftonline.com', 'https://smba.trafficmanager.net/', 'smba.trafficmanager.net'] to the IP allowlist that my server can communicate with. However, the issue is still there.
  • I tried using other urls with ngrok. The url provided by ngork is able to work with the Bot connector - I tried this example https://github.com/microsoft/BotBuilder-Samples/blob/main/samples/csharp_dotnetcore/56.teams-file-upload/README.md. This confirmed that I set up my Bot connector properly. Something is likely wrong on my Bot server.
  • I'm able to use Postman to send POST requests to my Bot servers. It's just the messaging endpoint that results in 0 log.
Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
751 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,715 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.
2,886 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Herman Edwards 6 Reputation points
    2021-08-25T08:01:46.437+00:00

    Updates

    • On updating the messaging endpoint of Bot. I noticed that a new request gets sent on Teams. However, the Bot connector does not send anything to my Bot server...
    • I feel like Bot connector determines that my ur is invalid and never send any request to my Bot server.

    126220-image.png

    0 comments No comments