Here are some helpful tips/tricks, and general guidance.
Sharing notebooks with users who are members of Active Directory (AD) groups can sometimes be challenging due to the way Azure Databricks handles user permissions. Here are some important points regarding your situation:
Key Points
-
AD Group Membership: When users are assigned to a workspace through an AD group, they should automatically have access to certain resources, including Unity Catalog objects. However, for notebooks and other workspace objects, it appears that only users directly assigned to the workspace are recognized when sharing.
-
Current Behavior: The observed behavior you described, where you can see users directly assigned to the workspace but not those in AD groups, is consistent with how Azure Databricks manages permissions for notebooks and workspace objects. This can be confusing and feels counter to the concept of AD groups.
-
Unity Catalog vs. Notebooks: The difference in visibility and permission settings can be attributed to the distinct ways Azure Databricks integrates with Microsoft Entra ID for Unity Catalog versus workspace objects. While AD group members can access data in Unity Catalog without being individually added to the workspace, this does not carry over to notebook sharing.
Recommendations
-
User Assignment: Unfortunately, if you want to share notebooks with all users in an AD group, you may need to assign those users directly to the workspace. This does feel like a breakdown in leveraging AD groups effectively, but it currently aligns with the specified architecture of Azure Databricks.
-
Look for Updates: Keep an eye on updates from Azure Databricks, particularly around automatic identity management. Features and functionalities evolve, and future enhancements may address this limitation.
Conclusion
At this time, the mechanism does require individual assignments for notebook sharing, which does indeed impact the efficiency of group management. You may also want to provide feedback to Azure Databricks regarding this behavior, as user experience plays a crucial role in tools design.
Hope this helps, Lou.