Is it possible to test my Bot application in Microsoft Teams or Skype after registering in bot dir but without publishing it?

Solution 1:

Yes, it's possible. You need to use a tool like ngrok to create a tunnel to your local environment.

In a nutshell, you need to run (assuming your local bot is running on port 3979):

ngrok http -host-header=rewrite 3979

And then update your bot endpoint in the Bot Framework portal with the url ngrok will provide you.

ngrok config
(source: windows.net)

See this post for all the details