How do bots work properly in App Studio?

Martin Bilda 171 Reputation points

I have created a sample organization with AAD using the E5 license. This allows me to use teams as well. Now I want to use App Studio to create my own Team App and add a bot. In the App Studio settings you will find the Bots button where you can create a new Bot. I have done this and added a messaging endpoint. This points to a locally hosted web service.
URL: https://www.localhost:8443/services/rest/mywebservice
According to App Studio, you don't need more settings. Now I create my app and upload it to my MSTeams team by clicking the button "Upload Custom App". It is now also available to me. I can access the app via @mention. But if I type "@mention hello" now, nothing happens.
If I access my web service via Postman I get the response: "Hello, I am the response". What am I doing wrong? Please help me!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,407 questions
0 comments No comments
{count} votes

Accepted answer
  1. Martin Bilda 171 Reputation points

    I have found a solution for my problem myself. So all those who might have the same problem: Microsoft teams do not support web service endpoints on localhost!
    I got ngrok and created a tunnel to my localhost address. So it worked!

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. JimmyYang-MSFT 49,886 Reputation points Microsoft Vendor

    Hi MartinBilda!
    You can try to check your steps by referring to this official documents: