Skip to content

Commit b51100a

Browse files
Yuantao WangYuantao Wang
authored andcommitted
en
1 parent 9f2afc4 commit b51100a

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

articles/ai-services/openai/how-to/use-your-data-securely.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ recommendations: false
1616

1717
> [!Note]
1818
> Since June 2024, the form application of the Microsoft managed private endpoint to Azure AI Search is no longer needed.
19-
> The managed private endpoint will be deleted from Microsoft managed virtual network at July 2025. If you have already provisioned managed private endpoint through the form application process before June 2024, please migrate to the [Azure AI Service trusted service](#enable-inbound-trusted-service-of-search-resource) as early as possible to avoid service disruption.
19+
> The managed private endpoint will be deleted from Microsoft managed virtual network at July 2025. If you have already provisioned managed private endpoint through the form application process before June 2024, please migrate to the [Azure AI Service trusted service](#enable-trusted-service-of-search-resource) as early as possible to avoid service disruption.
2020
2121
Use this article to learn how to use Azure OpenAI On Your Data securely by protecting data and resources with Microsoft Entra ID role-based access control, virtual networks, and private endpoints.
2222

@@ -210,10 +210,6 @@ To enable role-based access control via the REST API, set `authOptions` as `aadO
210210
}
211211
```
212212

213-
### Enable inbound trusted service of Search resource
214-
215-
TBD
216-
Update diagrams
217213

218214
### Disable public network access
219215

@@ -222,6 +218,32 @@ You can disable public network access of your Azure AI Search resource in the Az
222218
To allow access to your Azure AI Search resource from your client machines, like using Azure OpenAI Studio, you need to create [private endpoint connections](/azure/search/service-create-private-endpoint) that connect to your Azure AI Search resource.
223219

224220

221+
### Enable trusted service of search resource
222+
223+
You can enable trusted service of your search resource from Azure portal.
224+
225+
Go to search resource network tab, when the public network access is disabled, check the checkbox of "Allow Azure services on the trusted services list to access this search service."
226+
227+
:::image type="content" source="../media/use-your-data/search-trusted-service.png" alt-text="A diagram showing the search trusted service." lightbox="../media/use-your-data/search-trusted-service.png":::
228+
229+
You can also use REST API to enable search trusted service. The example below uses the Azure CLI and `jq` tool.
230+
231+
```bash
232+
rid=/subscriptions/<YOUR-SUBSCRIPTION-ID>/resourceGroups/<YOUR-RESOURCE-GROUP>/providers/Microsoft.Search/searchServices/<YOUR-RESOURCE-NAME>
233+
apiVersion=2024-03-01-Preview
234+
#store the resource properties in a variable
235+
az rest --uri "https://management.azure.com$rid?api-version=$apiVersion" > search.json
236+
237+
#replace bypass with AzureServices using jq
238+
jq '.properties.networkRuleSet.bypass = "AzureServices"' search.json > search_updated.json
239+
240+
#apply the updated properties to the resource
241+
az rest --uri "https://management.azure.com$rid?api-version=$apiVersion" \
242+
--method PUT \
243+
--body @search_updated.json
244+
245+
```
246+
225247
### Create shared private link
226248

227249
> [!TIP]
100 KB
Loading

0 commit comments

Comments
 (0)