Skip to content

Conversation

@threddy
Copy link
Contributor

@threddy threddy commented Jan 16, 2026

Why?
Today we set the caller and agent UPN attribute values to the "Name" from turnContext. This is not a UPN. These fields have specific downstream uses. Not setting a valid UPN breaks them.

image

What?
Just dont set the value of UPN. This way it can be identified as a missing attributes during certification, and the agent developer can get it via a graph call or any other mechanism and set it to a valid value.

@threddy threddy requested a review from a team as a code owner January 16, 2026 21:12
Copilot AI review requested due to automatic review settings January 16, 2026 21:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the observability telemetry implementation by removing incorrect UPN attribute assignments from turn context extraction methods. The "Name" property from turn context activities contains display names, not User Principal Names (UPNs), which have specific downstream uses and certification requirements.

Changes:

  • Removed incorrect GenAiCallerUpnKey assignment from GetCallerBaggagePairs method
  • Removed incorrect GenAiAgentUPNKey assignment from GetTargetAgentBaggagePairs method

juliomenendez
juliomenendez previously approved these changes Jan 16, 2026
fpfp100
fpfp100 previously approved these changes Jan 16, 2026
@threddy threddy dismissed stale reviews from fpfp100 and juliomenendez via 5fe7fa6 January 17, 2026 00:18
Copilot AI review requested due to automatic review settings January 17, 2026 00:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants