<PackageReference Include="Microsoft.Identity.Client" Version="4.86.0" />

Microsoft.Identity.Client.Extensibility.ManagedIdentityApplicationBuilderExtensions

Extensibility methods for ManagedIdentityApplicationBuilder.

Configures an async callback invoked when a fire-and-forget background (proactive) token refresh completes. Proactive refresh runs on a background thread after the caller has already received a valid cached token, so its outcome (latency, failures) is otherwise unobservable. This callback surfaces it, e.g. for telemetry.