Skip to content

Endless loop login Azure microsoft Login. Cache keeps old token #22053

@Micael-stack

Description

@Micael-stack

Describe issue:
I have to do : MS SQL: "Clear Microsoft Entra account token cache" every time i use your tool or else im in a endless login loop that fail.

Steps to Reproduce:

  1. Create an SQL connection to Azure, in another tenant client than main organisation account and save it
  2. Use as normal and close VsCode
  3. Wait a week and come back to that saved connection
  4. Try reconnect. VsCode SQL loops when connecting and fails to connect

Expected Behavior:
Succes while connecting to SQL Azure

Actual Behavior:
Failed connection, can't use the tool unless token cache cleared.


Software Version
MSSQL Extension 1.42.1
VS Code 1.118.1
OS Windows_NT 10.0.26200

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions