Skip to content

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

Closed
@neha-bhargava

Description

@neha-bhargava

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions