<?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: Unable to grant catalog access to service principal in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-grant-catalog-access-to-service-principal/m-p/102208#M8943</link>
    <description>&lt;P&gt;The issue could be related to how the service principal is being resolved in your system. Unlike users, service principals are often registered in a directory (like Azure AD), and their names might not match what you’re using. Instead of using TestServicePrincipal as the name, try referencing the service principal&lt;A href="https://halfbirthdaycalculator.online/" target="_self"&gt;'&lt;/A&gt;s &lt;STRONG&gt;Object ID&lt;/STRONG&gt;, &lt;STRONG&gt;App ID&lt;/STRONG&gt;, or the exact display name as registered in your directory.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2024 09:33:09 GMT</pubDate>
    <dc:creator>OYESPEEDY</dc:creator>
    <dc:date>2024-12-16T09:33:09Z</dc:date>
    <item>
      <title>Unable to grant catalog access to service principal</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-grant-catalog-access-to-service-principal/m-p/68334#M8940</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kasen_0-1715058248230.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7439i2F6FE026EF968025/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Kasen_0-1715058248230.png" alt="Kasen_0-1715058248230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kasen_1-1715058284642.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7440iED5E28B2775E6E35/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Kasen_1-1715058284642.png" alt="Kasen_1-1715058284642.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I created a service principals called TestServicePrincipal. I tried to grant the catalog access to the service principals, but the error mentioned that it could not find principal with name TestServicePrincipal. If I grant the access to specific user by replacing `TestServicePrincipal` to `user1@mycompany.com`, then it works fine. May I know what is the reason that I can't grant the catalog access to the service principals that I created? By right I should be able to do so by following the documentation below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/sql/language-manual/security-grant.html" target="_blank"&gt;https://docs.databricks.com/en/sql/language-manual/security-grant.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any help or advise will be greatly appreciated, thank you.&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;</description>
      <pubDate>Tue, 07 May 2024 05:10:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-grant-catalog-access-to-service-principal/m-p/68334#M8940</guid>
      <dc:creator>Kasen</dc:creator>
      <dc:date>2024-05-07T05:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to grant catalog access to service principal</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-grant-catalog-access-to-service-principal/m-p/102204#M8942</link>
      <description>&lt;P&gt;Instead of referring to the service principal by its display name, use it's &lt;STRONG&gt;application_id&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It isn't overtly stated in the documentation you shared, but you can see it in the example portion.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;-- Granting a privilege to the service principal fab9e00e-ca35-11ec-9d64-0242ac120002&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;GRANT&lt;/SPAN&gt; &lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class=""&gt;ON&lt;/SPAN&gt; &lt;SPAN class=""&gt;TABLE&lt;/SPAN&gt; &lt;SPAN class=""&gt;t&lt;/SPAN&gt; &lt;SPAN class=""&gt;TO&lt;/SPAN&gt; &lt;SPAN class=""&gt;`&lt;/SPAN&gt;&lt;SPAN class=""&gt;fab9e00e&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;ca35&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;11&lt;/SPAN&gt;&lt;SPAN class=""&gt;ec&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;9&lt;/SPAN&gt;&lt;SPAN class=""&gt;d64&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;0242&lt;/SPAN&gt;&lt;SPAN class=""&gt;ac120002&lt;/SPAN&gt;&lt;SPAN class=""&gt;`&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 08:11:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-grant-catalog-access-to-service-principal/m-p/102204#M8942</guid>
      <dc:creator>dtilen</dc:creator>
      <dc:date>2024-12-16T08:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to grant catalog access to service principal</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-grant-catalog-access-to-service-principal/m-p/102208#M8943</link>
      <description>&lt;P&gt;The issue could be related to how the service principal is being resolved in your system. Unlike users, service principals are often registered in a directory (like Azure AD), and their names might not match what you’re using. Instead of using TestServicePrincipal as the name, try referencing the service principal&lt;A href="https://halfbirthdaycalculator.online/" target="_self"&gt;'&lt;/A&gt;s &lt;STRONG&gt;Object ID&lt;/STRONG&gt;, &lt;STRONG&gt;App ID&lt;/STRONG&gt;, or the exact display name as registered in your directory.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 09:33:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-grant-catalog-access-to-service-principal/m-p/102208#M8943</guid>
      <dc:creator>OYESPEEDY</dc:creator>
      <dc:date>2024-12-16T09:33:09Z</dc:date>
    </item>
  </channel>
</rss>

