adnane
adnane

Reputation: 109

Grant Access to Azure DevOps A. Data Factory Repo

Our organization has changed name and with it our emails (xxx@abc --> xxx@def), and apparently we can no longer connecter Azure Data Factory to Git. We get the following error:

You have GIT enabled in your data factory. Publishing in 'Data Factory' mode is disabled. Please switch back to GIT mode to make further changes. Read about our Best Practices.

Also the switch from ADF to Devops Git is greyed (see screenshot below)

How do we fix this ?

PS: I have access to Azure Devops and to all the repositories in it, that is why I do not get it why we have this problem

Thanks in advance

enter image description here

Upvotes: 0

Views: 824

Answers (1)

KarthikBhyresh-MT
KarthikBhyresh-MT

Reputation: 5034

A possible scenario can be, you had the previous Azure DevOps tenant with xxx@abc credential and now when you moved to xxx@def, you have an Azure AD account to connect to ADF. Or the other way around. In the backend this is causing mismatch when ADF and Azure DevOps tenant are passing credentials for connecting. Try to clear browser data or cache and explicitly login into DevOps account using same creds from ADF before testing.

See similar in MS DOC: Connect to Git repository failed due to different tenant

Upvotes: 1

Related Questions