Hi community,
Azure databricks recently announced a new user management feature (now in public preview) called automatic-identity-management , which allows Azure databricks to access Azure Entra ID directly and grant users and groups permissions and roles in Databricks directly, without needing a SCIM provisioning application.
I have enabled this feature and have successfully provisioned test users into my workspace. However, I have not been successful at configuring this through Terraform.
Here is some code I have attempted:
resource "databricks_group" "test" {
display_name = "auto-provisioning-test"
allow_cluster_create = true
workspace_access = true
}
data "azuread_group" "test" {
display_name = "SGA_DATABRICKS_Test" # Entra group
}
resource "databricks_group_member" "test" {
group_id = databricks_group.test.id
member_id = data.azuread_group.test.object_id
}
I also tried
data "databricks_group" "test" {
display_name = "SGA_DATABRICKS_Test" # Entra group
}
But both attempts gave me a "Error: cannot read group member: Group has no member" error.
Is there a correct way to do this?