Skip to content

Not able to set default org for salesforce #7243

@SakshiGupta2000

Description

@SakshiGupta2000

Type: Performance Issue

Install this Salesforce Extension pack and CLI extension
Press "Ctrl+shift+P" and select "SFDX:Authorize an org" , enter sandbox details , login page will appear. Enter credentials, you will see "Authentication Successful" message. Go to Vs code and notification will appear- "Authorize an org successfully ran". Press "Ctrl+shift+P" and select "SFDX- Set Default org" and select the org which we just authorized. We will get default org successfully ran notification but will not be able to see the default org. Please assist ASAP

Extension version: 66.5.4
VS Code version: Code 1.116.0 (560a9dba96f961efea7b1612916f89e5d5d4d679, 2026-04-15T00:28:13Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics (16 x 3294)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1900 [AMD Radeon(TM) Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=32.0.11020.16 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.1301
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.28GB (2.09GB free)
Process Argv --crash-reporter-id 76ee6ae9-82ff-44a7-a419-0654de12b60b
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   112	 25684	code
    0	   549	   456	extension-host [2]
    0	    22	  6652	     electron-nodejs (lwcServer.js)
    0	     8	 10308	     electron-nodejs (tsserver.js)
    0	    26	 10924	     electron-nodejs (auraServer.js)
    0	   352	 18568	     "C:\Program Files\Java\jdk-21.0.10\bin\java" -DwatchParentProcess=false -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\sagupta11\AppData\Roaming\Code\User\globalStorage\redhat.vscode-xml -Xmx1024M -cp c:\Users\sagupta11\.vscode\extensions\redhat.vscode-xml-0.29.0-win32-x64\server\org.eclipse.lemminx-0.31.0-uber.jar org.eclipse.lemminx.XMLServerLauncher
    0	     2	 44104	       C:\Windows\system32\conhost.exe 0x4
    0	    21	 22360	     "C:\Program Files\Java\jdk-21.0.10\bin\java" -cp c:\Users\sagupta11\.vscode\extensions\salesforce.salesforcedx-vscode-apex-66.5.4\dist\apex-jorje-lsp.jar -Ddebug.internal.errors=true -Ddebug.semantic.errors=false -Ddebug.completion.statistics=false -Dlwc.typegeneration.disabled=true apex.jorje.lsp.ApexLanguageServerLauncher
    0	     2	 44612	       C:\Windows\system32\conhost.exe 0x4
    0	     6	 26120	     C:\Users\sagupta11\AppData\Local\Programs\Git\cmd\git.exe -c user.useConfigOnly=true commit --quiet --no-verify
    0	     7	 17432	       C:\Windows\system32\conhost.exe 0x4
    0	    12	 25040	       git.exe -c user.useConfigOnly=true commit --quiet --no-verify
    0	     7	 20948	         C:/Users/sagupta11/AppData/Local/Programs/Git/usr/bin/sh.exe -c "\"c:\\Users\\sagupta11\\AppData\\Local\\Programs\\Microsoft VS Code\\560a9dba96\\resources\\app\\extensions\\git\\dist\\git-editor.sh\" \"$@\"" "\"c:\\Users\\sagupta11\\AppData\\Local\\Programs\\Microsoft VS Code\\560a9dba96\\resources\\app\\extensions\\git\\dist\\git-editor.sh\"" C:/Users/sagupta11/POSTNL-gitRep/PostNL-commercial/.git/COMMIT_EDITMSG
    0	     7	 19416	           C:\Users\sagupta11\AppData\Local\Programs\Git\usr\bin\sh.exe "c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\extensions\git\dist\git-editor.sh" C:/Users/sagupta11/POSTNL-gitRep/PostNL-commercial/.git/COMMIT_EDITMSG
    0	     7	 32468	             C:\Users\sagupta11\AppData\Local\Programs\Git\usr\bin\sh.exe "c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\extensions\git\dist\git-editor.sh" C:/Users/sagupta11/POSTNL-gitRep/PostNL-commercial/.git/COMMIT_EDITMSG
    0	    55	  5616	               electron-nodejs (git-editor-main.js)
    0	    28	 26752	     "C:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=456
    0	     8	 29756	     electron-nodejs (tsserver.js)
    0	     9	 22052	       electron-nodejs (typingsInstaller.js)
    0	     9	 35180	     "C:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\Code.exe" c:\Users\sagupta11\.vscode\extensions\salesforce.agent-script-language-client-2.2.3\dist\server.mjs --node-ipc --clientProcessId=456
    0	    18	 40516	     "C:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=456
    0	    10	 41112	     electron-nodejs (eslintServer.js)
    0	    30	  2632	file-watcher [2]
    0	    22	 17860	   utility-network-service
    0	    29	 30272	pty-host
    0	     8	 14024	     "c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\node_modules\node-pty\build\Release\conpty\OpenConsole.exe" --headless --width 101 --height 25 --signal 0x764 --server 0x5dc
    0	    46	 19252	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    66	 36944	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	     2	 44576	     "c:\Users\sagupta11\AppData\Local\Programs\Microsoft VS Code\560a9dba96\resources\app\node_modules\node-pty\build\Release\conpty\OpenConsole.exe" --headless --width 110 --height 25 --signal 0x640 --server 0x5a0
    1	   282	 35656	   gpu-process
    0	     9	 36044	   crashpad-handler
    1	   391	 40136	window [2] (Mandatory__c.field-meta.xml - PostNL-commercial - Visual Studio Code)
    0	    72	 40320	shared-process
Workspace Info
|  Window (Mandatory__c.field-meta.xml - PostNL-commercial - Visual Studio Code)
|    Folder (PostNL-commercial): more than 22688 files
|      File types: xml(7527) cls(1919) png(1457) js(1292) svg(1277) apex(886)
|                  csv(882) json(615) yml(388) html(387)
|      Conf files: package.json(10) grunt.js(8) jsconfig.json(5)
|                  settings.json(2) tsconfig.json(2) devcontainer.json(1)
|                  dockerfile(1) github-instructions-dir(1)
|                  github-actions(1) launch.json(1) makefile(1)
|      Launch Configs: node;
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31464700
editstats-enabled:31346257
cloudbuttont:31379625
3efgi100_wstrepl:31403338
839jf696:31457053
use-responses-api:31390855
je187915:31454425
ec5jj548:31422691
cp_cls_c_966_ss:31454199
a9239246:31499107
4je02754:31466945
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_t_1081:31454832
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
core-renderer-profiling-on:31440367
e9c30283:31461165
test_treatment2:31471001
control_6dc23131:31497324
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
534a6447:31496642
7ef87755:31458076
chat:31457767
8hig5102:31480529
89g7j272:31495047
dfc2j404:31499613
cpptoolson-v2:31475363
i2gc6536:31499202
30450953:31499301
ghj88844:31499326
23c7c724:31491644
client_tst_t:31495907
ddid_t:31478206
getcmakediagnosticson:31489824
ja75b849:31495667
nes-perm-reb-0:31490411
cp_cls_c_1082:31491634
719di409_sum_t:31499345
logging_enabled_new:31498466
db5d2638:31499441
748c7209:31497895

Metadata

Metadata

Assignees

No one assigned

    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