<?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 to add existing recipient to existing delta share in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98754#M2291</link>
    <description>&lt;P&gt;I was able to fix the issue. The problem was that the service principal I was using didn’t have the correct permissions assigned&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 09:20:35 GMT</pubDate>
    <dc:creator>chethankumar</dc:creator>
    <dc:date>2024-11-14T09:20:35Z</dc:date>
    <item>
      <title>How to add existing recipient to existing delta share</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98314#M2260</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am facing an issue while adding a recipient to Delta Share using Terraform. The owner of my recipient is a group, not an individual user. I'm running this Terraform script using a service principal member of that group. However, I'm encountering the following issue when trying to create grants:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: cannot update grants: User is not an owner of Recipient 'abc'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Example script I have used.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;resource "databricks_grants" "databricks_grants" {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;share = "delta_sharing"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;grant {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;principal = "abc"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;privileges = ["SELECT"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 10:42:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98314#M2260</guid>
      <dc:creator>chethankumar</dc:creator>
      <dc:date>2024-11-11T10:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to add existing recipient to existing delta share</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98473#M2271</link>
      <description>&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;The issue you are encountering is due to the fact that the service principal you are using does not have the necessary ownership permissions on the recipient 'abc'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Here are some steps you can take to resolve this issue:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Verify Ownership&lt;/STRONG&gt;: Ensure that the service principal is indeed a member of the group that owns the recipient 'abc'. You can check the ownership settings in the Databricks workspace.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Grant Ownership&lt;/STRONG&gt;: If the service principal is not an owner, you will need to grant ownership to the service principal. This can be done using the Databricks CLI or through the Databricks UI. For example, you can use the following command to update the owner of the recipient:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="gb5fhw1"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash _1t7bu9hb hljs language-bash gb5fhw2"&gt;databricks recipients update --name abc --owner &amp;lt;service-principal-id&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Check Permissions&lt;/STRONG&gt;: Ensure that the service principal has the necessary permissions to perform the operation. This includes having the &lt;CODE&gt;USE RECIPIENT&lt;/CODE&gt; and &lt;CODE&gt;SET RECIPIENT PERMISSION&lt;/CODE&gt; privileges.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 12 Nov 2024 14:04:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98473#M2271</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-11-12T14:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add existing recipient to existing delta share</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98541#M2273</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for your response. However, I want to set the recipient owner as a group, not a single user or service principal, because I need to assign multiple service principals as owners of the recipient. I have multiple workspaces, and I want to use separate service principals for each workspace&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 15:38:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98541#M2273</guid>
      <dc:creator>chethankumar</dc:creator>
      <dc:date>2024-11-12T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add existing recipient to existing delta share</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98754#M2291</link>
      <description>&lt;P&gt;I was able to fix the issue. The problem was that the service principal I was using didn’t have the correct permissions assigned&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 09:20:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-add-existing-recipient-to-existing-delta-share/m-p/98754#M2291</guid>
      <dc:creator>chethankumar</dc:creator>
      <dc:date>2024-11-14T09:20:35Z</dc:date>
    </item>
  </channel>
</rss>

