user_AuthenticatedId column empty in appInsights requests and traces
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Domain
- observability-sre
Research direction
Start with the official Azure Monitor documentation and the ApplicationInsights-Java-Repros example referenced in the report, then reproduce the behavior with Java Agent 3.7.3, Spring 4.3, and the shown OpenTelemetry attributes. Trace how enduser.id and enduser.pseudo.id are handled for requests and traces. Done means the expected user_AuthenticatedId and related fields are populated consistently.
Written by the indexing model from the issue text.
Description
Expected behavior
After following official documentation, I expect user_AuthenticatedId to be populated in requests table of AppInsights.
Actual behavior
user_AuthenticatedId is still empty (as well was customDimension is not populated).
To Reproduce
Submitting a PR with an example reproducing the issue in this repository would make it easier for the Application Insight maintainers to help you. Before doing this, you have to fork this repository.
System information
Please provide the following information:
- SDK Version: Agent Azure Monitor Java 3.7.3
- OS type and version: Linux with Apache Tomcat 9.0
- Application Server type and version : Web App service with WAR deployment
- Using spring-boot? Spring Framework 4.3
- Additional relevant libraries (with version, if applicable):
opentelemetry-apiversion1.0.0or1.63.0(latest)
Logs
There is no relevant log in /var/log/applicationinsights/applicationinsights.log:
2026-06-24 19:12:03.159Z INFO c.m.applicationinsights.agent - Java version: 1.8.0_472, vendor: Temurin, home: /usr/lib/jdk/jre
2026-06-25 05:59:52.235Z WARN i.o.s.a.ResourceConfiguration - Found reference to io.opentelemetry.sdk.autoconfigure.internal.Envi
2026-06-25 06:00:11.559Z INFO c.m.applicationinsights.agent - Application Insights Java Agent 3.7.3 started successfully (PID 169
2
Screenshots
This…
log.info("Span valid: {}", span.getSpanContext().isValid());
Span.current().setAttribute("test.attribute", currentUserId);
Span.current().setAttribute("enduser.id", currentUserId);
Span.current().setAttribute("enduser.pseudo.id", currentUserId);
… produces this…
test.attributeis populated incustomDimensionsofrequestscustomDimensionsdoes not containenduser.idandenduser.pseudo.idpropertiesuser_AuthenticatedIdis emptyuser_Idis empty
- Dominant language
- Java
- Stars
- 327
- Forks
- 222
- Avg merge
- 22h 34m
- Merged PRs (30d)
- 14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/ApplicationInsights-Java
-
microsoft/ApplicationInsights-Java#4851 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/ApplicationInsights-Java#4817 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
microsoft/ApplicationInsights-Java#4769 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/ApplicationInsights-Java#4729 · 121 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
All issues in microsoft/ApplicationInsights-Java
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1152 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jenkinsci/blueocean-plugin#5417 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objectionary/eo-graphs#75 ·