AISearch Knowledge BAse retrieval call cannot reach vectorization endpoint

chubster 0 Reputatiepunten
2026-05-27T13:29:13.3366667+00:00

We have the following setup. We have an openai instance in sweden central (no private endpoint, so a public IP) and we have an AI search instance in west europe.

We also have an ADLSg2 instance in west europe (private endpoint). Both the storage account and the openai instance can be authenticated to using a user managed identity. We have absolutely unequivocally confirmed that all necessary role assignments are there, for both storage and openai.

In the AI search instance we have added some knowledge sources and a knowledge base. The indexers created in this process can successfully reach the storage account, and also index the documents. We have set both an vectorizer (embedding) model and an chat completion model on the knowledge source. This works, both text documents and documents with images successfully get indexed. This also means Azure OpenAI is reachable from the AI search instance, and the role assignments are correct.

The problem occurs when we try to do a retrieval using a knowledge base. This knowledge base uses the same openai instance for its embedding model, and the same user assigned identity. Yet, when we make the retrieval call we get the following response:

Status: 502 (Bad Gateway)
Content:
{"error":{"code":"","message":"Could not complete vectorization action. The service failed to authenticate to the vectorization endpoint."}}
Headers:
Cache-Control: no-cache,no-store
Pragma: no-cache
client-request-id: xxx
x-ms-client-request-id: xxx
request-id: 7f702b5e-59cb-11f1-9f38-9940d3f436b4
elapsed-time: 22
Strict-Transport-Security: REDACTED
Date: Wed, 27 May 2026 12:56:40 GMT
Content-Length: 140
Content-Type: application/json; charset=utf-8
Content-Language: REDACTED
Expires: -1
Knowledge source '<some_ks>': Could not complete vectorization action. The service failed to authenticate to the vectorization endpoint.
Status: 502 (Bad Gateway)

Let me know if you need any more info. This seems impossible to debug.

Anyone know what's going on here?

Windows voor Bedrijven | Windows-client voor IT-professionals | Gebruikerservaring | Overige
0 opmerkingen Geen opmerkingen

1 antwoord

Sorteren op: Meest nuttig
  1. Gérard Oomens 132.9K Reputatiepunten Volunteer Moderator
    2026-05-27T17:25:41.1833333+00:00

    Was dit antwoord nuttig?

    0 opmerkingen Geen opmerkingen

Uw antwoord

Antwoorden kunnen door de auteur van de vraag worden gemarkeerd als Geaccepteerde antwoorden, zodat gebruikers weten met welk antwoord het probleem van de auteur is opgelost.