<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error creating Git folder: Invalid Git provider credential although PAT is valid in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/error-creating-git-folder-invalid-git-provider-credential/m-p/154452#M5142</link>
    <description>&lt;P&gt;1. Confirm HTTPS URL with .git suffix → no embedded credentials in URL&lt;/P&gt;&lt;P&gt;&amp;nbsp;Don't Use Use Instead&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;git@github.com:org/repo.git (SSH)&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://github.com/org/repo.git&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo" target="_blank" rel="noopener"&gt;https://github.com/org/repo&lt;/A&gt; (no .git)&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://github.com/org/repo.git&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="https://user@github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://user@github.com/org/repo.git&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://github.com/org/repo.git&lt;/A&gt; (no embedded user)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;2. If self-hosted Git → ask admin to register the host in Databricks Admin Console&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A Databricks &lt;STRONG&gt;admin&lt;/STRONG&gt; must register the custom Git host:&lt;UL class=""&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Admin Console → Settings → Git Integration&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Add your custom Git host URL (e.g., &lt;A href="https://gitlab.mycompany.com" target="_blank" rel="noopener"&gt;https://gitlab.mycompany.com&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Without this, Databricks silently fails auth even with valid credentials&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;3. Delete ALL saved Git credentials in Databricks → re-add one clean credential&lt;/P&gt;&lt;P class=""&gt;Databricks stores Git credentials &lt;STRONG&gt;per user&lt;/STRONG&gt;:&lt;/P&gt;&lt;OL class=""&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Settings → Linked Accounts → Git Credentials&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Confirm the credential is saved under &lt;STRONG&gt;your current logged-in user&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;If you have multiple Databricks accounts/workspaces, verify you're in the &lt;STRONG&gt;right workspace&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Delete and &lt;STRONG&gt;re-add&lt;/STRONG&gt; the credential fresh — sometimes a corrupted entry persists silent&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;4. If Azure DevOps → verify org name and URL format&lt;/P&gt;&lt;P class=""&gt;If using &lt;STRONG&gt;Azure DevOps&lt;/STRONG&gt;, this is a frequent Databricks-specific trap:&lt;/P&gt;&lt;P class=""&gt;Correct URL format for Azure DevOps:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;https://dev.azure.com/{organization}/{project}/_git/{repository}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;Old format (may fail in Databricks):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;https://{organization}.visualstudio.com/{project}/_git/{repository}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;Also ensure your PAT was generated under the &lt;STRONG&gt;correct Azure DevOps Organization&lt;/STRONG&gt; — a PAT from Org A won't work for Org B even with identical settings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;5. Regenerate PAT → re-save in Databricks&lt;/P&gt;&lt;P class=""&gt;Some PATs contain characters (+, =, /, @) that Databricks may mishandle:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;STRONG&gt;Regenerate your PAT&lt;/STRONG&gt; and check if the new one works&lt;/LI&gt;&lt;LI&gt;If your provider allows it, regenerate until you get a token &lt;STRONG&gt;without special characters&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2026 13:44:30 GMT</pubDate>
    <dc:creator>NageshPatil</dc:creator>
    <dc:date>2026-04-14T13:44:30Z</dc:date>
    <item>
      <title>Error creating Git folder: Invalid Git provider credential although PAT is valid</title>
      <link>https://community.databricks.com/t5/administration-architecture/error-creating-git-folder-invalid-git-provider-credential/m-p/154425#M5141</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m getting this error when trying to create a Git folder in Databricks:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Error creating Git folder&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Invalid Git provider credential for repository with URL [Placeholder].&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to fix&lt;/STRONG&gt;&lt;BR /&gt;Please go to your remote Git provider to ensure that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;You have entered the correct Git user email or username with your Git provider credentials.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Your token has the correct repo access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Your token has not expired.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If you have SSO enabled with your Git provider, be sure to authorize your token.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Alternatively, select or create another git credential using git credential selector below.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Request ID:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;6218650a-b143-XXX&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What I already verified:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;My PATs are valid (not expired).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;PAT scopes/permissions are correct for repo access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Credentials (username/email + token) are correct.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I can clone the same repositories successfully via other applications / CLI (no issues there).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The problem appears only in Databricks.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Additional context:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I already had this exact issue in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;December &lt;/STRONG&gt;. At that time, it disappeared by itself after about&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;3 days&lt;/STRONG&gt;, without any changes on my side (no credential changes, no permission changes, no config changes).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Also had the same issue in &lt;STRONG&gt;February&lt;/STRONG&gt;, after sharing the Problem here in der Forum, i got the Input to renew the Account Link in Databricks and it worked again but there also passed a &lt;STRONG&gt;few days&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;For a collague of mine, the same pocedure wasn't working but after a few days he tried again to renew the connection and is also started to work again&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The issue is not limited to creating new Git folders: in existing Databricks repos, I also cannot switch branches.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I also checked the solution suggestions from my previous post about the same Problem.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hey&amp;nbsp;&lt;A class="" href="https://community.databricks.com/t5/user/viewprofilepage/user-id/215704" target="_blank" rel="noopener" aria-label="View Profile of Fabi_DYM"&gt;&lt;SPAN class=""&gt;Fabi_DYM&lt;/SPAN&gt;&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;Thanks for reaching out. Here are a few troubleshooting suggestions:&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;1. Authorize PAT for SAML SSO&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;-&amp;nbsp;&lt;A class="" href="https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-single-sign-on/authorizing-a-personal-access-token-for-use-with-single-sign-on" target="_blank" rel="noopener nofollow noreferrer"&gt;Authorizing a personal access token for use with single sign-on&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;2. Verify Databricks Linked Account Settings - see docs&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/repos/get-access-tokens-from-git-provider" target="_blank" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;3. GitHub Enterprise Managed Users (EMU) -&amp;nbsp;If you are an EMU, you cannot use the Databricks GitHub App and must use a PAT with specific naming conventions. See NOTE&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/repos/get-access-tokens-from-git-provider#databricks-github-app-recommended" target="_blank" rel="nofollow noopener noreferrer"&gt;here.&lt;/A&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;4.&amp;nbsp;Firewall and IP Access Lists - Databricks control plane IPs may need to be allowlisted in your GitHub Enterprise settings.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;5. Service Principal Automation&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;-&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;If you are seeing this error in a job or workflow, standard PATs may not apply. You must link credentials to the Service Principal specifically.&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Please let me know if that helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Sarah&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Is there beside the account-linking component also a time component? Like you have to wait a few days, than renew the Link in Databricks and than its working again? Is something like that even possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Could anyone share possible root causes I should check next?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Apr 2026 09:08:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/error-creating-git-folder-invalid-git-provider-credential/m-p/154425#M5141</guid>
      <dc:creator>Fabi_DYM</dc:creator>
      <dc:date>2026-04-14T09:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating Git folder: Invalid Git provider credential although PAT is valid</title>
      <link>https://community.databricks.com/t5/administration-architecture/error-creating-git-folder-invalid-git-provider-credential/m-p/154452#M5142</link>
      <description>&lt;P&gt;1. Confirm HTTPS URL with .git suffix → no embedded credentials in URL&lt;/P&gt;&lt;P&gt;&amp;nbsp;Don't Use Use Instead&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;git@github.com:org/repo.git (SSH)&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://github.com/org/repo.git&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo" target="_blank" rel="noopener"&gt;https://github.com/org/repo&lt;/A&gt; (no .git)&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://github.com/org/repo.git&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="https://user@github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://user@github.com/org/repo.git&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://github.com/org/repo.git" target="_blank" rel="noopener"&gt;https://github.com/org/repo.git&lt;/A&gt; (no embedded user)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;2. If self-hosted Git → ask admin to register the host in Databricks Admin Console&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A Databricks &lt;STRONG&gt;admin&lt;/STRONG&gt; must register the custom Git host:&lt;UL class=""&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Admin Console → Settings → Git Integration&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Add your custom Git host URL (e.g., &lt;A href="https://gitlab.mycompany.com" target="_blank" rel="noopener"&gt;https://gitlab.mycompany.com&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Without this, Databricks silently fails auth even with valid credentials&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;3. Delete ALL saved Git credentials in Databricks → re-add one clean credential&lt;/P&gt;&lt;P class=""&gt;Databricks stores Git credentials &lt;STRONG&gt;per user&lt;/STRONG&gt;:&lt;/P&gt;&lt;OL class=""&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Settings → Linked Accounts → Git Credentials&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Confirm the credential is saved under &lt;STRONG&gt;your current logged-in user&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;If you have multiple Databricks accounts/workspaces, verify you're in the &lt;STRONG&gt;right workspace&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Delete and &lt;STRONG&gt;re-add&lt;/STRONG&gt; the credential fresh — sometimes a corrupted entry persists silent&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;4. If Azure DevOps → verify org name and URL format&lt;/P&gt;&lt;P class=""&gt;If using &lt;STRONG&gt;Azure DevOps&lt;/STRONG&gt;, this is a frequent Databricks-specific trap:&lt;/P&gt;&lt;P class=""&gt;Correct URL format for Azure DevOps:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;https://dev.azure.com/{organization}/{project}/_git/{repository}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;Old format (may fail in Databricks):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;https://{organization}.visualstudio.com/{project}/_git/{repository}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;Also ensure your PAT was generated under the &lt;STRONG&gt;correct Azure DevOps Organization&lt;/STRONG&gt; — a PAT from Org A won't work for Org B even with identical settings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;5. Regenerate PAT → re-save in Databricks&lt;/P&gt;&lt;P class=""&gt;Some PATs contain characters (+, =, /, @) that Databricks may mishandle:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;STRONG&gt;Regenerate your PAT&lt;/STRONG&gt; and check if the new one works&lt;/LI&gt;&lt;LI&gt;If your provider allows it, regenerate until you get a token &lt;STRONG&gt;without special characters&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 13:44:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/error-creating-git-folder-invalid-git-provider-credential/m-p/154452#M5142</guid>
      <dc:creator>NageshPatil</dc:creator>
      <dc:date>2026-04-14T13:44:30Z</dc:date>
    </item>
  </channel>
</rss>

