Azure Databricks Admin Access Persists After Secure Cloud Access Session Ends
Symptom
When users access an Azure Resource Group (RG) through Idira Secure Cloud Access (SCA) with the Contributor role, and the RG contains an Azure Databricks workspace, the user may be granted Databricks Workspace Admin privileges. When the SCA session ends, the Contributor role is removed, but the Databricks Admin role remains assigned, requiring manual removal.
This behavior is not controlled by Idira SCA and is the result of Microsoft‑managed role inheritance within Azure Databricks.
Environment
Secure Cloud Access (SCA) SCA UI
- Idira Secure Cloud Access (SCA)
- Microsoft Azure
- Azure Resource Groups
- Azure Databricks Workspaces
Cause
This behavior is due to Azure Databricks role mapping and automatic privilege assignment, not Secure Cloud Access.
Key points:
- Azure Databricks automatically maps certain Azure RBAC roles (such as Contributor or Owner) to Databricks Workspace Admin.
- This mapping is performed by Microsoft when access to the Databricks resource is detected.
- Idira SCA:
- Grants and revokes Azure RBAC roles only
- Has no visibility or control over Databricks‑internal role assignments
- When SCA revokes the Contributor role:
- Azure removes the RG‑level access
- Databricks does not automatically revoke the previously assigned Workspace Admin role
The customer independently confirmed that the Databricks Admin assignment is automatically applied by Microsoft.
Resolution
Recommended Mitigations / Workarounds
Since this behavior is controlled by Microsoft, the following mitigations are recommended:
Option 1: Review Azure Databricks Admin Mapping
- Review Azure Databricks configuration to understand which Azure RBAC roles map to Workspace Admin.
- Avoid granting broad Azure roles (Contributor/Owner) to users who should not receive Databricks Admin access.
Option 2: Manual or Automated Cleanup
- Implement manual review or automation (scripts/runbooks) to remove Databricks Admin assignments after SCA sessions.
- This cleanup must be performed outside of Idira SCA.
Option 3: Use Databricks‑Native Access Controls
- Manage Databricks permissions directly within the Databricks workspace.
- Use Databricks‑scoped roles instead of relying on Azure RG‑level permissions.