<?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: Using notebookutils.fs to copy data from blob storage using private endpoints in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4731246#M10138</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/788986"&gt;@g3kuser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The thing I got to work was to mount the blobstorage and refrence the files via. this mount.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help/input&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jun 2025 08:50:50 GMT</pubDate>
    <dc:creator>KimTutein</dc:creator>
    <dc:date>2025-06-13T08:50:50Z</dc:date>
    <item>
      <title>Using notebookutils.fs to copy data from blob storage using private endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4730629#M10118</link>
      <description>&lt;P&gt;Hi community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone tried using notebookutils.fs to copy data from a Azure blob storage gen2 using private endpoint. I have made a notebook that will backup my lakehouse data to a container in blob storage and then later moving it into a lakehouse (this as a backup/restore using blob and immutable blob containers). I have no problem if I use a storage account which is open to all network however if I close for public network and setup private endpoint on blob and dfs subtypes I am only able to copy data to blob storage from Fabric notebook (se appendix 1) but not the other way around (from blob storage to Lakehouse) - see appendix 2. The error says authentication error but if I open up network again there is no problem so the problem is network related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has any input to why I cannot copy data from blob storage to lakehouse when using private endpoints? Any input/help will be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appendix 1 -- &amp;nbsp;From lake to blob =&amp;gt; DOES work with private endpoint&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;from notebookutils import fs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;source_path_files = "abfss://ds_data_test@onelake.dfs.fabric.microsoft.com/InvestLakeRestore2.Lakehouse/Files/temp/ktt%20tester.txt"&lt;/P&gt;&lt;P&gt;destination_path = "abfss://temp@ktttest3.blob.core.windows.net/Files/"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fs.fastcp(src=source_path_files, dest = &amp;nbsp;destination_path, recurse=True) &amp;nbsp; &amp;nbsp;&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;&lt;STRONG&gt;Appendix 2 - From blob to lake =&amp;gt; Does NOT work with private endpoint&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;from notebookutils import fs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;source_path_files = "abfss://temp@ktttest3.blob.core.windows.net/Files/"&lt;/P&gt;&lt;P&gt;destination_path = "abfss://ds_data_test@onelake.dfs.fabric.microsoft.com/InvestLakeRestore2.Lakehouse/Files/temp/ktt%20tester.txt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fs.fastcp(src=source_path_files, dest = &amp;nbsp;destination_path, recurse=True)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;The error:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Py4JJavaError&lt;/SPAN&gt;&lt;SPAN&gt;: An error occurred while calling z:notebookutils.fs.fastcp. : java.lang.Exception: azcopy failed, cmd:bash -c azcopy copy '&lt;A href="https://ktttest3.blob.core.windows.net/temp/Files/" target="_blank" rel="noopener"&gt;https://ktttest3.blob.core.windows.net/temp/Files/&lt;/A&gt;' '&lt;A href="https://onelake.blob.fabric.microsoft.com/ds_data_test/InvestLakeRestore2.Lakehouse/Files/temp/ktt" target="_blank" rel="noopener"&gt;https://onelake.blob.fabric.microsoft.com/ds_data_test/InvestLakeRestore2.Lakehouse/Files/temp/ktt&lt;/A&gt; tester.txt' --trusted-microsoft-suffixes="*.pbidedicated.windows.net;*.pbidedicated.windows-int.net;*.fabric.microsoft.com" --recursive --skip-version-check exit:1 stdout:INFO: Scanning... INFO: AZCOPY_OAUTH_TOKEN_INFO is set. INFO: Autologin not specified. INFO: Authenticating to destination using Azure AD INFO: Authenticating to source using Azure AD INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support Job 34f1d337-8993-574c-6fba-d528a6723871 has started Log file is located at: /home/trusted-service-user/.azcopy/34f1d337-8993-574c-6fba-d528a6723871.log INFO: Transfers could fail because AzCopy could not verify if the destination supports tiers. INFO: Authentication failed, it is either not correct, or expired, or does not have the correct permission PUT &lt;A href="https://onelake.blob.fabric.microsoft.com/ds_data_test/InvestLakeRestore2.Lakehouse/Files/temp/ktt" target="_blank" rel="noopener"&gt;https://onelake.blob.fabric.microsoft.com/ds_data_test/InvestLakeRestore2.Lakehouse/Files/temp/ktt&lt;/A&gt; tester.txt/Files/ktt tester.txt -------------------------------------------------------------------------------- RESPONSE 403: 403 Forbidden ERROR CODE: CannotVerifyCopySource -------------------------------------------------------------------------------- &amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;Error&amp;gt;&amp;lt;Code&amp;gt;CannotVerifyCopySource&amp;lt;/Code&amp;gt;&amp;lt;Message&amp;gt;This request is not authorized to perform this operation. RequestId:a3b3076e-501e-0039-65cf-db61fb000000 Time:2025-06-12T19:20:49.3537228Z&amp;lt;/Message&amp;gt;&amp;lt;/Error&amp;gt; -------------------------------------------------------------------------------- &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 19:30:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4730629#M10118</guid>
      <dc:creator>KimTutein</dc:creator>
      <dc:date>2025-06-12T19:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using notebookutils.fs to copy data from blob storage using private endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4730825#M10121</link>
      <description>&lt;P&gt;Have you tried by creating shortcut for ADLS Gen 2 storage and perform copy operation through shortcut URL instead of ABFSS Gen2 path.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 02:36:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4730825#M10121</guid>
      <dc:creator>g3kuser</dc:creator>
      <dc:date>2025-06-13T02:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using notebookutils.fs to copy data from blob storage using private endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4730900#M10127</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/788986"&gt;@g3kuser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your idea.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However making a shortcut does not seem to work when the network is closed for public network and using private endpoint. One more thing is that you cannot make a shortcut at the root of the account - the root has to be a container (and our containers are made on the fly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 04:27:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4730900#M10127</guid>
      <dc:creator>KimTutein</dc:creator>
      <dc:date>2025-06-13T04:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using notebookutils.fs to copy data from blob storage using private endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4731134#M10133</link>
      <description>&lt;P&gt;You can create shortcut for private storage account. In the storage account you will have to whitelist the Fabric workspace under the resource type section in network/firewall settings and allow Azure service traffic. I am not sure if you can have it set to root.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The other thing you can try is to mount the storage container through notebookutils library and see if that goes through.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 07:36:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4731134#M10133</guid>
      <dc:creator>g3kuser</dc:creator>
      <dc:date>2025-06-13T07:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using notebookutils.fs to copy data from blob storage using private endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4731246#M10138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/788986"&gt;@g3kuser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The thing I got to work was to mount the blobstorage and refrence the files via. this mount.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help/input&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 08:50:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-notebookutils-fs-to-copy-data-from-blob-storage-using/m-p/4731246#M10138</guid>
      <dc:creator>KimTutein</dc:creator>
      <dc:date>2025-06-13T08:50:50Z</dc:date>
    </item>
  </channel>
</rss>

