<?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 Fabric Warehouse BACPAC Deployment from Dev to Prod – Dropped Tables Not Removed in Prod in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-BACPAC-Deployment-from-Dev-to-Prod-Dropped/m-p/5142514#M4425</link>
    <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m deploying a Microsoft Fabric Warehouse from Dev to Prod using Azure DevOps BACPAC-based deployment&amp;nbsp;&lt;SPAN&gt;and I've run into a behaviour I'd like to understand better.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As part of understanding how schema changes are handled, I tested the following scenario:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A table was dropped in the Dev Fabric Warehouse&lt;/LI&gt;&lt;LI&gt;The Azure DevOps pipeline was triggered to deploy the latest BACPAC to Prod&lt;/LI&gt;&lt;LI&gt;The deployment completed successfully&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, after the deployment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The dropped table still exists in the Prod warehouse&lt;/LI&gt;&lt;LI&gt;Other changes (new/modified objects) seem to deploy as expected, but deletions are not reflected&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This raised a few questions for me:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this the expected behavior when deploying Fabric Warehouse using BACPAC?&lt;/LI&gt;&lt;LI&gt;Does BACPAC deployment only add or update objects and not remove dropped objects in the target environment?&lt;/LI&gt;&lt;LI&gt;Is there any supported way to sync deletions (for example, dropped tables) from Dev to Prod as part of CI/CD?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Any pointers or alternative approaches would be greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2026 11:13:59 GMT</pubDate>
    <dc:creator>Aparnaa_MS</dc:creator>
    <dc:date>2026-04-01T11:13:59Z</dc:date>
    <item>
      <title>Fabric Warehouse BACPAC Deployment from Dev to Prod – Dropped Tables Not Removed in Prod</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-BACPAC-Deployment-from-Dev-to-Prod-Dropped/m-p/5142514#M4425</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m deploying a Microsoft Fabric Warehouse from Dev to Prod using Azure DevOps BACPAC-based deployment&amp;nbsp;&lt;SPAN&gt;and I've run into a behaviour I'd like to understand better.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As part of understanding how schema changes are handled, I tested the following scenario:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A table was dropped in the Dev Fabric Warehouse&lt;/LI&gt;&lt;LI&gt;The Azure DevOps pipeline was triggered to deploy the latest BACPAC to Prod&lt;/LI&gt;&lt;LI&gt;The deployment completed successfully&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, after the deployment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The dropped table still exists in the Prod warehouse&lt;/LI&gt;&lt;LI&gt;Other changes (new/modified objects) seem to deploy as expected, but deletions are not reflected&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This raised a few questions for me:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this the expected behavior when deploying Fabric Warehouse using BACPAC?&lt;/LI&gt;&lt;LI&gt;Does BACPAC deployment only add or update objects and not remove dropped objects in the target environment?&lt;/LI&gt;&lt;LI&gt;Is there any supported way to sync deletions (for example, dropped tables) from Dev to Prod as part of CI/CD?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Any pointers or alternative approaches would be greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 11:13:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-BACPAC-Deployment-from-Dev-to-Prod-Dropped/m-p/5142514#M4425</guid>
      <dc:creator>Aparnaa_MS</dc:creator>
      <dc:date>2026-04-01T11:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Warehouse BACPAC Deployment from Dev to Prod – Dropped Tables Not Removed in Prod</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-BACPAC-Deployment-from-Dev-to-Prod-Dropped/m-p/5142558#M4427</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1522327" data-lia-user-login="Aparnaa_MS" class="lia-mention lia-mention-user"&gt;Aparnaa_MS&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks you reaching out to fabric community. Will happy to help with your issue. Here are the answers to your questions.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question 1&amp;amp;2:&lt;/STRONG&gt; Yes, this is &lt;STRONG&gt;expected behavior when using BACPAC deployment&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;A BACPAC is essentially a &lt;STRONG&gt;snapshot of the database schema and data&lt;/STRONG&gt;, and when you deploy/import it to the target (Prod), it focuses on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Creating missing objects&lt;/LI&gt;&lt;LI&gt;Updating existing objects&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, it &lt;STRONG&gt;does NOT perform schema comparison&lt;/STRONG&gt; and &lt;STRONG&gt;does NOT remove objects&lt;/STRONG&gt; that exist in the target but are no longer present in the source (Dev). This is by design to avoid unintended data loss in the target environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why your dropped table still exists in Prod:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The table was removed in Dev&lt;/LI&gt;&lt;LI&gt;BACPAC deployment does not detect or apply deletions&lt;/LI&gt;&lt;LI&gt;Therefore, the table remains in Prod&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 3: &lt;/STRONG&gt;Here are the ways for the work around you can use for the deplyment.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to handle deletions in CI/CD:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you need Dev and Prod to stay fully in sync (including dropped objects), you should consider these approaches:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Use DACPAC (Recommended Solution)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;DACPAC&lt;/STRONG&gt; supports schema comparison&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You can enable:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;/p:DropObjectsNotInSource=True&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;This ensures objects removed in Dev are also removed in Prod&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;2. Use Schema Compare / Deployment Scripts&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Generate SQL scripts that explicitly include &lt;STRONG&gt;DROP&amp;nbsp;&lt;/STRONG&gt;statements&lt;/LI&gt;&lt;LI&gt;Deploy those scripts via your pipeline&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;3. Maintain Migration-Based Scripts&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Track changes (CREATE / ALTER / DROP) in version control.&lt;/LI&gt;&lt;LI&gt;Apply them incrementally in your release pipeline.&lt;BR /&gt;&lt;SPAN&gt;I hope you find this suggestion helpful! If it resolves your issue, please consider accepting it as the answer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;it helps others in the community too. Always happy to assist further if needed. Kudos are always appreciated!&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 01 Apr 2026 12:42:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-BACPAC-Deployment-from-Dev-to-Prod-Dropped/m-p/5142558#M4427</guid>
      <dc:creator>Lodha_Jaydeep</dc:creator>
      <dc:date>2026-04-01T12:42:44Z</dc:date>
    </item>
  </channel>
</rss>

