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

Microsoft.Identity.Client.TelemetryCore.OpenTelemetry.OtelEnrichmentHelper

static class OtelEnrichmentHelper
public static IReadOnlyList<KeyValuePair<string, object>> MaterializeExtraTags(Action<ExecutionResult, IList<KeyValuePair<string, object>>> tagsEnricher, Func<ExecutionResult> executionResultFactory, ILoggerAdapter logger)

Invokes the caller-supplied OTel tags enricher exactly once per acquisition and returns the materialized set of extra tags. The same fixed set is then merged into every instrument's canonical base tags, so the delegate runs once (not once per metric) and a throwing enricher logs at most one warning per acquisition.