title: ADF git configuration error: You are not allowed to save to current branch, either select another branch, or resolve the permissions in Azure DevOps
body: <p>When configuring a repository for my Azure Data Factory I am receiving the following error:</p>
  <pre><code>Failed to save Publish branch.
  Error: You are not allowed to save to current branch, either select another branch, or resolve the permissions in Azure DevOps.
  </code></pre>
  <p><a href="https://i.stack.imgur.com/5caXR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5caXR.png" alt="enter image description here" /></a></p>
  <p>The only non-standard feature that I have selected is to use a custom &quot;Publish branch&quot;.</p>
  <p>I have checked all permissions and made sure the branch exists in Azure DevOps.</p>