---
schema_version: "1"
id: 2d0563babcb7014f482334fc3ed2b98f2c2c45bafef3de672ad38a439de15fbf
title: Disassociate an External Client App from the Source Org’s Global Settings File
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/disassociate_an_external_client_app_from_the_source_file.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.disassociate_an_external_client_app_from_the_source_file.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fc6d6d5ec9e02ccab6a803205b571ff8a0d89798afd0d2d0d589b6289eb31d49
description: When an external client app in one org relies on the global settings file in a source org, you can break the link between the two orgs and generate a unique global settings file for the org.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Disassociate an External Client App from the Source Org’s Global Settings File

When an external client app in one org relies on the global settings file in a source org, you can break the link between the two orgs and generate a unique global settings file for the org.

To disassociate the linked external client app in org 2 from its source org global settings in org 1, there are two options.

- Create a settings file, global settings file, and policies file in org 2, like you did in [Configure the Salesforce DX project for a Local External Client Apps](https://help.salesforce.com/s/articleView?id=xcloud.configure_sfdx_for_external_client_apps.htm&release=264.0.0&type=5 "Prepare your org and create a Salesforce DX project to develop external client apps.").
- Configure the files in org 2 to remove references to the source org, and then deploy the external client app in org 2.

Complete these steps to configure the files in org 2 and disassociate it from org 1.

1. Delete OAuth settings file in org 2.
    
    ```
    sf project delete source --source-dir force-app/main/default/extlClntAppOauthSettings --target-org johndoe@example2.com
    ```
2. Retrieve the metadata files from the source org.
    
    ```
    sf project retrieve start --manifest package.xml --target-org johndoe@example.com
    ```
3. Remove the OAuth link from the settings file.
4. Verify that all four external client app files are referenced in the package.xml file.
5. Deploy the configured external client app metadata in org 2.
    
    ```
    sf project deploy start --manifest package.xml --target-org johndoe@example2.com
    ```
6. Verify that the OAuth link exists in the settings file and is correct for org 2.
    
    ```
    [Org2_ID]:[Org2_Consumer_ID]
    ```

- **[Initiate the Authorize Endpoint for a Disassociated External Client App](https://help.salesforce.com/s/articleView?id=xcloud.initiate_the_authorize_endpoint_for_disassociated_external_client_app.htm&release=264.0.0&type=5)**  
    After the disassociated org metadata is configured with its own global settings file, initiate an OAuth flow to acquire an access token.