Forum Discussion

mattphillips's avatar
mattphillips
Copper Contributor
Jul 21, 2022

Self hosted Bot works in bot framework but not within Teams

I created my bot via this guide and I'm hosting it within IIS. I have the blazor tab page working correctly and can see logs being generated to show the bot is being called. 

 

I've put it through the bot framework V4 program and I get responses and can see the activity cards being sent, however once I publish to the Teams Dev Portal and load it within teams nothing happens. I get a basic log file as below.

 

info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: \\"server"\WebSites\"appName"\
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...

 

I'm at a loss of where to go next with this bot, the config and manifest files seem correct to me but something isn't right if it still doesn't work within Teams itself. If more logs are needed let me know

Resources