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

Guest users may have issue connecting to Postgres Flexible servers with MS Entra ID (Azure AD) #2234

Open
JasonYeMSFT opened this issue Jan 16, 2024 · 0 comments

Comments

@JasonYeMSFT
Copy link
Contributor

Currently, the Postgres MS Entra ID authentication assumes the user's MS Entra ID matches the corresponding Postgres user in the database. Once we determined the MS Entra ID, we use it as both the user ID of the database user and the user for getting access tokens.

According to the documentation, this is always true for users in the same tenant. However, this is not true for guest users since their mapped database user name has the extra #EXT# tagged full name in their home tenant. The extension doesn't intend to support group user or service principal so that's not within our concern for now.

If you are using Guest account to access Postgres Flexible resources and you would like to use MS Entra ID to authenticate, please leave a comment here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant