You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-get-started-rbac.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ You need this step if you have more than one subscription or tenant.
34
34
35
35
1. Notice the subscription name and ID in **Overview** > **Essentials**.
36
36
37
-
1. Now select the subscription name to confirm the parent management group (tenant ID) on the next page.
37
+
1. Now select the subscription name to show the parent management group (tenant ID) on the next page.
38
38
39
39
:::image type="content" source="media/search-get-started-rbac/select-subscription-name.png" lightbox="media/search-get-started-rbac/select-subscription-name.png" alt-text="Screenshot of the portal page providing the subscription name":::
40
40
@@ -52,12 +52,6 @@ You need this step if you have more than one subscription or tenant.
52
52
az login --tenant <your-tenant-id>
53
53
```
54
54
55
-
1. Verify your tenant ID:
56
-
57
-
```azurecli
58
-
az account show --query tenantId --output tsv
59
-
```
60
-
61
55
## Step 2: Configure Azure AI Search for RBAC
62
56
63
57
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your Azure AI Search service.
@@ -122,19 +116,21 @@ az login
122
116
123
117
### Using a REST client
124
118
125
-
[Several quickstarts](search-get-started-vector.md) and tutorials use a REST client, such as Visual Studio Code with the REST extension. Here's how you connect to Azure AI Search from Visual Studio Code.
119
+
Several quickstarts and tutorials use a REST client, such as Visual Studio Code with the REST extension. Here's how you connect to Azure AI Search from Visual Studio Code.
120
+
121
+
You should have a `.rest`or`.http`file, similar to the one described in [Quickstart: Vector search](search-get-started-vector.md).
126
122
127
-
1. Get a personal identity token:
123
+
1. Get an access token:
128
124
129
125
```azurecli
130
126
az account get-access-token --scope https://search.azure.com/.default --query accessToken --output tsv
131
127
```
132
128
133
-
1.Set variables used for the connection, pasting the full search service endpoint and the token you got in the previous step. Make sure neither value is quote-enclosed.
129
+
1.At the top of your file, set variables used for the connection, pasting the full search service endpoint and the access token you got in the previous step. Your variables should look similar to the following example. Notice the values aren't quote-enclosed.
0 commit comments