Skip to content

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

@bipikuma

Description

@bipikuma

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

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


Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageissues to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions