简体   繁体   English

授予对 SQL DW(突触)中 Azure Active Directory 组的读取访问权限

[英]Grant Read access to Azure Active Directory Group in SQL DW (Synapse)

Can anybody help me with this, I'm stuck and reading didn't get me anywhere:(任何人都可以帮我解决这个问题,我被困住了,阅读并没有让我到任何地方:(

My question is related to Azure Active Directory Group and SQL DW.我的问题与 Azure Active Directory Group 和 SQL DW 有关。 I want to give database read access to an Azure Active Directory Group (ADD group).我想授予对 Azure Active Directory 组(ADD 组)的数据库读取访问权限。 I took these steps for that:为此,我采取了以下步骤:

  • I made two groups in ADD as Azure AnalytcisDW Admin Users and Azure AnalytcisDW Database Users , each with a bunch of users.我在 ADD 中创建了两个组,分别为Azure AnalytcisDW Admin UsersAzure AnalytcisDW Database Users ,每个组都有一堆用户。
  • Then, I went to Azure Portal, selected my SQL DW and added Azure AnalytcisDW Admin Users group as Active Directory Admin (image below).然后,我去了 Azure 门户,选择了我的 SQL DW 并添加了Azure AnalytcisDW Admin Users组作为Active Directory
  • Then, I checked in SSMS and saw Azure AnalytcisDW Admin Users group is under mater=>Security=>Users (see image below)然后,我检查了 SSMS 并看到Azure AnalytcisDW Admin Users组位于 mater=>Security=>Users 下(见下图)

Now I want to give Azure AnalytcisDW Database Users group the (database) read permission (using SSMS or anything).现在我想给Azure AnalytcisDW 数据库用户组(数据库)读取权限(使用 SSMS 或任何东西)。 I couldn't figure out how.我不知道怎么做。 I read a bunch of stuff for it and couldn't find my way through, such as:我为它读了一堆东西,但找不到我的出路,例如:

Grant Access to SQL Server Table to AD user 向 AD 用户授予对 SQL 服务器表的访问权限

Adding Users to Azure SQL Databases 将用户添加到 Azure SQL 数据库

SQL DW 中的 Active Directory 管理员(门户)

SSMS

I was able to do the same by using the below commands where db_users(same as your Azure AnalytcisDW Database Users) is the active directory group and I have used an id from db_admin (same as your Azure AnalytcisDW Admin Users) to connect to Synapse.我可以通过使用以下命令执行相同操作,其中 db_users(与您的 Azure AnalytcisDW 数据库用户相同)是活动目录组,并且我使用了来自 db_admin 的 id(与您的 Azure 连接到 SynapcisD 的用户)。

在此处输入图像描述

Ref doc: RoleAssign , AADGroupUser参考文档: RoleAssignAADGroupUser

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何以管理员身份向Azure Active Directory中的应用程序的组授予权限? - How to grant permissions as an admin to a group for an app in Azure Active Directory? 如何授予服务主体对 Active Directory 组的读取权限? - How to grant a Service Principal read access to the Active Directory Groups? 我需要使用Azure Active Directory(AAD)凭据创建SQL DW链接服务器 - I need to create SQL DW link server with Azure Active Directory (AAD) credentials Azure Active Directory 组 - 控制用户访问 - Azure Active Directory Group - controlling user access 如何在Azure Active Directory中启用隐式授予 - How to enable Implicit grant in Azure Active Directory 如何使用Azure Active Directory授予应用程序对新用户帐户的访问权限? - How do I grant application access to new user accounts using Azure Active Directory? 无法使用 PowerShell 在 Azure SQL 中创建 Active Directory 用户组 - Unable to Create Active Directory user group in Azure SQL using PowerShell Azure Active Directory-分配给组 - Azure Active Directory - Assign to group 带有访问前端的 Azure SQL 数据库 - Active Directory 身份验证 - Azure SQL Database with Access Frontend - Active Directory Authentication Azure Active Directory 组和组成员限制 - Azure Active Directory Group and Group Members limit
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM