diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetry.cs b/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetry.cs index e2d8ac0b93..272c11490a 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetry.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetry.cs @@ -316,7 +316,7 @@ private async Task SendAsync() async ValueTask CreateRequestMessage() { - INameValueCollection headersCollection = new NameValueCollectionWrapperFactory().CreateNewNameValueCollection(); + INameValueCollection headersCollection = new StoreResponseNameValueCollection(); await this.tokenProvider.AddAuthorizationHeaderAsync( headersCollection, endpointUrl,