diff --git a/config/config_file.go b/config/config_file.go index 103c5dfa2..516ac344b 100644 --- a/config/config_file.go +++ b/config/config_file.go @@ -19,7 +19,7 @@ func (l KnownConfigLoader) Configure(cfg *Config) error { // Skip loading config file if some authentication is already explicitly // configured directly in the config by a user. // See: https://github.com/databricks/databricks-sdk-go/issues/304 - if cfg.Profile == "" && l.isAnyAuthConfigured(cfg) { + if cfg.Profile == "" && (l.isAnyAuthConfigured(cfg) || cfg.IsAzure()) { return nil } configFile := cfg.ConfigFile