Forum Discussion
My Azure DevOps Git configuration failed to load in Azure Data Factory
I have an Azure Data Factory that have been running for years and have been hooked up with DevOps Git configuration with no real automation, its just a place to store changes. Im using it for a monthly data transformation, so im not into it on a daily basis.
Suddenly yesterday the Github repository failed to load and i cant figure out why.
I have been into the app registration to see if any secrets have expired, and i have one that expires in 25 days, but that shouldnt be a problem yet.
I can also open my Github project through devops and navigate to the service connections, so i still have access to the repository, i just cant get ADF to load it properly.
Any ideas about what to do from here?
1 Reply
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.