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

Sign-in Issue: "NativeAuthError: Unexpected: (pii)" after Update #239881

Open
Acindarax opened this issue Feb 7, 2025 · 1 comment
Open

Sign-in Issue: "NativeAuthError: Unexpected: (pii)" after Update #239881

Acindarax opened this issue Feb 7, 2025 · 1 comment
Assignees

Comments

@Acindarax
Copy link

Type: Bug

After updating VSCode (Version 1.97), I was logged out of my Microsoft account. When I tried to sign back in, it kept prompting me for both email and password multiple times, then failed with the error:

NativeAuthError: Unexpected: (pii)

I tried:

  • Restarting VSCode
  • Clearing authentication sessions
  • Running with extensions disabled
  • Deleting stored credentials
  • Running as Administrator

None of these worked. However, rolling back to Version 1.96 solved the problem.

System Info:

  • OS: (Windows 10)
  • VSCode Version: 1.97(bug present) / 1.96 (working)
  • Installed Extensions: (If relevant)

Please look into this issue, as it seems to be a bug in the latest update!

VS Code version: Code 1.96.4 (cd4ee3b, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx (4 x 2495)
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) 14.93GB (4.80GB free)
Process Argv --crash-reporter-id b888a54b-445c-4cec-b9cd-1f09fef78962
Screen Reader no
VM 0%
Extensions (94)
Extension Author (truncated) Version
python-image-preview 076 0.1.2
better-comments aar 3.0.2
csharp-to-typescript adr 1.12.1
namespace adr 1.1.2
node-essentials afr 1.1.0
project-manager ale 12.8.0
vscode-angular2-files ale 1.6.4
ng-template Ang 19.0.4
pythoncpp-debug ben 0.3.0
node-json-autocomplete bhs 0.1.3
vscode-intelephense-client bme 1.12.6
vsc-postman bre 1.1.0
npm-intellisense chr 1.4.5
path-intellisense chr 2.10.0
gitignore cod 0.9.0
dbclient-jdbc cwe 1.3.9
vscode-es-client2 cwe 8.1.4
vscode-mysql-client2 cwe 8.1.4
vscode-markdownlint Dav 0.58.2
vscode-elasticsearch-snippets dee 1.1.0
git-extension-pack don 0.1.3
githistory don 0.6.20
python-environment-manager don 1.2.7
xml Dot 2.5.1
postman-generator dwa 0.0.1
gitlens eam 16.2.2
chatgpt-gpt4-gpt3-vscode Eas 1.5.37
vscode-html-css ecm 2.0.13
vscode-postman eri 2.1.0
prettier-vscode esb 11.0.0
ghost-text fre 1.4.1
vscode-pull-request-github Git 0.102.0
rest-client hum 0.25.1
node-developer ken 0.4.0
csharpextensions kre 1.7.3
node-module-intellisense lei 1.5.0
java-spring-extension-pack loi 0.2.3
python-path mge 0.0.14
vscode-language-babel mgm 0.0.40
git-graph mhu 1.30.0
r Mik 0.0.32
vscode-exec-node mir 0.5.6
vscode-docker ms- 1.29.4
csdevkit ms- 1.16.6
csharp ms- 2.63.32
vscode-dotnet-pack ms- 1.0.13
vscode-dotnet-runtime ms- 2.2.6
vscodeintellicode-csharp ms- 2.2.3
debugpy ms- 2025.0.0
python ms- 2025.0.0
vscode-pylance ms- 2025.2.1
remote-wsl ms- 0.88.5
cpptools ms- 1.23.6
cpptools-extension-pack ms- 1.3.0
live-server ms- 0.4.15
powershell ms- 2025.0.0
vscode-typescript-next ms- 5.8.20250206
sqltools mtx 0.28.3
sqltools-driver-mysql mtx 0.6.3
indent-rainbow ode 8.3.1
oracle-java Ora 23.0.1
vscode-versionlens pfl 1.16.2
postman-for-vscode Pos 1.7.0
r-debugger RDe 0.5.5
java red 1.39.0
r REd 2.8.4
c-sharp-utilities rev 1.12.5
elastic ria 0.13.3
csharp-helper roa 0.0.14
mongo-snippets-for-node-js roe 1.3.12
docx-to-pdf Sha 0.0.2
vscode-checkstyle she 1.4.2
spring-code-generator Son 1.1.0
sonarlint-vscode Son 4.15.0
node-pack Swe 0.1.16
pdf tom 1.2.2
python-extended-snippets tus 0.0.1
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
vscode-boot-dev-pack vmw 0.2.2
vscode-spring-boot vmw 1.60.0
vscode-gradle vsc 3.16.4
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-spring-boot-dashboard vsc 0.14.0
vscode-spring-initializr vsc 0.11.2
quick-python-print Wei 0.3.1
vscode-import-cost wix 3.3.0
Live-Postman wyc 1.0.1
livecode xir 1.3.10
vscode-open-in-github ziy 1.3.6
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
8did9651:31230678
9064b325:31222308
copilot_t_ci:31222730

@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented Feb 7, 2025

What feature or extension triggered the login?

As a workaround, you change the setting

"microsoft-authentication.implementation": "classic"

But this won't be along forever so we should get to the bottom of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants