MicrosoftDocs / appcenter-docs

content repo for Visual Studio App Center on docs.microsoft.com
https://docs.microsoft.com/appcenter/
Creative Commons Attribution 4.0 International
122 stars 320 forks source link

Retention section #1136

Open Tommigun1980 opened 4 years ago

Tommigun1980 commented 4 years ago

The document says that data exported to Application Insights should visualise retention, but when retention is viewed in Application Insights it does visualise everything correctly, but after a few seconds hides the graph and instead prints:

"Unique user_id not detected. Showing DEMO (Read only) data. If you have instrumented events or page views in a server application, you can enable this feature by definining user_id using a telemetry initializer."

The field mapping section in the documentation claims: App Center: Uniquely user identifier -> Application Insights: user_Id

So according to the documentation this should be automatic.

Is the documentation outdated, or is the feature broken? If the feature is broken -- could you please forward this to the Azure or App Center teams? I haven't found a way to report bugs like these to the service teams.

Thanks.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Tommigun1980 commented 4 years ago

For whatever reason the error message is no longer showing in Application Insights.

However, AppCenter doesn't forward the user id as set in AppCenter.SetUserId to Application Insights. This causes any Application Insights visualisation that concerns users, such as retention, to show incorrect values.