Azure AI Studio Web app deployment cant access index

Bjørn Baasch Bundgaard 30 Reputation points
2024-08-06T09:49:33.9533333+00:00

Whenever i chat with an index in the chat playground in Azure AI studio it works perfectly, but whenever i deploy the chat and index to an web app in Azure AI Studio i get this error whenever i try to ask questions regarding to the data in the index.

I have tried giving the correct accesses to the ressources.

Error

Error code: 400 - {'error': {'requestid': 'xxxxxxxxxxxxx', 'code': 400, 'message': "Invalid AzureCognitiveSearch configuration detected: Call to get Azure Search index failed. Check if you are using the correct Azure Search endpoint and index name. If you are using key based authentication, check if the admin key is correct. If you are using access token authentication or managed identity of Azure OpenAI, check if the Azure Search has enabled RBAC based authentication and if the user identity or Azure OpenAI managed identity has required role assignments to access Azure Search resource [https://aka.ms/aoaioydauthentication]. If the Azure Search resource has no public network access, make sure enable trusted service of Azure Search.\nAzure Search Error: 403, message='Server responded with status 403. Error message: ', url=URL('https://SEARCH-SERVICE-NAME-HERE.search.windows.net/indexes/INDEX-NAME-HERE?api-version=2024-03-01-preview')\nServer responded with status 403. Error message: "}}

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
687 questions
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
960 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,945 questions
{count} vote

Accepted answer
  1. Harsh Bangad 85 Reputation points
    2024-08-06T22:47:05.2933333+00:00

    Getting the same error. Also reported and followed up multiple times on https://github.com/microsoft/sample-app-aoai-chatGPT/issues/1024

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.