OAuthLevel Parameter (Connect-Databricks Cmdlet)
Specifies whether the provider performs OAuth authentication at the workspace level or at the account level in Databricks.
Syntax
Connect-Databricks -OAuthLevel string
Possible Values
WorkspaceLevel, AccountLevelData Type
cstr
Default Value
"WorkspaceLevel"
Remarks
The OAuthLevel property determines the scope of OAuth authentication when connecting to Databricks. When this property is set to WorkspaceLevel, the 本製品 authenticates to a specific workspace and obtains an OAuth token that grants access only within that workspace.
When this property is set to AccountLevel, the 本製品 authenticates through the account console and obtains a token that grants access to account-level resources. This level is required for features such as Unity Catalog or user and permission management across multiple workspaces.
This property is useful for choosing the OAuth token scope that matches your intended access level and deployment configuration in Databricks.