vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Settings Sync automatically logs out

Open 21kchen1 opened this issue 9 months ago • 3 comments

Type: Bug

As the title says. When I logged into my Microsoft account in VSCode to start the sync, everything showed up fine. However, after an hour or two, the sync automatically logs me out and prompts me to log in in order to sync. The following is the message generated by Microsoft Authentication at the time of the automatic logout:

2025-03-06 22:22:05.038 [info] [getSessions] [email offline_access openid profile] starting

2025-03-06 22:22:05.039 [warning] [Thu, 06 Mar 2025 14:22:05 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001]	WARNING	SetAuthorityUri:78	Initializing authority from URI 'https://login.microsoftonline.com/organizations' without authority type, defaulting to MsSts

2025-03-06 22:22:05.042 [warning] [Thu, 06 Mar 2025 14:22:05 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001]	WARNING	ProcessRequestedScopes:561	Disallowed scope detected. offline_access will be ignored as MSAL adds this to requests automatically.

2025-03-06 22:22:05.043 [warning] [Thu, 06 Mar 2025 14:22:05 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001]	WARNING	ProcessRequestedScopes:561	Disallowed scope detected. openid will be ignored as MSAL adds this to requests automatically.

2025-03-06 22:22:05.043 [warning] [Thu, 06 Mar 2025 14:22:05 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001]	WARNING	ProcessRequestedScopes:561	Disallowed scope detected. profile will be ignored as MSAL adds this to requests automatically.

2025-03-06 22:22:05.043 [warning] [Thu, 06 Mar 2025 14:22:05 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001]	WARNING	TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1053	MsaDeviceOperationProvider is not available. Not attempting to register the device.

2025-03-06 22:22:05.052 [warning] [Thu, 06 Mar 2025 14:22:05 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002]	WARNING	StorageTokenResponse:15	No credentials found in the cache

2025-03-06 22:22:05.054 [warning] [Thu, 06 Mar 2025 14:22:05 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002]	WARNING	GetPlatformPropertiesFromStorage:2031	No account found in cache.

2025-03-06 22:22:06.065 [error] [Thu, 06 Mar 2025 14:22:06 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Error - [MSAL:0002]	ERROR  	ErrorInternalImpl:134	Created an error: 7rhah, StatusInternal::InteractionRequired, InternalEvent::None, Error Code 3399614467, Context '(pii)'

2025-03-06 22:22:06.066 [info] [getSessions] [email offline_access openid profile] returned 0 session(s)

VS Code version: Code 1.98.0 (6609ac3d66f4eade5cf376d1cb76f13985724bcb, 2025-03-04T21:06:18.612Z) OS version: Windows_NT x64 10.0.19045 Modes: Unsupported

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz (8 x 3110)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.79GB (5.81GB free)
Process Argv --crash-reporter-id 24f7cc88-3a95-41ed-9a0c-98519a19c16b
Screen Reader no
VM 67%
Extensions (44)
Extension Author (truncated) Version
doxdocgen csc 1.4.0
vscode-eslint dba 3.0.10
vscode-html-css ecm 2.0.13
code-runner for 0.12.2
go gol 0.46.1
gc-excelviewer Gra 4.2.63
better-cpp-syntax jef 1.27.1
rainbow-csv mec 3.17.0
git-graph mhu 1.30.0
vscode-language-pack-zh-hans MS- 1.98.2025030509
black-formatter ms- 2025.2.0
debugpy ms- 2025.4.0
python ms- 2025.2.0
vscode-pylance ms- 2025.3.1
jupyter ms- 2025.2.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.1.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
remote-containers ms- 0.401.0
remote-ssh ms- 0.118.0
remote-ssh-edit ms- 0.87.0
cmake-tools ms- 1.20.53
cpptools ms- 1.23.6
cpptools-extension-pack ms- 1.3.1
remote-explorer ms- 0.4.3
sqltools mtx 0.28.4
sqltools-driver-mysql mtx 0.6.4
autodocstring njp 0.6.1
indent-rainbow ode 8.3.1
java red 1.40.0
LiveServer rit 5.7.9
background sha 2.0.3
html-to-css-autocompletion sol 1.1.2
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
vscode-java-debug vsc 0.58.1
vscode-java-dependency vsc 0.24.1
vscode-java-pack vsc 0.29.0
vscode-java-test vsc 0.43.0
vscode-maven vsc 0.44.0
vscode-icons vsc 12.11.0
JavaScriptSnippets xab 1.8.0
markdown-all-in-one yzh 3.6.2

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
jda6j935:31233686
cp15370_t:31242499
563cc122:31253270

21kchen1 avatar Mar 06 '25 15:03 21kchen1