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

Microsoft.Identity.Client.Extensibility.AbstractManagedIdentityAcquireTokenParameterBuilderExtension

Extension methods for managed identity acquire-token requests ( AbstractManagedIdentityAcquireTokenParameterBuilder<T>).

Registers a delegate that adds additional tags (dimensions) to the OpenTelemetry metrics MSAL emits for this managed identity token acquisition. The delegate is invoked while MSAL records its metrics and receives the ExecutionResult of the acquisition (indicating success or failure, with the result or exception) together with a mutable list of tags. Tags appended to that list are attached to every metric recorded for the request, including metrics emitted during proactive background refresh.