<?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: Service principal seemingly cannot access its own workspace folder in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/service-principal-seemingly-cannot-access-its-own-workspace/m-p/78110#M35467</link>
    <description>&lt;P&gt;Update: When moving the whl to the shared workspace folder, the installation on the cluster works.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 13:09:35 GMT</pubDate>
    <dc:creator>Mathias_Peters</dc:creator>
    <dc:date>2024-07-10T13:09:35Z</dc:date>
    <item>
      <title>Service principal seemingly cannot access its own workspace folder</title>
      <link>https://community.databricks.com/t5/data-engineering/service-principal-seemingly-cannot-access-its-own-workspace/m-p/78109#M35466</link>
      <description>&lt;P&gt;We have implemented an asset bundle (DAB) that creates a wheel. During DAB deployment, the wheel is built and stored in the folder of the service principal running the deployment via GH workflow. The full path is&lt;BR /&gt;/Workspace/Users/SERVICE-PRINCIPAL-ID/.bundle/main_bundle/dev_dev/artifacts/.internal/WHEEL-NAME.whl&lt;/P&gt;&lt;P&gt;Within the same DAB, we define and deploy a job that is running on a shared general purpose cluster. The cluster is created via terraform and owned by the same service principal. Adding the wheel to tasks of this job via libraries-element results in a failure:&amp;nbsp;&lt;SPAN&gt;LibraryInstallationError. Error message:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;====SNIP=======&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run failed with error message Library installation failed for library due to user error for whl: "/Workspace/Users/SERVICE-PRINCIPAL-ID/.bundle/main_bundle/dev_dev/artifacts/.internal/WHEEL-NAME.whl" Error messages: Library installation attempted on the driver node of cluster CLUSTER-ID and failed. User does not have permission to read the library file, or the file path does not exist. Error Code: FILE_NOT_FOUND_FAILURE. Error Message: java.util.concurrent.ExecutionException: java.io.FileNotFoundException: File file:/Workspace/Users/SERVICE-PRINCIPAL-ID/.bundle/main_bundle/dev_dev/artifacts/.internalWHEEL-NAMEwhl does not exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;====SNAP=======&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Listing the file path copied from that message using ls, dbutils, or even pip install works fine in a notebook. I can also verify that the file is owned {display as owned in the UI that is) by the service principal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:08:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/service-principal-seemingly-cannot-access-its-own-workspace/m-p/78109#M35466</guid>
      <dc:creator>Mathias_Peters</dc:creator>
      <dc:date>2024-07-10T13:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Service principal seemingly cannot access its own workspace folder</title>
      <link>https://community.databricks.com/t5/data-engineering/service-principal-seemingly-cannot-access-its-own-workspace/m-p/78110#M35467</link>
      <description>&lt;P&gt;Update: When moving the whl to the shared workspace folder, the installation on the cluster works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:09:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/service-principal-seemingly-cannot-access-its-own-workspace/m-p/78110#M35467</guid>
      <dc:creator>Mathias_Peters</dc:creator>
      <dc:date>2024-07-10T13:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Service principal seemingly cannot access its own workspace folder</title>
      <link>https://community.databricks.com/t5/data-engineering/service-principal-seemingly-cannot-access-its-own-workspace/m-p/79289#M35721</link>
      <description>&lt;P&gt;Thank you for sharing the solution that worked for you, I am sure it will help other community members.&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Rishabh&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 16:44:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/service-principal-seemingly-cannot-access-its-own-workspace/m-p/79289#M35721</guid>
      <dc:creator>RishabhTiwari07</dc:creator>
      <dc:date>2024-07-18T16:44:16Z</dc:date>
    </item>
  </channel>
</rss>

