You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stack trace below. Probably a bug related to the ApiEvent collection, which is not thread safe.
Please consider refactoring telemetry, as the current infrastructure is very complex for our needs (i.e. deprecate WithTemelemetry and all references to MATS).
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at <redacted>
at System.Collections.Generic.Dictionary2.Enumerator.MoveNext()
at Microsoft.Identity.Client.Internal.Requests.RequestBase.InitializeApiEvent(String accountId)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.ApiConfig.Executors.ConfidentialClientExecutor.ExecuteAsync(AcquireTokenCommonParameters commonParameters, AcquireTokenForClientParameters clientParameters, CancellationToken cancellationToken)
at <redacted>
--- End of inner exception stack trace ---
at <redacted>
at <redacted>
<redacted>
---> System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at Microsoft.Identity.Client.ApiConfig.Parameters.AcquireTokenCommonParameters.AddApiTelemetryFeature(ApiTelemetryFeature feature)
at Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder1.WithAuthority(String authorityUri, Boolean validateAuthority)
at <redacted>
To-do:
Fix the bug
Update dev app with repro
The text was updated successfully, but these errors were encountered:
MSAL 4.37.0
Stack trace below. Probably a bug related to the ApiEvent collection, which is not thread safe.
Please consider refactoring telemetry, as the current infrastructure is very complex for our needs (i.e. deprecate WithTemelemetry and all references to MATS).
To-do:
The text was updated successfully, but these errors were encountered: