Hello Dennis !
Thank you for posting on Microsoft Learn.
When public access is disabled on your Azure Cognitive Search (ACS) resource, only explicitly allowed networks or trusted Azure services can access it.
However, Azure OpenAI Studio (the web interface) is not considered a trusted service under “Allow trusted Azure services” for ACS. So:
- The index creation step (run server-side by Azure OpenAI) might still succeed, depending on timing or caching.
- But the index update step fails because the backend service running that operation cannot reach ACS if public access is blocked.
So you need to allow public access just while uploading and indexing data in Azure OpenAI Studio.
But if you want secure access without public exposure, you need to enable private endpoint on your Azure AI Search resource and verify that your Azure OpenAI resource (or a managed identity used by your backend) is in the same Virtual Network or has access to it.
Then, update your search index via code, Azure Function, or Azure ML pipeline not via OpenAI Studio, which lacks VNet support.
Or, simply use the Azure OpenAI REST API or Azure ML pipeline to upload data and update the ACS index from within your VNet.