When a users logs out of the default org `SFDX: Log Out of Default Org', then authorizes the same org using the same alias (without refreshing the window or opening a new VS Code window) E4D will not be able to recognize that E4D is available for the org
Steps To Reproduce:
Have an authorized org with the alias vscodeOrg
Execute the command SFDX: Log Out of Default Org
Execute the command SFDX: Authorize an Org
Log into the same org that you logged out of previously, using the same alias vscodeOrg
See that E4D will not enabled (yellow status bar icon)
Expected result
Should be able to log in/out at will.
Actual result
E4D is disabled for Org.
Workaround
Reload VSCode and the org will be valid for E4D
Command: Developer: Reload Window
Salesforce Extension Version in VS Code: 61.5.0
Salesforce Einstein For Developers Version in VS Code: 0.53.0
Summary
When a users logs out of the default org `SFDX: Log Out of Default Org', then authorizes the same org using the same alias (without refreshing the window or opening a new VS Code window) E4D will not be able to recognize that E4D is available for the org
Steps To Reproduce:
vscodeOrg
SFDX: Log Out of Default Org
SFDX: Authorize an Org
vscodeOrg
Expected result
Should be able to log in/out at will.
Actual result
E4D is disabled for Org.
Workaround
Developer: Reload Window
Salesforce Extension Version in VS Code: 61.5.0
Salesforce Einstein For Developers Version in VS Code: 0.53.0
OS and version: All
VS Code version: 1.91.1 (all supported version)