Call to get Azure Search index failed — Server responded with status 403

Manish Tiwari
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…

--

--

Manish Tiwari

https://links.bitesinbyte.com Dot Net | DevOps |Terraform| open source | Azure | AWS | GCP | Kubernetes | Docker