Skip to content

Commit 3735ab8

Browse files
authored
Update search-index-azure-sql-managed-instance-with-managed-identity.md
Update broken media link and added two new screenshots
1 parent c1176dd commit 3735ab8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/search/search-index-azure-sql-managed-instance-with-managed-identity.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ Follow these steps to assign the search service system managed identity permissi
4848

4949
3. From the left pane, locate the SQL database you will be using as data source for indexing and right-click it. Select **New Query**.
5050

51+
:::image type="content" source="./media/search-index-azure-sql-managed-instance-with-managed-identity/new-sql-query.png" alt-text="Showing screenshot of new SQL query.":::
52+
53+
5154
4. In the T-SQL window, copy the following commands and include the brackets around your search service name. Click on **Execute**.
5255

5356

@@ -56,6 +59,7 @@ Follow these steps to assign the search service system managed identity permissi
5659
EXEC sp_addrolemember 'db_datareader', [insert your search service name here or user-assigned managed identity name];
5760
```
5861
62+
:::image type="content" source="./media/search-index-azure-sql-managed-instance-with-managed-identity/execute-sql-query.png" alt-text="Showing screenshot of how to execute SQL query.":::
5963
6064
If you later change the search service system identity after assigning permissions, you must remove the role membership and remove the user in the SQL database, then repeat the permission assignment. Removing the role membership and user can be accomplished by running the following commands:
6165
@@ -73,7 +77,7 @@ In this step you will give your Azure Cognitive Search service permission to rea
7377
1. Select **Access control (IAM)**.
7478
1. Select **Add** then **Add role assignment**.
7579

76-
:::image type="content" source="./media/search-index-azure-sql-managed-instance-with-managed-identity/access-control-add-role-assignment.png" alt-text="Showing screenshot of the Access Control page." lightbox="media/search-connect-azure-sql-managed-instance-using-indexers-with-managed-identity/access-control-add-role-assignment.png":::
80+
:::image type="content" source="./media/search-index-azure-sql-managed-instance-with-managed-identity/access-control-add-role-assignment.png" alt-text="Showing screenshot of the Access Control page." lightbox="media/search-index-azure-sql-managed-instance-with-managed-identity/access-control-add-role-assignment.png":::
7781

7882

7983
4. Select **Reader** role.

0 commit comments

Comments
 (0)