The bot application is hosted in AKS and service is exposed via azure application gateway. Traffic from webchat is logged in AzureDiagnostics table, but traffic from Teams is not reaching the application gateway, meaning no logs of traffic. But when the endpoint of the same appID is changed to a self-hosted URL traffic is reaching the service.
Note: Application gateway is configured with external public DNS, well known CA certificate, multi site listener and WAF disabled
Is there anyway to trace traffic from azure bot service to the endpoint?
Edit: Enabled Application Insights, with which the message seems to reach Microsoft.BotService. But it does not in turn reach Application Gateway.
customDimensions
{"Conversation ID":"a:1vstDiztKcL0xGIiDfmxdvXOq8YBiaEK9sQOn9BSUR26SFEiSBmtEgBErUmtYaEQ1JnsKD5mL2NvaXWiO3jMp_BjCZYsaQrd2KTDTepiqqKP-Eirna2BrcRZDxLwm7mBb","Activity type":"message","Activity ID":"1588002132547","Channel ID":"msteams","EventName":"Activity","Recipient ID":"28:63148178-66a2-4f4a-9b66-d0e6d66ee848","From ID":"29:1zQLscSre40-ZdcWvVvzbbfjOpLMydkjdh3aTdPzwYfduwU9y10aViImc08CUkldfjlkdjflkdsjfOk4KsKJ0Sg","Bot ID":"MBFBOT"}
client_Type PC
client_IP 0.0.0.0
client_City Central
client_StateOrProvince Central and Western District
client_CountryOrRegion Hong Kong
cloud_RoleInstance RD00155DB5D431
appId fc983553-f680-4dc5-9b4a-1893566cb82b
appName MBFBOT
sdkVersion dotnet:2.6.4-28384
TrustServiceUrl()
, as described here, and let me know if it works. – Steven Kanberg