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

Get ERROR for azure-active-directory-password in mssql #1166

Open
1 of 5 tasks
kimisikainai opened this issue Jun 21, 2023 · 0 comments
Open
1 of 5 tasks

Get ERROR for azure-active-directory-password in mssql #1166

kimisikainai opened this issue Jun 21, 2023 · 0 comments
Labels

Comments

@kimisikainai
Copy link

Describe the bug
Get error when use authentication type azure-active-directory-password in mssql.
ERROR: Error opening connection Security token could not be authenticated or authorized.

To Reproduce
Steps to reproduce the behavior:

  1. Configure the connection
    {
    "mssqlOptions": {
    "appName": "SQLTools",
    "useUTC": true,
    "encrypt": true,
    "authentication": {
    "type": "azure-active-directory-password",
    "options": {
    "userName": "xxx@xxx.com",
    "password": "xxxxxx"
    }
    }
    },
    "previewLimit": 50,
    "server": "xxxxxxxxxxxx",
    "port": 1433,
    "driver": "MSSQL",
    "name": "DEV",
    "database": "dbname",
    "username": "xxx@xxx.com",
    "password": "xxxxxx"
    }

  2. Click to connect

Desktop (please complete the following information):

  • SQLTools Version [v0.27.1]
  • VS Code Version: [1.79.2]
  • OS: [Windows10]
  • Driver:
    • PostgreSQL/Redshift
    • MySQL/MariaDB
    • MSSQL/Azure
    • SQLite
    • Other? Which...
  • Database version:
    [synapse sql dedicated pool
    Microsoft Azure SQL Data Warehouse - 10.0.20443.0 Mar 14 2023 23:02:36 Copyright (c) Microsoft Corporation
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant