Fix workspace owners unable to access Databricks workspace#4855
Draft
marrobi wants to merge 1 commit intomicrosoft:mainfrom
Draft
Fix workspace owners unable to access Databricks workspace#4855marrobi wants to merge 1 commit intomicrosoft:mainfrom
marrobi wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Add Azure RBAC Contributor role assignment to workspace owners and researchers for the Databricks workspace resource to enable portal access. - Add roles.tf with RBAC assignments for workspace groups - Add workspace group ID variables for RBAC - Move workspace group params to install pipeline only - Remove unused Databricks provider - Upgrade AzureRM provider to 4.14.0 Fixes microsoft#4854
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit 28d4445. |
Member
Author
|
Need to check with a custom role with minimal permissions: { "id": "/providers/Microsoft.Authorization/roleDefinitions/900b4ced-1ab8-4538-9c19-e2a182a8ee24", "properties": { "roleName": "Reseracher_test", "description": "", "assignableScopes": [ "/providers/Microsoft.Management/managementGroups/dfad657e-4803-4ebe-b30f-280bd491b655" ], "permissions": [ { "actions": [ "*/read", "Microsoft.Databricks/register/action", "Microsoft.Databricks/accessConnectors/read", "Microsoft.Databricks/locations/getNetworkPolicies/action", "Microsoft.Databricks/locations/operationstatuses/read", "Microsoft.Databricks/workspaces/read", "Microsoft.Databricks/workspaces/refreshPermissions/action", "Microsoft.Databricks/workspaces/refreshWorkspaces/action", "Microsoft.Databricks/workspaces/dbWorkspaces/write", "Microsoft.Databricks/workspaces/outboundNetworkDependenciesEndpoints/read", "Microsoft.Databricks/workspaces/privateEndpointConnectionProxies/read", "Microsoft.Databricks/workspaces/privateEndpointConnectionProxies/validate/action", "Microsoft.Databricks/workspaces/privateLinkResources/read", "Microsoft.Databricks/workspaces/privateEndpointConnections/read", "Microsoft.Databricks/workspaces/virtualNetworkPeerings/read", "Microsoft.Databricks/operations/read" ], "notActions": [], "dataActions": [], "notDataActions": [] } ] } }Not sure if need:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
After deploying the Databricks workspace service, workspace owners and researchers cannot access the Databricks workspace through the Azure portal. They receive an access denied error when trying to navigate to the workspace.
Root Cause
Azure Databricks uses Microsoft Entra ID SSO for authentication with Just-in-Time (JIT) user provisioning. However, users also need an Azure RBAC role on the Databricks workspace resource for the Azure portal to allow navigation to the workspace.
Currently, the Databricks workspace service does not assign any Azure RBAC roles to workspace owners or researchers, preventing portal access.
Changes
roles.tfwith Azure RBAC Contributor role assignments for workspace owners and researchersworkspace_owners_group_idandworkspace_researchers_group_idvariablestemplate_schema.jsonReferences
Fixes #4854