I have set up an Azure Bot with Luis and QnA Maker (in C#, Bot Framework v4). I want to query the App Insights and get information about the questions asked together with their answer. I followed the answers here: How to get the Qna Maker "Q" from Analytics Application Insights?, and I was able to get them, but I need an additional field for storing the user role (it would be perfect if I could store it in the customDimension field).
I have followed the documentation from https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-telemetry?view=azure-bot-service-4.0 and I added the custom field like this:
var telemetryProperties = new Dictionary<string, string>
{
{ "dialogId", myDialogId },
};
var results = await qna.GetAnswersAsync(context, opts, telemetryProperties);
Still, I don't know if the value is saved or where it is saved. I the live metrics I see that the information is sent, but I can't find it anywhere in the Analytics/Logs.
If you need any further information, let me know.
Thank you!