<?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 Service Account Access granted still getting as User does not have USE SCHEMA on Schema in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82287#M36597</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have ran into scenario, where Azure Data Factory connecting to Azure Data Bricks through linkedServices,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where its trying to connect with System Assigned Managed Identity (SAMI).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specific SAMI added to compute and unity catalog for usage.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;show grants `6b3xxxx-0xx9-4xx4-axx9-bxxxxxxbc` on schema dev.uef_db;

-----------------------------
Principal	                        ActionType	ObjectType	ObjectKey
6b3xxxx-0xx9-4xx4-axx9-bxxxxxxbc	USE SCHEMA	CATALOG	        dev&lt;/LI-CODE&gt;&lt;P&gt;But, still when we try to query or execute any notebooks from ADF LinkedServices (compute/delta lake connector)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;User does not have USE SCHEMA on Schema 'dev.uef_db'. SQLSTATE: 42501&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any idea, where we missing permissions.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 22:50:26 GMT</pubDate>
    <dc:creator>raghunathr</dc:creator>
    <dc:date>2024-08-07T22:50:26Z</dc:date>
    <item>
      <title>Service Account Access granted still getting as User does not have USE SCHEMA on Schema</title>
      <link>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82287#M36597</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have ran into scenario, where Azure Data Factory connecting to Azure Data Bricks through linkedServices,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where its trying to connect with System Assigned Managed Identity (SAMI).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specific SAMI added to compute and unity catalog for usage.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;show grants `6b3xxxx-0xx9-4xx4-axx9-bxxxxxxbc` on schema dev.uef_db;

-----------------------------
Principal	                        ActionType	ObjectType	ObjectKey
6b3xxxx-0xx9-4xx4-axx9-bxxxxxxbc	USE SCHEMA	CATALOG	        dev&lt;/LI-CODE&gt;&lt;P&gt;But, still when we try to query or execute any notebooks from ADF LinkedServices (compute/delta lake connector)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;User does not have USE SCHEMA on Schema 'dev.uef_db'. SQLSTATE: 42501&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any idea, where we missing permissions.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 22:50:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82287#M36597</guid>
      <dc:creator>raghunathr</dc:creator>
      <dc:date>2024-08-07T22:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Service Account Access granted still getting as User does not have USE SCHEMA on Schema</title>
      <link>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82541#M36671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85855"&gt;@raghunathr&lt;/a&gt;,&amp;nbsp;To resolve this, ensure the SAMI has the necessary permissions on both the Databricks workspace and Unity Catalog, particularly the &lt;CODE&gt;USE SCHEMA&lt;/CODE&gt; permission on &lt;CODE&gt;dev.uef_db&lt;/CODE&gt;, and confirm it has the &lt;CODE&gt;Contributor&lt;/CODE&gt; role in Databricks. Also, verify that the ADF linked service is configured to use SAMI for authentication, and consider granting additional permissions like &lt;CODE&gt;SELECT&lt;/CODE&gt;, &lt;CODE&gt;INSERT&lt;/CODE&gt;, &lt;CODE&gt;UPDATE&lt;/CODE&gt;, and &lt;CODE&gt;DELETE&lt;/CODE&gt; if needed. Finally, review Databricks access control to ensure proper SAMI access to compute resources and the Unity Catalog.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 11:34:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82541#M36671</guid>
      <dc:creator>Retired_mod</dc:creator>
      <dc:date>2024-08-09T11:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Service Account Access granted still getting as User does not have USE SCHEMA on Schema</title>
      <link>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82646#M36705</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;.. We found issue. SAMI given permission but it was managed and registered MI instead of using application/object id we were using MI directly. Its solved.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 21:00:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82646#M36705</guid>
      <dc:creator>raghunathr</dc:creator>
      <dc:date>2024-08-10T21:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Service Account Access granted still getting as User does not have USE SCHEMA on Schema</title>
      <link>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82813#M36739</link>
      <description>&lt;P&gt;Still we have trouble on external_storage location now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That specific Managed Identity which added to Databricks Resource now got everything needed for Unity Catalog DEV/Tables. But, Even in External Location that SPN added but still getting error as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;py4j.protocol.Py4JJavaError: An error occurred while calling o513.load. : com.databricks.sql.managedcatalog.acl.UnauthorizedAccessException: PERMISSION_DENIED: User does not have READ FILES on External Location 'dev_raw_b002'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any idea where its going wrong again ?&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 21:21:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/service-account-access-granted-still-getting-as-user-does-not/m-p/82813#M36739</guid>
      <dc:creator>raghunathr</dc:creator>
      <dc:date>2024-08-12T21:21:55Z</dc:date>
    </item>
  </channel>
</rss>

