Forum Discussion
mattphillips
Jul 21, 2022Copper Contributor
Self hosted Bot works in bot framework but not within Teams
I created my bot via https://docs.microsoft.com/en-us/microsoftteams/platform/toolkit/visual-studio-overview and I'm hosting it within IIS. I have the blazor tab page working correctly and can see lo...
Keshav-MSFT
Jul 28, 2022Former Employee
mattphillips Hi please share with Repo step and also let us know where you are able to run the bot without any issue.
- ChetanSharma-msftAug 01, 2022
Microsoft
mattphillips - You need to configure bot registration settings.
Please refer this documentation: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-manage-settings?view=azure-bot-service-4.0&tabs=userassigned
If you are using IIS, how are you adding the messaging endpoint for your application.
Also, you need to enable Teams channel in Azure bot to work your bot in Teams.
Reference doc: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-manage-channels?view=azure-bot-service-4.0- Keshav-MSFTAug 03, 2022Former Employeemattphillips Could you please confirm if your issue has resolved with above suggestion or still looking for any help?
- mattphillipsAug 03, 2022Copper ContributorKeshav-MSFT I've put at ticket through the Microsoft 365 support as the responses here did not help as I'm not using an azure bot and the links given follow a different documentation to what I've been using so it doesn't seem to apply to my issue.