Blog Post

Microsoft Teams Blog
1 MIN READ

Introducing Tunnel Relay

RamjotSingh's avatar
RamjotSingh
Icon for Microsoft rankMicrosoft
Jan 29, 2018

As you get your hands into developing Messaging Extensions and Bots for Microsoft Teams (read announcement here), you will find yourself wishing for an easy way to have your Bot Framework bot registration point to a static callback URL that routes to code running on your local dev machine.  

 

Well, we have a solution for you and it is called Tunnel Relay. Tunnel Relay allows you to expose local services to the outside work over HTTPS using Azure Service Bus Relay. 

 

To use it, just download the setup from here and sign-in, copy the incoming requests URL (shown below), and paste into Bot Framework portal's page for your bot’s registration. And that's it, you are good to go!

 

So, copy the URL circled below:
And paste it into Bot Framework portal, after appending /api/messages (or whatever the relative URL to your controller is):

 

 

Tunnel Relay is open-source and is my side-project in Microsoft Teams team (oh btw, we are hiring!). Your code contributions are welcome, and so are bug reports (report here). 

 

Download Tunnel Relay 

 

 

Updated Jan 26, 2021
Version 4.0

11 Comments