org create command returns different results in json depending on command syntax #2131
Labels
bug
Issue or pull request that identifies or fixes a bug
investigating
We're actively investigating this issue
Summary
When you run
sfdx org create scratch <other args> --json
theorgId
field returned in the results json output was previously the created scratch org’s id (00D....). However, the "orgId" node recently changed to be the scratch org record id 2SR*****. Interestingly using the same sfdx cli version, if I run sfdx force:org:create the orgId returned in the results json output is the actual org Id 00D*****. It seems like something with the new command format vs. old so maybe a bug?Steps To Reproduce:
sfdx org create scratch --json
command and examine result jsonsfdx force:org:create
and compare theordId
resultExpected result
Expected the ordId field to remain the scratch org Id (00D...)
Actual result
ScratchOrg record in DevHub is returned (2SR....).
System Information
The text was updated successfully, but these errors were encountered: