Issue
After a clone, importing unpublished changes for a scoped application (ABC) from an external repository (like git) throws the below error:
"Application 'ABC' is already associated with another repository configuration"
Release
All releases
Cause
There exists an older repository configuration for the app on sys_repo_config table.
Resolution
1. Delete the old config record in "sys_repo_config" table for the application.
2. Open the application in Studio.
3. Navigate to Source Control > Link to Source Control.
4. Enter the proper config/credentials to link to the repository and click Submit.
Related Links
Link an application to source control: https://docs.servicenow.com/csh?topicname=t_LinkAnApplicationToSourceControl.html&version=latest