Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MS SQL authentification with the managed identity #4010

Open
keunsoopark opened this issue Mar 18, 2025 · 4 comments
Open

MS SQL authentification with the managed identity #4010

keunsoopark opened this issue Mar 18, 2025 · 4 comments
Labels
Engine: SQL Server Improvement Improves existing functionality

Comments

@keunsoopark
Copy link

I wanted to use SQL Mesh instead of dbt in MS SQL DB for saving costs, but it requires authentification with the managed identity instead of username & password.

I asked it out to Slack community, but got an answer that it is not supported - thread.

It would be great if SQL Mesh supports this like dbt - https://docs.getdbt.com/docs/core/connect-data-platform/mssql-setup#microsoft-entra-id-authentication

Not only managed identity but also entra id as well for local dev purpose.

@erindru
Copy link
Collaborator

erindru commented Mar 18, 2025

This is essentially the same issue as #3481 and #3776

I don't think pymssql will ever reach feature parity with Microsoft's ODBC driver, particularly when Microsoft keeps adding weird and wonderful authentication types.

We should add support to SQLMesh but it's lower on the priority list at the moment, feel free to improve this PR or raise a PR

@georgesittas
Copy link
Contributor

@erindru should we close this in favor of the other tickets? Or edit the others' descriptions to include this item?

@erindru
Copy link
Collaborator

erindru commented Mar 25, 2025

The other tickets are already closed as not planned, so if anything this one should stay open to track the issue since it's come up a bunch of times and there is clearly demand for it

@georgesittas
Copy link
Contributor

Ah I see, I thought one of them was open but didn't check. Thanks for clarifying 👍

@izeigerman izeigerman added Improvement Improves existing functionality Engine: SQL Server labels Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engine: SQL Server Improvement Improves existing functionality
Projects
None yet
Development

No branches or pull requests

4 participants