question

VangelKolarov-5961 avatar image
0 Votes"
VangelKolarov-5961 asked VincentDemers-3848 answered

Empty timeline for authenticated users in Azure Application Insights

I have Blazor WASM application (.NET 5) hosted on Azure AppServices. I configured the authenticated users for application Insights as is described in this article: https://docs.microsoft.com/en-us/azure/azure-monitor/app/api-custom-events-metrics#authenticated-users. I end up with the following code in my Authentication.razor file:94717-devenv-wyj6gwrnjj.png

I can see the authenticated user in the Users chart:94743-azure-app-insights-1.png

But after I click on View user timeline, I see an empty timeline:94718-azure-app-insights-2.png

Any advice or hint of what I'm doing wrong?


azure-webappsazure-monitor
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@VangelKolarov-5961, when you open View user timeline do you see any warnings or errors in the activity log? If not, do you see any errors in the browser network traffic tools?

0 Votes 0 ·

@ryanchill , Thank you for your answer and suggestions.

I do not have any records in my activity log:
95933-azure-app-insights-activity-log.png

Also, I do not have any error in the browser's network tab of the dev tool when I click on View user timeline:
95903-chrome-devtool-network.png

I tried with the browser incognito mode and with a different browser but with no success.

Also if there is an existing sample project that I can compare with my source code will be very helpful.


0 Votes 0 ·

@VangelKolarov-5961 Can you check if user_AuthenticatedId has same value as user_Id or not? The user_AuthenticatedId will pass into user timeline View blade when selecting authenticated Users.

0 Votes 0 ·

1 Answer

VincentDemers-3848 avatar image
0 Votes"
VincentDemers-3848 answered

I also have this problem. Really makes working with the data hard. Anything else I could do to help with the diagnostic ?

Thanks.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.