botframeworkazure-application-insightsbot-framework-composer

Custom Telemetry from Bot Framework Composer not being consistently logged in Application Insights


Currently building out a bot in Bot Framework Composer and deploying it on the Teams client. I suddenly am having issues since last week where my custom telemetry ("telemetry - track action") is no longer showing any results in Application Insights. The few that did also only save one property and not the others (see image below). Other events (LUIS, bot message received, etc) all show up in real time and correctly.

The only telemetry event that saved in the past week (there should be at least 10 saved), with only one property logged

The telemetry event and its properties


Solution

  • This is a known bug in Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime version greater than 4.15.0

    There is a pull request for this issue and most likely will be fixed in next release of botbuilder-dotnet

    PR https://github.com/microsoft/botbuilder-dotnet/pull/6391

    A workaround for now is to downgrade the Adaptive.Runtime package to 4.14.0

    To learn how to downgrade packages in .NET, here is doc to Install and manage packages in Visual Studio using the NuGet Package Manager