Skip to content

Failed sign in to Azure China on VS Code CAA2002000 #1104

@kongjun-magic

Description

@kongjun-magic

Type: Bug

With new Azure resources extension version, I cannot sign in to Azure China.
It report error:
Something went wrong.

Image

We couldn’t sign you. If this error persists, contact your system administrator and provide the error. code CAA2002000.
Correlation ID: 30-b2b2b47c-0a28-43e3-a2f.c2-a3e3fbfficebc6c
Timestamp: 2025-03-27T07:36:32Z
Server message AADST65002: consent between first party application aebc6443-996d-45c2-90f0-388ff96faa56; and first party resource 797f4846-ba00-4fb7-ba43-dac1f8f63013 must be configured via preauthorization -applications owned and operated by Microsfot must get approval from the API owner before requesting tokens for the API. Trace ID: 02C2163A-DBAC-4AE7-AB43-AA423C87B700 Correction ID: 30b2b47b-0a28-43e3-af2c-a38fffdccb6c, timestamp: 205-03-27

Extension version: 0.10.9
VS Code version: Code 1.98.2 (ddc367ed5c8936efe395cffeec279b04ffd7db78, 2025-03-12T13:32:45.399Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)
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) 31.73GB (16.49GB free)
Process Argv --crash-reporter-id a2e75a88-d797-42dd-aa99-b55d7efa937b
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
850i5325:31264362
e5gg6876:31271075
jda6j935:31233686
pythoneinst12cf:31262606
bgtreat:31268568
fh1c7952:31258891
31787653:31262186
3e8i5726:31266632
49da9784:31264548

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions