SFDX: Authorize an Org failed to run - what should I do?
SFDX: Authorize an Org failed to run in VS Code:
I am trying to authorize an org on visual studio code but when I am trying to authorize it, I am getting the below error.
SFDX: Authorize an Org failed to run
Regarding sfdx authorize an org failed to run, verify if salesforce CLI is installed successfully or not .
Add the path of the Salesforce CLI to the environmental variables.
Please follow the below article to install and set the path for the Salesforce CLI.
Salesforce CLI Installation steps
steps for setting up VSCODE