From aff9adf730d1101023787fe33e6780013612b8b0 Mon Sep 17 00:00:00 2001 From: Justin M <63619224+JustinMDotNet@users.noreply.github.com> Date: Thu, 18 Feb 2021 10:30:02 -0800 Subject: [PATCH] Add dstsAuth as option for saved credential in connectionStore.ts (#14332) --- src/sql/platform/connection/common/connectionStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/platform/connection/common/connectionStore.ts b/src/sql/platform/connection/common/connectionStore.ts index a284252a0a..a3d3e5ccac 100644 --- a/src/sql/platform/connection/common/connectionStore.ts +++ b/src/sql/platform/connection/common/connectionStore.ts @@ -89,7 +89,7 @@ export class ConnectionStore { } return { profile: credentialsItem, savedCred: !!savedCred }; }); - } else if (credentialsItem.authenticationType === 'AzureMFA' && credentialsItem.azureAccount) { + } else if (credentialsItem.authenticationType === 'AzureMFA' || credentialsItem.authenticationType === 'dstsAuth' && credentialsItem.azureAccount) { return Promise.resolve({ profile: credentialsItem, savedCred: true }); } else { // No need to look up the password