diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs b/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs index 8b4aba4f41..4bbe6ae79d 100644 --- a/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs +++ b/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs @@ -1023,9 +1023,6 @@ public static SqlConnectionStringBuilder CreateConnectionStringBuilder(Connectio break; case "SqlLogin": break; - case "ActiveDirectoryPassword": - connectionBuilder.Authentication = SqlAuthenticationMethod.ActiveDirectoryPassword; - break; default: throw new ArgumentException(SR.ConnectionServiceConnStringInvalidAuthType(connectionDetails.AuthenticationType)); } diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs b/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs index 2c95003877..ad25aca5d3 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs @@ -1135,9 +1135,6 @@ public static SqlConnectionStringBuilder CreateConnectionStringBuilder(Connectio connectionBuilder.UserID = ""; connectionBuilder.Password = ""; break; - case "ActiveDirectoryPassword": - connectionBuilder.Authentication = SqlAuthenticationMethod.ActiveDirectoryPassword; - break; default: throw new ArgumentException(SR.ConnectionServiceConnStringInvalidAuthType(connectionDetails.AuthenticationType)); }