diff --git a/src/Common/CosmosClient.ts b/src/Common/CosmosClient.ts index 82c09b59d..b194bb7af 100644 --- a/src/Common/CosmosClient.ts +++ b/src/Common/CosmosClient.ts @@ -29,7 +29,6 @@ export const tokenProvider = async (requestInfo: Cosmos.RequestInfo) => { } const AUTH_PREFIX = `type=aad&ver=1.0&sig=`; const authorizationToken = `${AUTH_PREFIX}${userContext.aadToken}`; - console.log(`Returning Auth token`); return authorizationToken; } diff --git a/src/hooks/useKnockoutExplorer.ts b/src/hooks/useKnockoutExplorer.ts index e3dafc99e..60f016d78 100644 --- a/src/hooks/useKnockoutExplorer.ts +++ b/src/hooks/useKnockoutExplorer.ts @@ -521,7 +521,9 @@ async function configurePortal(): Promise { useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled }); } } else { - await fetchAndUpdateKeys(subscriptionId, resourceGroup, account.name); + if (userContext.apiType !== "Postgres" && userContext.apiType !== "VCoreMongo") { + await fetchAndUpdateKeys(subscriptionId, resourceGroup, account.name); + } } explorer = new Explorer();