Skip to content

[Hotfix 24.2.1] Wire ClientDataInfo through AcquireTokenResult (#3109), Fixes AB#3604499#3118

Merged
fadidurah merged 4 commits into
working/release/24.2.1from
fadi/hotfix-24.2.1-wire-clientdata
May 16, 2026
Merged

[Hotfix 24.2.1] Wire ClientDataInfo through AcquireTokenResult (#3109), Fixes AB#3604499#3118
fadidurah merged 4 commits into
working/release/24.2.1from
fadi/hotfix-24.2.1-wire-clientdata

Conversation

@fadidurah
Copy link
Copy Markdown
Contributor

Cherry-picks #3109 (squash commit 26de108) onto working/release/24.2.1 for the 24.2.1 hotfix.

Propagates the parsed x-ms-clientdata (token endpoint) and clientdata query parameter (authorize endpoint) data from the response handlers through TokenResult, MicrosoftStsAuthorizationResult, and ultimately onto AcquireTokenResult so callers can access server-side telemetry (error, sub-error, account type, cloud instance, data boundary). All propagation is gated behind the ENABLE_SERVER_CLIENT_DATA_TELEMETRY flight.

Conflict resolution notes

The hotfix branch does not contain the onboarding-blob feature (PR #3088 / #3111) that landed on dev alongside #3109. To keep this hotfix scoped to ClientDataInfo only, the following PR-side additions were dropped during cherry-pick:

All ClientDataInfo plumbing from #3109 is preserved unchanged.

AB#3604499

Propagate the parsed x-ms-clientdata (token endpoint) and clientdata
query parameter (authorize endpoint) data from the response handlers
through TokenResult, MicrosoftStsAuthorizationResult, and ultimately
onto AcquireTokenResult so callers can access server-side telemetry
(error, sub-error, account type, cloud instance, data boundary).

[AB#3604499](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3604499)

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@fadidurah fadidurah requested review from a team as code owners May 16, 2026 00:11
@github-actions github-actions Bot changed the title [Hotfix 24.2.1] Wire ClientDataInfo through AcquireTokenResult (#3109) [Hotfix 24.2.1] Wire ClientDataInfo through AcquireTokenResult (#3109), Fixes AB#3604499 May 16, 2026
fadidurah and others added 3 commits May 15, 2026 21:20
…i/hotfix-24.2.1-wire-clientdata

# Conflicts:
#	changelog.txt
#	common/src/main/java/com/microsoft/identity/common/internal/broker/BrokerResult.java
#	common/src/test/java/com/microsoft/identity/common/internal/request/MsalBrokerResultAdapterTests.kt
#	common4j/src/test/com/microsoft/identity/common/java/result/AcquireTokenResultTest.java
Updated changelog to include new version details and patches.
Updated changelog with new entries and version 24.2.0 details.
@fadidurah fadidurah merged commit 1586383 into working/release/24.2.1 May 16, 2026
2 of 8 checks passed
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.

2 participants