Azure / Azure/data-api-builder

[Bug]: 403 Authorization Error while connecting through AI foundry

Aperta
#3,477 1 commento 0 reazioni 1 assegnatario Assegnata a @Aniruddh25 Vedi su GitHub
bug cri triage
Lingua principale
C#
Stelle
1.5k
Fork
370
Merge medio
3g 22h
PR unite (30g)
9

Descrizione

### What happened?

I created a dab-config.json for sql-mcp-server, with **development** environment and authentication as **unauthenticated** and permission in entity as **anonymous**.

Hosted this setup to azure container apps(mainly followed below steps)
[https://learn.microsoft.com/en-us/azure/data-api-builder/mcp/quickstart-azure-container-apps](url)

Tried this mcp server via VS code github copilot, it's perfectly working by calling tools and fetching relevent response by connecting database instance.

But when i tried same setup with AI foundry, with "unauthenticated" it's throwing 403 error.

### Version

2.0

### What database are you using?

Azure SQL

### What hosting model are you using?

Container Apps

### Which API approach are you accessing DAB through?

MCP

### Relevant log output

```Text

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.