[FEATURE] Support getting account level `databricks_group` for workspace admins
Use-cases
We're managing a few databricks workspaces and would like to migrate to more unity catalog features. When trying to use databricks_permission_assignment to add an account level group to the workspace this fails, since we don't have account level permissions.
It appears that the {workspace-domain}/api/2.0/account/scim/v2/ API documented here:
https://learn.microsoft.com/en-us/azure/databricks/administration-guide/users-groups/groups#--manage-account-groups-using-the-api
is not supported / implemented.
Attempted Solutions
Tried fetching account-level group information via the account api.
Proposal
Not sure to be honest.
Since this is a workspace api it would probably be appropriate to have some flag on the databricks_group|user|service_principal?
References
(https://learn.microsoft.com/en-us/azure/databricks/administration-guide/users-groups/groups#--manage-account-groups-using-the-api)
+1 for this feature request
hey @alexott , @sebbegg
It will be great if this is implemented. It will ease the permissions management especially around isolating IaC for different Databricks projects in big organizations. (managing groups will not require admin permissions anymore)
We are dependent on the availability of corresponding APIs - when it will be available, then implementation starts
yes, I saw the comment in #1944 . I hope Databricks team will release this soon :)