microsoft / microsoft/azurechat

Azure AI Search - unauthorized errors

Open
#409 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
1

Description

I have managed to create an extension that uses ai search API, but i can't get the built in Azure AI search to work.

When i fill out all the info, with the domain for the api, searchindex, searchname, api key etc, that i know works in the previous extension, it returns error - [unauthorized].

So direct data is working, but i try to use the api/document endpoint, it fails.

It would be fine with the direct one, but citation is missing and i guess that is part of the document endpoint.

It might be that my index is manually created and i might have some other fields/vectors?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the built-in Azure AI Search flow using the API domain, search index, search name, and API key described in the issue. Compare the working direct-data request with the failing API/document endpoint; done means the document endpoint authenticates and citations are returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
api, cloud, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.