Share via

How do bots work properly in App Studio?

Martin Bilda 176 Reputation points
2020-04-06T15:07:22.433+00:00

Hi,
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 for business | Other
0 comments No comments

Answer accepted by question author

Martin Bilda 176 Reputation points
2020-04-07T11:55:27.367+00:00

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!

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. JimmyYang-MSFT 58,781 Reputation points Moderator
    2020-04-07T08:19:57.653+00:00

    Hi MartinBilda!
    You can try to check your steps by referring to this official documents:
    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/create-a-bot-for-teams

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.