Forum Discussion

Alwin_Lat's avatar
Alwin_Lat
Copper Contributor
May 14, 2025

Firewall whitelist rule/s for Teams custom app bot

I have a custom app that implements a bot in Teams, the bot url points to a server hosted within my local network. All works fine when my firewall is turned off.

So my question is - what ip address needs to be whitelisted to allow the teams bot in?

2 Replies

  • Microsoft does not provide a single static IP for Teams bot. For development, you can use ngrok to tunnel your local bot to a public HTTPS endpoint, which avoids firewall issues. For production, deploy your bot to Azure or another public cloud.

     

     

     

    Thanks, 

    Prasad Das

    ------------------------------------------------------------------------------------------  

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.  

    • Alwin_Lat's avatar
      Alwin_Lat
      Copper Contributor

      Thanks, those may be options to explore. I was hoping to get some IP list to whitelist because no matter where the endpoint is hosted, it may still be secured behind a firewall.

Resources