Azure / Azure/data-api-builder

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

Open
#3,477 1 comment 0 reactions 1 assignee Assigned to @Aniruddh25 View on GitHub
bug cri triage
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.