Summary
[Note: this might be WSL-related or VSCode Insiders related.]
Org Picker somehow does not show an org option for the Scratch org that was added using the sf org login sfdx-url SF CLI command.
Initially, I added 3 Scratch orgs via the sfdx-url, but only one of them appeared in the Org Picker list. After that, I ran sf org logout ... for all 3 scratch orgs, then added just one of them. The result was as above.
Steps To Reproduce:
- Create a scratch org in Windows CMD/Powershell, and run
sf org display -o <scratchAlias> --verbose command to obtain the SFDX Url for that scratch org.
- In WSL, run the
echo "<scratchSfdxUrl>" | sf org login sfdx-url -a scratch1 -u command to authorize the scratch org from step1.
- Using VSCode Insiders, open the DX Project folder on the WSL (make sure to reopen the VSCodeInsiders); try using the Select Default Org item to pick the scratch org that was "imported" in step 2.
Expected result
Org Picker should contain scratch org's option for selection.
Actual result
Org Picker displays other options, but scratch org's option is absent.
Additional information
Salesforce Extension Version in VS Code: v64.5.1
Salesforce CLI Version: @salesforce/cli/2.98.6 wsl-x64 node-v20.18.3
OS and version: Windows_NT x64 10.0.19045
VS Code version: 1.103.0 (VSCode Insiders)
Most recent version of the extensions where this was working: unknown.
Summary
[Note: this might be WSL-related or VSCode Insiders related.]
Org Picker somehow does not show an org option for the Scratch org that was added using the
sf org login sfdx-urlSF CLI command.Initially, I added 3 Scratch orgs via the sfdx-url, but only one of them appeared in the Org Picker list. After that, I ran
sf org logout ...for all 3 scratch orgs, then added just one of them. The result was as above.Steps To Reproduce:
sf org display -o <scratchAlias> --verbosecommand to obtain the SFDX Url for that scratch org.echo "<scratchSfdxUrl>" | sf org login sfdx-url -a scratch1 -ucommand to authorize the scratch org from step1.Expected result
Org Picker should contain scratch org's option for selection.
Actual result
Org Picker displays other options, but scratch org's option is absent.
Additional information
Salesforce Extension Version in VS Code: v64.5.1
Salesforce CLI Version: @salesforce/cli/2.98.6 wsl-x64 node-v20.18.3
OS and version: Windows_NT x64 10.0.19045
VS Code version: 1.103.0 (VSCode Insiders)
Most recent version of the extensions where this was working: unknown.