3

SFDX: Authorize an Org failed to run in VS Code:

I am tring to authorize an org on visual studio code but when I am trying authorize it, I am getting the below error.

SFDX: Authorize an Org failed to run

enter image description here

1 Answer 1

2
  1. Verify if salesforce CLI is installed successfully or not .
  2. 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .