Unable to add users to Azure AD–synced Databricks group via SCIM (InternalError)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2026 07:02 AM
Hi everyone,
I’m trying to add users to an existing Databricks group programmatically using the Databricks SDK (SCIM PATCH), but I consistently hit an internal error and can’t tell if this is expected behavior or a limitation.
My main goal is adding users to groups over code somehow that's the code I was trying
from databricks.sdk import WorkspaceClient
from databricks.sdk.service.iam import Patch, PatchOp
w = WorkspaceClient()
w.groups.patch(
id=GROUP_ID,
operations=[
Patch(
op=PatchOp.ADD,
path=f'members[value eq "{USER_ID}"]'
)
],
)