Forum Discussion
My Azure DevOps Git configuration failed to load in Azure Data Factory
The app-registration secret is probably a red herring. ADF Studio’s Azure Repos Git integration uses the signed-in user’s Azure DevOps token; pipeline service connections and their secrets are separate.
From the same browser session, open Azure DevOps > Repos > Files and confirm you can open the configured repository and collaboration branch, not just the project or service-connections page. Check that your Azure DevOps access level is Basic and the repo permissions include Read, plus Contribute/Create branch if you save changes. Then in ADF Studio > Manage > Git configuration, verify the tenant, organization, project, repository, and branch still match. A renamed or moved repo, or changed permission inheritance, will break loading.
If ADF and Azure DevOps are in different tenants, use ADF’s Cross-tenant sign-in and select the DevOps directory. A 401 usually points to the wrong-tenant or stale token; a 403 points to permissions. Try an Azure DevOps sign-out and an InPrivate session before detaching Git. Live mode should run the last published factory while you repair source control.