function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Han YmakHan Ymak 

SFDX: Authorize an Org failed to run. Source: Salesforce CLI integration (extention)

Hi all,

I am trying to authorize an ogr on VS Code but I could not solve the following problem. 

SFDX: Authorize an Org failed to run

Source: Salesforce CLI integration (extention)

I installed CLI and CLI extention from extentions.

 

Please help. 

Han

VinayVinay (Salesforce Developers) 
Hi Han,

Make sure salesforce CLI is installed correctly or no and add the path of salesforce CLI to the environmental variables.

https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm
https://github.com/forcedotcom/salesforcedx-vscode/issues/3459

If above still doesn't work try to uninstall and re-install the VS code and installed the plugin and that should work.

Please mark as Best Answer if above information was helpful.

Thanks,
Arun Kumar 1141Arun Kumar 1141
Hi, Han Ymak

You can take a refrence from the below site to address the issue-
https://developer.salesforce.com/forums/?id=9062I000000IN9UQAW

Hope this helps you
Thanks!