Skip to content

Settings sync not working with microsoft account signed out periodically #252184

Open
@jeremy0519

Description

@jeremy0519

Type: Bug

I set up settings sync in vscode and logged in using a personal microsoft account. The problem is that after a period of time, say a week or so, my microsoft account is automatically signed out and I have to click log in again. This is really annoying.

VS Code version: Code 1.101.1 (Universal) (18e3a1e, 2025-06-18T13:35:12.605Z)
OS version: Darwin arm64 25.0.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 2400)
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: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 3, 3
Memory (System) 8.00GB (0.08GB free)
Process Argv --crash-reporter-id c1db4d53-ae49-4d2a-b0ca-0f239719f829
Screen Reader no
VM 0%
Extensions (29)
Extension Author (truncated) Version
vscode-tailwindcss bra 0.14.23
vscode-eslint dba 3.0.10
binary-plist dni 0.11.4
EditorConfig Edi 0.17.4
prettier-vscode esb 11.0.0
codespaces Git 1.17.3
copilot Git 1.336.0
copilot-chat Git 0.28.1
vscode-env Iro 0.1.0
latex-workshop Jam 10.10.0
svg joc 1.5.4
vsc-python-indent Kev 1.21.0
vscode-language-pack-zh-hans MS- 1.101.2025061109
black-formatter ms- 2025.2.0
debugpy ms- 2025.8.0
python ms- 2025.8.0
vscode-pylance ms- 2025.6.1
remote-ssh ms- 0.120.0
remote-ssh-edit ms- 0.87.0
remote-explorer ms- 0.5.0
vsliveshare ms- 1.0.5948
chatgpt ope 0.1.1741291060
material-icon-theme PKi 5.24.0
trailing-spaces sha 0.4.1
markdown-preview-enhanced shd 0.8.18
even-better-toml tam 0.21.2
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
volar Vue 2.2.10

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
563cc122:31326278
pythonpulldiag:31325930
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
pylancequickfixf:31329273
d2249276:31332229
i851h500:31332225
usemarketplace:31333563
b6b4d950:31327385
id45c886:31333049

Here is the log from Microsoft Authentication extension:

2025-06-23 23:02:25.001 [info] Acquired MSAL enablement value from default. Value: false
2025-06-23 23:02:25.001 [warning] [Mon, 23 Jun 2025 15:02:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] : @azure/msal-node@2.16.2 : Warning - NativeBroker implementation was provided but the broker is unavailable.
2025-06-23 23:02:25.001 [info] [getSessions] [all] starting
2025-06-23 23:02:25.001 [info] [getSessions] [all] returned 1 session(s)
2025-06-23 23:02:25.001 [info] [getSessions] [all] starting
2025-06-23 23:02:25.001 [info] [getSessions] [all] returned 1 session(s)
2025-06-23 23:02:25.001 [info] [getSessions] [all] starting
2025-06-23 23:02:25.001 [info] [getSessions] [all] returned 1 session(s)
2025-06-23 23:02:25.001 [info] [getSessions] [email offline_access openid profile] starting
2025-06-23 23:02:25.001 [info] [getSessions] [email offline_access openid profile] returned 0 session(s)
2025-06-23 23:02:25.001 [info] [getSessions] [email offline_access openid profile] starting
2025-06-23 23:02:25.001 [info] [getSessions] [email offline_access openid profile] returned 0 session(s)
2025-06-23 23:02:25.001 [info] [getSessions] [all] starting
2025-06-23 23:02:25.001 [info] [getSessions] [all] returned 1 session(s)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions