diff --git a/src/Common/CosmosClient.ts b/src/Common/CosmosClient.ts index 57d250531..476cd902f 100644 --- a/src/Common/CosmosClient.ts +++ b/src/Common/CosmosClient.ts @@ -148,6 +148,9 @@ export function client(): Cosmos.CosmosClient { endpoint: endpoint() || "https://cosmos.azure.com", // CosmosClient gets upset if we pass a bad URL. This should never actually get called key: userContext.masterKey, tokenProvider, + connectionPolicy: { + enableEndpointDiscovery: false, + }, userAgentSuffix: "Azure Portal", defaultHeaders: _defaultHeaders, };