SFDX: Authorize an Org failed to run - what should I do?

580    Asked by AlisonKelly in Salesforce , Asked on Sep 22, 2022

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

Answered by Anisha Dalal

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



Your Answer

Interviews

Parent Categories