Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion databricks/sdk/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ def for_resource(cfg: 'Config', resource: str) -> 'AzureCliTokenSource':
return token
except OSError:
logger.warning("Failed to get token for subscription. Using resource only token.")
else:
elif cfg.effective_azure_login_app_id != ARM_DATABRICKS_RESOURCE_ID:
# the proper fix has to be done on Databricks Platform side
logger.warning(
"azure_workspace_resource_id field not provided. " +
"It is recommended to specify this field in the Databricks configuration to avoid authentication errors."
Expand Down