-
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
sf org list does not list all scratch orgs on newly refreshed windows #3102
Comments
Hello @andy-nagare 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
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. |
this is working as designed, |
But in the situation that I described, how do developers resume authenticating the scratch org that they used to authenticated on the old machines? Or if new developers need to continue the work on the scratch org that they never authenticated to, and the previous developer is now departed from the team, how do the new developers authenticate these scratch orgs, IF the scratch org was created with generated user without resetting password? Also, I am the developer who is authenticated to use DevHub, so I thought sf org list should be able to check my permission to list the same scratch orgs that I can see in my DevHub Active Scratch Orgs. So in the scenario above, how do we handle this? |
users should generate a password for it via
Going from memory/docs, when we create a
I think it's because the one-time code auth code that, even if you have access to the simplified example of how it works (old blog post but I don't think much has changed): I'll double check with my team next week to confirm. |
Thank you for your quick reply and thanks for closing the ticket.
|
Summary
sf org list does not show all scratch orgs on newly installed computer even though DevHub is set.
Steps To Reproduce
Expected result
It should list the active scratch orgs that are currently linked to the default active DevHub
Actual result
It does not list ANY active scratch orgs that are currently linked to the default active DevHub; it only shows the DevHub itself.
{
"architecture": "win32-x64",
"cliVersion": "@salesforce/cli/2.65.8",
"nodeVersion": "node-v20.18.0",
"osVersion": "Windows_NT 10.0.22631",
"rootPath": "C:\Program Files\sf\client",
"shell": "powershell",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.7 (core)",
"@oclif/plugin-commands 4.1.5 (core)",
"@oclif/plugin-help 6.2.16 (core)",
"@oclif/plugin-not-found 3.2.24 (core)",
"@oclif/plugin-plugins 5.4.15 (core)",
"@oclif/plugin-search 1.2.13 (core)",
"@oclif/plugin-update 4.6.8 (core)",
"@oclif/plugin-version 2.2.15 (core)",
"@oclif/plugin-warn-if-update-available 3.1.20 (core)",
"@oclif/plugin-which 3.2.16 (core)",
"@salesforce/cli 2.65.8 (core)",
"apex 3.5.5 (core)",
"api 1.3.1 (core)",
"auth 3.6.70 (core)",
"data 3.9.0 (core)",
"deploy-retrieve 3.15.4 (core)",
"info 3.4.15 (core)",
"limits 3.3.37 (core)",
"marketplace 1.3.2 (core)",
"org 5.0.2 (core)",
"packaging 2.8.12 (core)",
"schema 3.3.39 (core)",
"settings 2.4.2 (core)",
"sobject 1.4.44 (core)",
"telemetry 3.6.18 (core)",
"templates 56.3.26 (core)",
"trust 3.7.38 (core)",
"user 3.6.0 (core)"
]
}
The text was updated successfully, but these errors were encountered: