<?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: Cannot detach data item from notebook in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5104838#M15166</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/829876"&gt;@NotebookEnjoyer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to remove the lakehouse , choose some other lakehouse as Default and then try removing the lakehouse, it will get removed.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;: In this sample i have two lakehouses attached to my notebook, the first one with pin symbol is default,so you cannot remove it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_0-1771562440519.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327454iEE28B9D105153D68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_0-1771562440519.png" alt="Srisakthi_0-1771562440519.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step2: &lt;/STRONG&gt;Set the second lakehouse as default,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_1-1771562531530.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327455iE4567C47429D3E39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_1-1771562531530.png" alt="Srisakthi_1-1771562531530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 3: &lt;/STRONG&gt;Now you will be able to see the option for the lakehouse which you want to remove as it becomes not default&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_2-1771562592945.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327456i76ADB2D2512DD8AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_2-1771562592945.png" alt="Srisakthi_2-1771562592945.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Srisakthi&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2026 04:43:23 GMT</pubDate>
    <dc:creator>Srisakthi</dc:creator>
    <dc:date>2026-02-20T04:43:23Z</dc:date>
    <item>
      <title>Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5062946#M15163</link>
      <description>&lt;P&gt;Hi, the title is pretty much self-explanatory. The "Remove" option is greyed out. What is going on?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NotebookEnjoyer_0-1771509916203.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327350iBAF20B0540C77BD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NotebookEnjoyer_0-1771509916203.png" alt="NotebookEnjoyer_0-1771509916203.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 14:06:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5062946#M15163</guid>
      <dc:creator>NotebookEnjoyer</dc:creator>
      <dc:date>2026-02-19T14:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5064445#M15164</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/829876"&gt;@NotebookEnjoyer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you're experiencing is how Fabric Notebooks are designed to behave!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a Fabric notebook, only ONE Warehouse can be the “primary” Warehouse. The first attached Warehouse becomes permanently bound. That primary Warehouse can never be removed. Any &lt;I&gt;additional&lt;/I&gt; Warehouses are secondary and &lt;I&gt;can&lt;/I&gt; be removed. You can try this with the other Warehouse you have attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the one you tried to remove is the first Warehouse you attached to your notebook.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabric internally assigns the first Warehouse as Notebook SQL execution context. So it follows this rule&lt;/P&gt;&lt;P&gt;First Warehouse = permanent&lt;/P&gt;&lt;P&gt;Subsequent Warehouses = optional&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to “change” the primary Warehouse:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new notebook&lt;/LI&gt;&lt;LI&gt;Attach the desired Warehouse first&lt;/LI&gt;&lt;LI&gt;Copy notebook content&lt;/LI&gt;&lt;LI&gt;Delete the old notebook&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This is the only supported way to change the primary Warehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 16:05:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5064445#M15164</guid>
      <dc:creator>deborshi_nag</dc:creator>
      <dc:date>2026-02-19T16:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5104838#M15166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/829876"&gt;@NotebookEnjoyer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to remove the lakehouse , choose some other lakehouse as Default and then try removing the lakehouse, it will get removed.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;: In this sample i have two lakehouses attached to my notebook, the first one with pin symbol is default,so you cannot remove it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_0-1771562440519.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327454iEE28B9D105153D68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_0-1771562440519.png" alt="Srisakthi_0-1771562440519.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step2: &lt;/STRONG&gt;Set the second lakehouse as default,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_1-1771562531530.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327455iE4567C47429D3E39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_1-1771562531530.png" alt="Srisakthi_1-1771562531530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 3: &lt;/STRONG&gt;Now you will be able to see the option for the lakehouse which you want to remove as it becomes not default&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_2-1771562592945.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327456i76ADB2D2512DD8AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_2-1771562592945.png" alt="Srisakthi_2-1771562592945.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Srisakthi&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 04:43:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5104838#M15166</guid>
      <dc:creator>Srisakthi</dc:creator>
      <dc:date>2026-02-20T04:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5104839#M15167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/829876"&gt;@NotebookEnjoyer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to remove the lakehouse , choose some other lakehouse as Default and then try removing the lakehouse, it will get removed.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;: In this sample i have two lakehouses attached to my notebook, the first one with pin symbol is default,so you cannot remove it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_0-1771562440519.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327454iEE28B9D105153D68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_0-1771562440519.png" alt="Srisakthi_0-1771562440519.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step2: &lt;/STRONG&gt;Set the second lakehouse as default,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_1-1771562531530.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327455iE4567C47429D3E39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_1-1771562531530.png" alt="Srisakthi_1-1771562531530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 3: &lt;/STRONG&gt;Now you will be able to see the option for the lakehouse which you want to remove as it becomes not default&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_2-1771562592945.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327456i76ADB2D2512DD8AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_2-1771562592945.png" alt="Srisakthi_2-1771562592945.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Srisakthi&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 04:43:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5104839#M15167</guid>
      <dc:creator>Srisakthi</dc:creator>
      <dc:date>2026-02-20T04:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5105240#M15171</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/829876"&gt;@NotebookEnjoyer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workaround mentioned by&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/782160"&gt;@Srisakthi&lt;/a&gt;&amp;nbsp;is valid, however I don't think that applies to your case. I looked closely at your screenshot to identify the type of data item you're dealing with - in your case it is a Warehouse, although you've named it BC_140_TEST_Lakehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Set as default lakehouse" option will show on a Lakehouse, not on a Warehouse item! The first Warehouse you add to your Notebook is permanent - you can't delete that, for reasons I mentioned in my first response to you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 09:54:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5105240#M15171</guid>
      <dc:creator>deborshi_nag</dc:creator>
      <dc:date>2026-02-20T09:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5106059#M15173</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1445078"&gt;@deborshi_nag&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are right , we cannot do it on "Warehouse". But once we attach a lakehouse to notebook(which is already attached with warehouse first) in my case it allows to remove warehouse. Fabric automatically assign lakehouse as default.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srisakthi_0-1771584478515.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1327490i028AD6C1B61C01B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srisakthi_0-1771584478515.png" alt="Srisakthi_0-1771584478515.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Srisakthi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 10:49:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5106059#M15173</guid>
      <dc:creator>Srisakthi</dc:creator>
      <dc:date>2026-02-20T10:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5140111#M15605</link>
      <description>&lt;P&gt;Hi, same problem, the solution that i found was deleting all sources from the OneLake source and then adding them again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RamiroD_1-1774621455991.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1331328iC317F105A61C6E1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RamiroD_1-1774621455991.png" alt="RamiroD_1-1774621455991.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2026 14:24:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5140111#M15605</guid>
      <dc:creator>RamiroD</dc:creator>
      <dc:date>2026-03-27T14:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot detach data item from notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5140604#M15613</link>
      <description>&lt;P&gt;Amazing, it works.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2026 15:57:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Cannot-detach-data-item-from-notebook/m-p/5140604#M15613</guid>
      <dc:creator>NotebookEnjoyer</dc:creator>
      <dc:date>2026-03-29T15:57:55Z</dc:date>
    </item>
  </channel>
</rss>

