Skip to content

Commit 6360b7b

Browse files
Merge pull request #193663 from dksimpson/1912257-RBAC-fix-11
Update RBAC role assignment steps - batch 11
2 parents c6a1c35 + d9ff2e9 commit 6360b7b

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed
Binary file not shown.

articles/search/search-howto-managed-identities-sql.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Learn how to set up an indexer connection to Azure SQL Database us
66
author: gmndrg
77
ms.author: gimondra
88
manager: nitinme
9-
9+
ms.custom: subject-rbac-steps
1010
ms.service: cognitive-search
1111
ms.topic: conceptual
1212
ms.date: 02/11/2022
@@ -66,21 +66,27 @@ DROP USER IF EXISTS [insert your search service name or user-assigned managed id
6666

6767
## 2 - Add a role assignment
6868

69-
In this step you will give your Azure Cognitive Search service permission to read data from your SQL Server.
69+
In this section you'll give your Azure Cognitive Search service permission to read data from your SQL Server. For detailed steps, see [Assign Azure roles using the Azure portal](../role-based-access-control/role-assignments-portal.md).
70+
71+
1. In the Azure portal, navigate to your Azure SQL Server page.
72+
73+
1. Select **Access control (IAM)**.
74+
75+
1. Select **Add > Add role assignment**.
76+
77+
:::image type="content" source="../../includes/role-based-access-control/media/add-role-assignment-menu-generic.png" alt-text="Screenshot that shows Access control (IAM) page with Add role assignment menu open.":::
78+
79+
1. On the **Roles** tab, select the appropriate **Reader** role.
7080

71-
1. In the Azure portal navigate to your Azure SQL Server page.
72-
2. Select **Access control (IAM)**
73-
3. Select **Add** then **Add role assignment**
81+
1. On the **Members** tab, select **Managed identity**, and then select **Select members**.
7482

75-
![Add role assignment](./media/search-managed-identities/add-role-assignment-sql-server.png "Add role assignment")
83+
1. Select your Azure subscription.
7684

77-
4. Select the appropriate **Reader** role.
78-
5. Leave **Assign access to** as **Azure AD user, group or service principal**
79-
6. If you're using a system-assigned managed identity, search for your search service, then select it. If you're using a user-assigned managed identity, search for the name of the user-assigned managed identity, then select it. Select **Save**.
85+
1. If you're using a system-assigned managed identity, select **System-assigned managed identity**, search for your search service, and then select it.
8086

81-
Example for Azure SQL using a system-assigned managed identity:
87+
1. Otherwise, if you're using a user-assigned managed identity, select **User-assigned managed identity**, search for the name of the user-assigned managed identity, and then select it.
8288

83-
![Add reader role assignment](./media/search-managed-identities/add-role-assignment-sql-server-reader-role.png "Add reader role assignment")
89+
1. On the **Review + assign** tab, select **Review + assign** to assign the role.
8490

8591
## 3 - Create the data source
8692

0 commit comments

Comments
 (0)