Share via

ADF - Git configuration failure

Betty Xu (Yun) (202) 86 Reputation points
2025-09-05T18:11:09.2266667+00:00

What the permission is to initially Configure a repository with Azure DevOps?

I got the error below:User's image

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


Answer accepted by question author

Amira Bedhiafi 42,941 Reputation points MVP Volunteer Moderator
2025-09-05T18:31:33.41+00:00

Hello Betty !

Thank you for posting on Microsoft Learn Q&A.

You’re missing the Git create repository permission at the project scope in Azure DevOps.

What you need to configure ADF Git ?

  • If you want ADF to create a new repo during setup: project-level permission: create repository = Allow.
  • If you connect ADF to an existing repo: repo-level permissions: read, contribute, create branch (so ADF can create your collaboration and adf_publish branches). On the Azure side, you also need data factory contributor (or higher) on the ADF resource.

How to grant create repository ?

  1. in Azure DevOps go to project settings then repositories then security
  2. select the project node (not an individual repo)
  3. select your user or team (often contributors)
  4. set create repository to allow

If your organization restricts repo creation to admins, a project administrator (or project collection administrator) will need to either grant you that permission or create the repo for you. After that, you can choose use existing repository in the ADF Git configuration.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.