Skip to main content

Databricks account SCIM

Databricks is a data and AI platform. This connector uses the account-level SCIM API, which covers the whole Databricks account, not one workspace. Owlie syncs account users, groups and direct group membership. It can also create, update, disable, enable and delete users, create and delete groups, and add or remove group members.

Capabilities​

CapabilitySupportedDetails
SyncYesUsers and groups, plus group membership.
Incremental syncNoEvery run is a full sync.
Account provisioningYesUsers: create, update attributes, disable, enable and revoke. By default, revoking disables the user.
Grant writesYesGroup membership (member_of).
NotificationsNo
Custom operationsNo

Authentication​

The connector has one authentication method, Bearer token. Owlie sends a token that you create in Databricks with every SCIM request. You own the token and decide when to rotate it.

Get credentials from Databricks​

  1. Sign in to the Databricks account console as an account admin.
  2. Create the account's SCIM token, or rotate it, and copy it.
  3. Note the account ID and the account console's domain.

Use the account-level SCIM API, not a workspace URL. Databricks describes it in Sync users and groups from your identity provider using SCIM.

Connect Databricks account SCIM in Owlie​

FieldRequiredWhat to enter
Account domainYesThe account console's host. The default is accounts.cloud.databricks.com.
Account IDYesYour Databricks account ID.
User fieldsYesThe user attributes this installation syncs and provisions, each bound to a SCIM path. The defaults suit most installations.
Group fieldsYesThe group attributes this installation syncs, each bound to a SCIM path.
Bearer tokenYesThe token you copied. Owlie stores it as a secret.

Owlie calls https://<account domain>/api/2.1/accounts/<account ID>/scim/v2. The connection test lists one user and one group.

The connector runs in Owlie's cloud. If the endpoint is reachable only from your network, turn on Run through gateway in the install form's Execution section. See private-network gateways.

Entities​

EntityIn DatabricksIdentifierKey attributesSyncCreateUpdateDeleteGrants (as target)
UserA user. This is the account entity.id, userName, or externalIduserName, email, givenName, familyName, displayName, externalId, activeYesYesYesYesNo
GroupAn account-level group.id, or displayNamedisplayNameYesYesNoYesmember_of

Owlie shows a user whose active field is false as disabled. By default, Sync matches a user to an identity by the user's email, or userName when there is no email, against the identity's email. Change the matching rule on the account's Sync job. See account matching.

Grant kinds​

Grant kindIn DatabricksPrincipal → targetWritableQualifiersPasses access through
member_ofA user's direct membership of a group.User → GroupYesNoneYes: a member holds what the group grants.

Provisioning behaviour and limits​

OperationWhat happens in Databricks
ProvisionCreates the user.
Update attributesWrites the mapped fields, skipping read-only ones.
DisableSets the user's active attribute to false.
EnableSets the user's active attribute to true.
RevokeRemoves the user's managed memberships, then disables the user by default. To delete the user instead, change the revoke state in the provisioning profile.

The default provisioning profile gives a new user the Owlie identity's email as userName and email, and the identity's first name, last name and display name. Change these in the resource's provisioning profile.

Limits:

  • Owlie can create and delete groups through the connector, but it doesn't rename or otherwise update them.
  • Each Grant add or remove changes one user's membership of one group.
  • When the provider rate-limits a request, Owlie reports a temporary error that can be retried.

Troubleshooting​

An operation fails with "The connector's credentials were rejected by the provider." The token is wrong, expired or revoked, or it lacks the rights the request needs. Create a new token in Databricks and update Bearer token.

An operation fails with "The provider rate-limited the request." Databricks is throttling requests. Retry the operation later.

Changelog​

The Databricks account SCIM connector is at version 1. Owlie shows each connector's changelog with the connector in the catalog.