Call to get Azure Search index failed — Server responded with status 403
2 min readAug 10, 2024
Why?
Azure Open AI Service does not have access to Azure Search service.
How to fix it?
1. Assign Role
- Go to Azure AI Search Service (Formally known as Azure Search Service and Cognitive Search Service).
- You have to provide one of the following roles to open ai service
+----------------------------+--------------+-----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Role | Assignee | Resource | Description |
+----------------------------+--------------+-----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Search Index Data Reader | Azure OpenAI | Azure AI Search | Inference service queries the data from the index…