02-01-2024 07:52 AM
Hi everyone,
I would like to know if the following behavior is expected or if it is a misconfiguration in SCIM
We are going through a change in the email of some users. So we did a test, changing the email of one of them, but the result was not OK because the old email remained active in Databricks, and the new one was not synchronized by SCIM.
Thank you for your help.
02-04-2024 10:58 PM
Hi @rfreitas , It is an expected behaviour because we don't support email or username updates/edits in the SCIM as of now. As per Databricks documentation, an email update is not supported in SCIM. You cannot update the username or email address of a Databricks workspace user.
Please refer this document : https://docs.databricks.com/en/administration-guide/users-groups/scim/aad.html#provisioning-tips
Also, before adding the new Email alias with the user name could you please try the following :
1. Delete the User from AD console and ensure that user has been deleted from AD application user lists and Groups.
2. Run an immediate sync from AD application : To request an immediate sync, go to Manage > Provisioning for the enterprise application and select Clear current state and restart synchronization.
3. Verify the Users list and Groups in the Databricks workspace are also upto date with user being Deleted from users list and Group in Databricks.
Important Note: Post this kindly add the new user to the AD application and again run the immediate sync and verify if the new user is being reflected in the groups also successfully.
02-04-2024 10:58 PM
Hi @rfreitas , It is an expected behaviour because we don't support email or username updates/edits in the SCIM as of now. As per Databricks documentation, an email update is not supported in SCIM. You cannot update the username or email address of a Databricks workspace user.
Please refer this document : https://docs.databricks.com/en/administration-guide/users-groups/scim/aad.html#provisioning-tips
Also, before adding the new Email alias with the user name could you please try the following :
1. Delete the User from AD console and ensure that user has been deleted from AD application user lists and Groups.
2. Run an immediate sync from AD application : To request an immediate sync, go to Manage > Provisioning for the enterprise application and select Clear current state and restart synchronization.
3. Verify the Users list and Groups in the Databricks workspace are also upto date with user being Deleted from users list and Group in Databricks.
Important Note: Post this kindly add the new user to the AD application and again run the immediate sync and verify if the new user is being reflected in the groups also successfully.
02-06-2024 12:20 PM
Thanks for sharing the helpful docs and tips.
We'll definitely consider your suggestions and try to come up with a solution that minimizes the impact on our end users.
02-06-2024 10:30 PM
Hi @rfreitas thank you for writing us back.
Please leave a like if the above suggestion helps, follow-ups are appreciated.
Kudos,
Ayushi
02-14-2024 07:49 AM
An update on this case.
I've been doing some tests with the Databricks API https://docs.databricks.com/api/azure/workspace/users/patch
I was able to update the user's status, but when I try to update the userName, the API says it's successful, but the change doesn't actually happen.
Is it possible to use the API to do this?
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group