Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In case of proactive token refresh record telemetry for the background process that refreshes the token. #4492

Closed
neha-bhargava opened this issue Jan 10, 2024 · 0 comments · Fixed by #4561

Comments

@neha-bhargava
Copy link
Contributor

Library version used

4.58.1

.NET version

Net 6

Scenario

ConfidentialClient - service to service (AcquireTokenForClient)

Is this a new or an existing app?

None

Issue description and reproduction steps

When a token is refreshed as part of proactive token refresh, the token is returned to the user from the cache and the token source is recorded as "Cache". The telemetry for the background process is not recorded separately.

Relevant code snippets

No response

Expected behavior

Record telemetry for the background process as well.

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

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