microsoft/PowerPlatform-DataverseServiceClient

isOnPrem not passed down correctly when invoking GetAuthorityFromTargetServiceAsync

janis-veinbergs opened this issue · 0 comments

The following method call is not passing isOnPrem variable correctly:

var details = GetAuthorityFromTargetServiceAsync(ClientServiceProviders.Instance.GetService<IHttpClientFactory>(), processResult.TargetServiceUrl, logSink).ConfigureAwait(false).GetAwaiter().GetResult();

Thus it prevents falling through invalid WWW-Authenticate headers downstream: