Describe the bug
Entra ID auth does not work for guest accounts (user tenant is different than the server tenant).
Also the error says "password authentication failed" while using Entra Auth.
To Reproduce
Steps to reproduce the behavior:
- Create PG server in another tenant than your account belongs to and configure Entra ID auth, make sure you have guest account there,
- In VSCode, click on '+ Add Connection' from POSTGRESQL extension pane,
- Fill the form with connection details,
- Choose 'AUTHENTICATION TYPE' 'Entra Auth',
- Click on 'Add Entra Id' and login with your account,
- Click on 'Save & Connect',
- See the error.
Expected behavior
The vscode-pgsql extension allows me to configure connection with Entra ID auth to the server in a different Tenant via guest account. In another words, there should be a way to choose tenant where the server is located.
Screenshots
VS Code version
Version: 1.100.2 (system setup)
Commit: 848b80aeb52026648a8ff9f7c45a9b0a80641e2e
Date: 2025-05-14T21:47:40.416Z
Electron: 34.5.1
ElectronBuildId: 11369351
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Extension Logs
N/A
Describe the bug
Entra ID auth does not work for guest accounts (user tenant is different than the server tenant).
Also the error says "password authentication failed" while using Entra Auth.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The vscode-pgsql extension allows me to configure connection with Entra ID auth to the server in a different Tenant via guest account. In another words, there should be a way to choose tenant where the server is located.
Screenshots
VS Code version
Extension Logs
N/A