diff --git a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs index d9ceb49c2d..acf224204a 100644 --- a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs +++ b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs @@ -572,9 +572,7 @@ private static TokenCredentialData CreateTokenCredentialInstance(TokenCredential DefaultAzureCredentialOptions defaultAzureCredentialOptions = new() { AuthorityHost = new Uri(tokenCredentialKey._authority), - SharedTokenCacheTenantId = tokenCredentialKey._audience, - VisualStudioCodeTenantId = tokenCredentialKey._audience, - VisualStudioTenantId = tokenCredentialKey._audience, + TenantId = tokenCredentialKey._audience, ExcludeInteractiveBrowserCredential = true // Force disabled, even though it's disabled by default to respect driver specifications. };