-
Notifications
You must be signed in to change notification settings - Fork 78
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
sfdx force:org:list does not return active orgs #1641
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
whoa!
you should see {
"instanceUrl": "https://ability-nosoftware-3674-dev-ed.my.salesforce.com",
"orgId": "00D63000000fzG8EAI",
"loginUrl": "https://CS43.salesforce.com",
"clientId": "PlatformCLI",
"isDevHub": false,
"devHubUsername": "etc",
"created": "1657219262000",
"expirationDate": "2022-08-06",
"createdOrgInstance": "CS43",
"snapshot": null,
"instanceApiVersion": "55.0",
"instanceApiVersionLastRetrieved": "7/25/2022, 1:48:08 PM",
"name": "portfolio-tracker",
"instanceName": "CS43",
"namespacePrefix": null,
"isSandbox": false,
"isScratch": true,
"trailExpirationDate": "2022-08-07T18:41:27.000+0000",
"tracksSource": true
}% |
|
I also hit this issue. Steps to reproduce against dreamhouse-lwc (gist):
|
@jstvz thanks for your repo. I have been able to reproduce the issue. @james-hafer can you confirm that the orgs not appearing in the list also have additional users created for them? |
This issue has been linked to a new work item: W-11507149 |
@peternhale Yes, the orgs have additional users created for them. |
Thanks @james-hafer. I have identified the issue and a fix will be made soon. |
fix in version 7.162.0 of sfdx-cli |
Can confirm it's working as expected when updated the cli to 7.162.0. Thanks a lot for a quick turnaround! |
@peternhale This issue is still present in "sfdx-cli/7.188.1 darwin-x64 node-v18.13.0" for Mac OS Monterey 12.6 |
Summary
When running sfdx force:org:list, sfdx force:org:list --all, sfdx force:org:list --verbose --json no active orgs are returned. I am still able to open the latest org but cannot open any other orgs if I do not know the username.
Steps To Reproduce:
Run sfdx force:org:list
Expected result
I have three active scratch orgs that should be displayed. If I switch to a previous version I am able to get the active orgs:
Actual result
No active scratch orgs found. Specify --all to see all scratch orgs:
System Information
{
"cliVersion": "sfdx-cli/7.160.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v14.17.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.0 (core)",
"alias 2.1.0 (core)",
"apex 1.1.0 (core)",
"auth 2.2.2 (core)",
"community 2.0.0 (core)",
"config 1.4.14 (core)",
"custom-metadata 2.0.0 (core)",
"data 2.0.4 (core)",
"generator 2.0.2 (core)",
"info 2.0.1 (core)",
"limits 2.0.1 (core)",
"org 2.0.3 (core)",
"salesforce-alm 54.6.2 (core)",
"schema 2.1.1 (core)",
"sfdx-cli 7.160.0 (core)",
"signups 1.2.0 (core)",
"source 2.0.7 (core)",
"telemetry 2.0.0 (core)",
"templates 55.0.0 (core)",
"trust 2.0.1 (core)",
"user 2.1.0 (core)"
],
"osVersion": "Darwin 21.1.0"
}
The text was updated successfully, but these errors were encountered: