botframeworkazure-application-insightscortanacortana-skills-kit

Cortana channel user/bot messages doesn't appear in App insights and analytics


I have noticed a weird issue wherein the messages are not logged in the Application insights when the conversation happens from Cortana channel. Other channels are logged.

The bot is built using C# and working properly and all, just that the Activity events are not getting logged in App insights while using from cortana, thus not showing in Analytics as well. I had quite a few conversations from cortana channel.

enter image description here

None in Application insights analytics as well. enter image description here


Solution

  • the Activity events are not getting logged in App insights while using from cortana

    I enabled webchat, Direct Line and Cortana channels, and did a test. I can reproduce the issue, the Activity events can be logged in Application insights for webchat and Direct Line channel, but it seems not log Activity events from Cortana channel.

    enter image description here

    Query result: (in Channel ID field, we can find activity from directline channel are logged, but no activity from Cortana channel is logged)

    enter image description here

    If possible, you can give a feedback on “Azure Bot Service Customer Feedback site” or github issues to report it.

    Besides, if you’d like to trace the conversation happens from Cortana channel, you can try to query data from dependencies.

    enter image description here