admin管理员组文章数量:1355697
I have a Group in Azure for which I would like to manage access . Databricks Documentation
/?language=SQL
The group is called AzUser-DataHub-SAPupportAnalyst however I can't seem to use the Syntax
GRANT SELECT ON default.department TO `AzUser-DataHub-SAPupportAnalyst`;
I can give it to a Principal but because this an AD Group this cannot be resolved .
Any pointers?
I have a Group in Azure for which I would like to manage access . Databricks Documentation
https://docs.databricks/aws/en/data-governance/unity-catalog/manage-privileges/?language=SQL
The group is called AzUser-DataHub-SAPupportAnalyst however I can't seem to use the Syntax
GRANT SELECT ON default.department TO `AzUser-DataHub-SAPupportAnalyst`;
I can give it to a Principal but because this an AD Group this cannot be resolved .
Any pointers?
Share Improve this question edited 2 days ago Ged 18.2k8 gold badges48 silver badges105 bronze badges asked Mar 31 at 9:39 nick leesonnick leeson 314 bronze badges2 Answers
Reset to default 0Make sure the group is a part of your workspace. In SQL you can run show groups
to see whether the group is available or not.
If the group does not show there, go to Settings -> Workspace Admin -> Identity and Access -> Groups
and add the group into the workspace.
https://learn.microsoft/en-us/azure/databricks/admin/users-groups/groups#add-groups-workspace
If the group doesn't show from the Add group button, then you may need to add the group in the Account console:
https://learn.microsoft/en-us/azure/databricks/admin/users-groups/groups#account-console
I have a Group in Azure for which I would like to manage access . Databricks Documentation https://docs.databricks/aws/en/data-governance/unity-catalog/manage-privileges/?language=SQL The group is called AzUser-DataHub-SAPupportAnalyst however I can't seem to use the Syntax GRANT SELECT ON default.department TO
AzUser-DataHub-SAPupportAnalyst
; I can give it to a Principal but because this an AD Group this cannot be resolved .
*In Azure Databricks, ensure that the Azure AD group (e.g., AzUser-DataHub-SAPupportAnalyst) is synchronized correctly with Unity Catalog. Ensure that your Unity Catalog is configured to properly recognize Azure AD groups. This should happen automatically if Azure AD is connected to Databricks.
*Azure AD Group Sync: Make sure that the group AzUser-DataHub-SAPupportAnalyst exists in Azure Active Directory and that it is synced to your Databricks workspace. In some cases, it may not be properly synced or recognized.To check this, go to the Admin Console in Azure Databricks and verify that the group is available under the User & Groups section. you can check the Documentation
*you can give a try using following command
GRANT [privilege-type] ON [securable-type] [securable-name] TO [principal];
[privilege-type] is a Unity Catalog privilege type. See Privilege types.
[securable-type]: The type of securable object, such as CATALOG or TABLE. See Securable objects
[securable-name]: The name of the securable. If the securable type is METASTORE, do not provide the securable name. It is assumed to be the metastore attached to the workspace.
[principal] is a user, service principal (represented by its applicationId value), or group. You must enclose users, service principals, and group names that include special characters in backticks (
).
*Also you can Grant permissions using the UI Click the table name in Catalog Explorer to open the table details page, and go to the Permissions tab. Click Grant. On the Grant on dialog: Select the users and groups you want to give permission to. Select the privileges you want to grant. For this example, assign the SELECT (read) privilege and click Grant.
本文标签: databricksManage privileges in Unity Catalog AzureStack Overflow
版权声明:本文标题:databricks - Manage privileges in Unity Catalog Azure - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743956232a2568181.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论