<?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: How do i Create a workspace object with SP ownership in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139359#M51172</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196959"&gt;@Naveenkumar1811&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Setup a Unity Catalog volume and then you can use following rest api call. It supports file up to 5 GB:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/azure/workspace/files/upload" target="_blank" rel="noopener"&gt;Upload a file | Files API | REST API reference | Azure Databricks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1763389260992.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21763i820CC5A6CB1A42BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1763389260992.png" alt="szymon_dybczak_0-1763389260992.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess dabricks cp command should also work with volume - that's another option. So once you have databricks volumen you can try following:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks cp path_to_your_file dbfs:/Volumes/your_catalog_name/your_schema_name/Volume_name/path/to/data&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1763390627277.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21765iDACD979A29919BA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1763390627277.png" alt="szymon_dybczak_0-1763390627277.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 14:45:03 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2025-11-17T14:45:03Z</dc:date>
    <item>
      <title>How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139337#M51164</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have a scenario that i have a jar file(24MB) to be put on workspace directory. But the ownership should be associated to the SP with any Individual ID ownership. Tried the Databricks CLI export option but it has limitation of 10 MB max.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 13:39:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139337#M51164</guid>
      <dc:creator>Naveenkumar1811</dc:creator>
      <dc:date>2025-11-17T13:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139355#M51170</link>
      <description>&lt;P&gt;Are you trying from CLI ?&lt;/P&gt;&lt;P&gt;I would try uploading it to Unity Catalog Volume using UC Files API running with SP auth. It allows to upload upto 5GB size of file.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 14:21:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139355#M51170</guid>
      <dc:creator>Raman_Unifeye</dc:creator>
      <dc:date>2025-11-17T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139356#M51171</link>
      <description>&lt;P&gt;Trick I use to do something similar to that: Run a job with that service principal. In theory, all new objects created will be configured with that service principal ownership. Job can be as simple as a task with a notebook importing your file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Coffee77_0-1763389176481.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21762i5BC0C7C0760535C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Coffee77_0-1763389176481.png" alt="Coffee77_0-1763389176481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my case, "Creator" is the same as "Run as" but those can be different. In my scenario are the same because I use DAB with same SP to deploy jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 14:22:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139356#M51171</guid>
      <dc:creator>Coffee77</dc:creator>
      <dc:date>2025-11-17T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139359#M51172</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196959"&gt;@Naveenkumar1811&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Setup a Unity Catalog volume and then you can use following rest api call. It supports file up to 5 GB:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/azure/workspace/files/upload" target="_blank" rel="noopener"&gt;Upload a file | Files API | REST API reference | Azure Databricks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1763389260992.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21763i820CC5A6CB1A42BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1763389260992.png" alt="szymon_dybczak_0-1763389260992.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess dabricks cp command should also work with volume - that's another option. So once you have databricks volumen you can try following:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks cp path_to_your_file dbfs:/Volumes/your_catalog_name/your_schema_name/Volume_name/path/to/data&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1763390627277.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21765iDACD979A29919BA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1763390627277.png" alt="szymon_dybczak_0-1763390627277.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 14:45:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139359#M51172</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-11-17T14:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139360#M51173</link>
      <description>&lt;P&gt;Reference Link - &lt;A href="https://docs.databricks.com/aws/en/volumes/volume-files#upload-files-to-a-volume" target="_blank"&gt;https://docs.databricks.com/aws/en/volumes/volume-files#upload-files-to-a-volume&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 14:24:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139360#M51173</guid>
      <dc:creator>Raman_Unifeye</dc:creator>
      <dc:date>2025-11-17T14:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139629#M51252</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;My Workspace is not Unity Catalogue Enabled... Do we have any Solution for the workspace without UC?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 10:11:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/139629#M51252</guid>
      <dc:creator>Naveenkumar1811</dc:creator>
      <dc:date>2025-11-19T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140328#M51387</link>
      <description>&lt;P&gt;Any Suggestion here?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 18:39:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140328#M51387</guid>
      <dc:creator>Naveenkumar1811</dc:creator>
      <dc:date>2025-11-25T18:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140340#M51392</link>
      <description>&lt;P&gt;Use Workspace files (500 MB file limit) and create the file under the SP’s home while running as the SP identity, ensuring association with the SP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Docs on workspace files:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/files/workspace" target="_blank"&gt;https://docs.databricks.com/aws/en/files/workspace&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 19:58:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140340#M51392</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2025-11-25T19:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140385#M51408</link>
      <description>&lt;P&gt;How to create that file while running under SP identity?&amp;nbsp;&lt;EM&gt;Service principals are designed solely for API access&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;and cannot log into the Databricks UI. So, you mean Databricks API should be used to import those files under service principal security context? And, wouldn't it be the same as using Databricks CLI as in the end I guess CLI is making use of that API? Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 08:53:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140385#M51408</guid>
      <dc:creator>Coffee77</dc:creator>
      <dc:date>2025-11-26T08:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do i Create a workspace object with SP ownership</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140388#M51409</link>
      <description>&lt;P&gt;Inspecting underlying HTTP traffic while using Databricks UI to import files in Workspace, it turns out (as expected) Databricks API is used, with requests similar to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Coffee77_0-1764148603262.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21957i0AF7A632E89AB666/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Coffee77_0-1764148603262.png" alt="Coffee77_0-1764148603262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196959"&gt;@Naveenkumar1811&lt;/a&gt;&amp;nbsp;use Databricks API with SP identity in a similar way as expected above. Docs on API are here:&amp;nbsp;&lt;A href="https://docs.databricks.com/api/azure/workspace/workspace/import" target="_blank"&gt;https://docs.databricks.com/api/azure/workspace/workspace/import&lt;/A&gt;&amp;nbsp;. I guess, limitation on size is not in the API side, but inside Databricks CLI .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 09:19:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-create-a-workspace-object-with-sp-ownership/m-p/140388#M51409</guid>
      <dc:creator>Coffee77</dc:creator>
      <dc:date>2025-11-26T09:19:26Z</dc:date>
    </item>
  </channel>
</rss>

