Step-by-Step Guide to Deregister an Authorized Organization from Salesforce in Visual Studio Code

by liuqiyue

How to Remove Authorized Org from VS Code Salesforce

If you’re working with Salesforce in Visual Studio Code (VS Code) and need to remove an authorized org, you might be wondering how to do it efficiently. Removing an authorized org from VS Code Salesforce is a straightforward process that ensures you can manage your Salesforce environments more effectively. In this article, we’ll guide you through the steps to remove an authorized org from VS Code Salesforce.

Step 1: Open VS Code

First, open Visual Studio Code on your computer. If you haven’t installed VS Code yet, you can download it from the official website (https://code.visualstudio.com/).

Step 2: Open Salesforce Extension

Once VS Code is open, you need to install the Salesforce extension. To do this, go to the Extensions view by clicking on the Extensions icon on the Activity Bar on the side of VS Code. Search for “Salesforce” in the search bar and install the Salesforce extension.

Step 3: Open Salesforce Developer Console

After installing the Salesforce extension, click on the Salesforce icon in the Activity Bar to open the Salesforce Developer Console. This console allows you to manage your Salesforce orgs and connected environments.

Step 4: Access the Org List

In the Salesforce Developer Console, you’ll see a list of authorized orgs. Click on the “Orgs” tab to view the list of orgs you have authorized in VS Code.

Step 5: Remove the Authorized Org

To remove an authorized org, hover over the org you want to remove and click on the “Remove” button that appears. A confirmation dialog will appear, asking you to confirm the removal. Click “OK” to remove the org from VS Code Salesforce.

Step 6: Close and Reopen VS Code

After removing the authorized org, close and reopen VS Code. This ensures that the changes take effect and the removed org is no longer accessible in VS Code.

By following these simple steps, you can easily remove an authorized org from VS Code Salesforce. This process helps you maintain a clean and organized workspace, making it easier to manage your Salesforce projects. If you encounter any issues or have further questions, feel free to reach out to the Salesforce community or consult the official Salesforce documentation for more information.

You may also like