<?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: Dbt Job &amp;amp; git repo combination does not work out of the box in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/4998520#M14980</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/779277"&gt;@KobeLenjou2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workaround appears to be legitimate based on official Microsoft documentation. In the Microsoft Fabric REST API documentation for dbt job definitions, there's an official example showing exactly this pattern please refer and hence the same might work here. Since Fabric is evolving quickly we might see the changes in GA faster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post helps, then please appreciate giving a &lt;STRONG&gt;Kudos&lt;/STRONG&gt; or accepting as a &lt;STRONG&gt;Solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/articles/item-management/definitions/dbtjob-definition" target="_self"&gt;API dbt&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Feb 2026 22:02:20 GMT</pubDate>
    <dc:creator>ssrithar</dc:creator>
    <dc:date>2026-02-05T22:02:20Z</dc:date>
    <item>
      <title>Dbt Job &amp; git repo combination does not work out of the box</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/4998238#M14977</link>
      <description>&lt;P&gt;Scenario:&lt;BR /&gt;* Create a DBT Job item in Fabric£&lt;BR /&gt;* Link it to a WH in the same workspace&lt;BR /&gt;* Save the project&lt;/P&gt;&lt;P&gt;* Commit to a git repo linked to the workspace&lt;BR /&gt;* Clone the repo in some editor and change a random ingignificat thing (add a space or so)&lt;/P&gt;&lt;P&gt;* Commit &amp;amp; Push&lt;/P&gt;&lt;P&gt;* Fabric will indiocate incoming changes, try to merge them&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Failed to discover dependencies of the following items: *****&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To work around:&lt;BR /&gt;In the repo you'll find a file called "dbt-content.json" that defined the link to the WH you defined before. It looks something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; "properties": {
        "type": "DataWarehouse",
        "typeProperties": {
          "workspaceId": "cda7811b-a4cf-42b9-9967-ec6f3da25cc2",
          "artifactId": "3483f7d2-1a59-448f-b008-3cc30bd5dd78"
        }
      }
    }&lt;/LI-CODE&gt;&lt;P&gt;Now, change this to&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"properties": {
        "type": "DataWarehouse",
        "typeProperties": {
          "workspaceId": "00000000-0000-0000-0000-000000000000",
          "artifactId": "0bd5dd78-3cc3-b008-448f-1a593483f7d2"
        }
      }
    }&lt;/LI-CODE&gt;&lt;P&gt;The many zeroes indiocate the current workspace, and the artifact id is the 'logical id' instead of the 'physical id'&lt;BR /&gt;&lt;BR /&gt;This is clearly a bug on Fabric end, but we can get around it for now.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 16:39:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/4998238#M14977</guid>
      <dc:creator>KobeLenjou2</dc:creator>
      <dc:date>2026-02-05T16:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dbt Job &amp; git repo combination does not work out of the box</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/4998520#M14980</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/779277"&gt;@KobeLenjou2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workaround appears to be legitimate based on official Microsoft documentation. In the Microsoft Fabric REST API documentation for dbt job definitions, there's an official example showing exactly this pattern please refer and hence the same might work here. Since Fabric is evolving quickly we might see the changes in GA faster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post helps, then please appreciate giving a &lt;STRONG&gt;Kudos&lt;/STRONG&gt; or accepting as a &lt;STRONG&gt;Solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/articles/item-management/definitions/dbtjob-definition" target="_self"&gt;API dbt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 22:02:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/4998520#M14980</guid>
      <dc:creator>ssrithar</dc:creator>
      <dc:date>2026-02-05T22:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dbt Job &amp; git repo combination does not work out of the box</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/5000403#M15016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for sharing the detailed repro steps — this looks like a Fabric-side Git integration / dependency resolution issue for dbt Job items.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What’s failing&lt;/STRONG&gt;&lt;BR /&gt;After committing the dbt Job definition to a Git-connected workspace and then pushing even a trivial change from an external editor, Fabric detects incoming changes but fails during merge with:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;“Failed to discover dependencies of the following items: …”&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;From what I’m seeing, the root cause is the way the dbt job definition stores the Data Warehouse reference in dbt-content.json:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;workspaceId and artifactId are stored in a way that Fabric can’t reliably resolve after the Git roundtrip (especially when the repo is merged back into the workspace).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The fix is to use the &lt;STRONG&gt;logical identifiers&lt;/STRONG&gt; that Fabric expects for dependency discovery.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Workaround / Fix&lt;/STRONG&gt;&lt;BR /&gt;In your repo, open dbt-content.json and update the warehouse reference as follows:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Set workspaceId to all zeros to indicate “current workspace”:&lt;BR /&gt;00000000-0000-0000-0000-000000000000&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use the &lt;STRONG&gt;logical artifactId&lt;/STRONG&gt; (not the physical one). In practice, this can appear like a re-ordered GUID format compared to what was originally saved.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After committing this change and merging again, Fabric should be able to resolve the dependency and complete the Git sync.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reference (official documentation)&lt;/STRONG&gt;&lt;BR /&gt;Microsoft’s REST API docs for dbt job definitions show this exact pattern (zero workspaceId + logical IDs). You can use this as the authoritative reference:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/articles/item-management/definitions/dbtjob-definition" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/fabric/articles/item-management/definitions/dbtjob-definition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Suggestion&lt;/STRONG&gt;&lt;BR /&gt;Until this is fixed in Fabric, I’d recommend keeping the dbt job definition aligned with the documented schema before merging back into the workspace. If you can share whether the target Warehouse is in the same workspace (and whether you’re using a specific branch policy), I can also suggest a safer Git workflow to avoid re-triggering the dependency discovery failure.&lt;/P&gt;&lt;P&gt;Hope this helps — please let me know if the merge still fails after updating dbt-content.json.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2026 11:22:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/5000403#M15016</guid>
      <dc:creator>bariscihan</dc:creator>
      <dc:date>2026-02-08T11:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dbt Job &amp; git repo combination does not work out of the box</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/5000833#M15025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/779277"&gt;@KobeLenjou2&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/833169"&gt;@bariscihan&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1448111"&gt;@ssrithar&lt;/a&gt;,&amp;nbsp; for those inputs on this thread.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Has your issue been resolved? If the response provided by the community member&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/833169"&gt;@bariscihan&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1448111"&gt;@ssrithar&lt;/a&gt;,&amp;nbsp;&amp;nbsp; addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.&lt;BR /&gt;&lt;BR /&gt;Thank you for using the Microsoft Community Forum.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 05:09:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dbt-Job-amp-git-repo-combination-does-not-work-out-of-the-box/m-p/5000833#M15025</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2026-02-09T05:09:14Z</dc:date>
    </item>
  </channel>
</rss>

