<?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 make an Entra group available for GRANT commands inside a workspace? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-to-make-an-entra-group-available-for-grant-commands-inside-a/m-p/154997#M5166</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/153687"&gt;@mzs&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To make sure we suggest the right option, can you share a bit more about your setup?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Cloud &amp;amp; workspace type: Are you on Azure Databricks, and is the workspace identity-federated (Unity Catalog enabled)?&lt;/LI&gt;
&lt;LI&gt;Identity sync: Are you using Automatic Identity Management (AIM) with Entra, SCIM, or both?&lt;/LI&gt;
&lt;LI&gt;How are you managing groups today? Terraform, REST API, or just SQL GRANT from notebooks?&lt;/LI&gt;
&lt;LI&gt;What principal is running the automation? (service principal vs. user; workspace-admin vs. limited role)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2026 21:27:07 GMT</pubDate>
    <dc:creator>Ashwin_DSA</dc:creator>
    <dc:date>2026-04-20T21:27:07Z</dc:date>
    <item>
      <title>How to make an Entra group available for GRANT commands inside a workspace?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-make-an-entra-group-available-for-grant-commands-inside-a/m-p/154995#M5165</link>
      <description>&lt;P&gt;We're using Azure Databricks and automatic identity management. Users and groups sync over automatically.&lt;/P&gt;&lt;P&gt;If I want to grant permissions to an Entra group to a schema, I can't just run something like this in a workspace notebook:&lt;/P&gt;&lt;P&gt;GRANT USE SCHEMA ON SCHEMA xxx.yyy TO `Example Entra Group`;&lt;/P&gt;&lt;P&gt;It can't find the group. If I go to workspace settings -&amp;gt; security -&amp;gt; groups -&amp;gt; add group, and start typing the name of the group, it populates in a dropdown. If I click on the group it found, the browser makes a GraphQL call to "GetOrCreateIdpGroup". Once that's happened, I can cancel out of the "add group" dialog, and my GRANT query above starts working.&lt;/P&gt;&lt;P&gt;How can I do this programmatically using the API? Ideally at the workspace level.&lt;/P&gt;&lt;P&gt;I'd like to automate the assignment of groups to schemas using a job and service principal. I don't particularly care if the groups are in Entra or Databricks, but I'm trying to avoid using Databricks account-level APIs as they don't have fine-grained permissions: whatever process or job is creating a group in the Databricks account would need full admin privileges at the account level. I figured I could create the groups in Entra instead, because apps in Entra can be given access just to create groups. The group seems like it syncs over, but I can't use it in a GRANT command in a workspace until I go through the "add group" workspace UI above.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 20:51:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-make-an-entra-group-available-for-grant-commands-inside-a/m-p/154995#M5165</guid>
      <dc:creator>mzs</dc:creator>
      <dc:date>2026-04-20T20:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an Entra group available for GRANT commands inside a workspace?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-make-an-entra-group-available-for-grant-commands-inside-a/m-p/154997#M5166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/153687"&gt;@mzs&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To make sure we suggest the right option, can you share a bit more about your setup?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Cloud &amp;amp; workspace type: Are you on Azure Databricks, and is the workspace identity-federated (Unity Catalog enabled)?&lt;/LI&gt;
&lt;LI&gt;Identity sync: Are you using Automatic Identity Management (AIM) with Entra, SCIM, or both?&lt;/LI&gt;
&lt;LI&gt;How are you managing groups today? Terraform, REST API, or just SQL GRANT from notebooks?&lt;/LI&gt;
&lt;LI&gt;What principal is running the automation? (service principal vs. user; workspace-admin vs. limited role)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 21:27:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-make-an-entra-group-available-for-grant-commands-inside-a/m-p/154997#M5166</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-04-20T21:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an Entra group available for GRANT commands inside a workspace?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-make-an-entra-group-available-for-grant-commands-inside-a/m-p/154998#M5167</link>
      <description>&lt;P&gt;Hi Ashwin, yes, it's Azure Databricks, Unity Catalog is enabled, and automatic identity management is enabled. We are not using SCIM.&lt;/P&gt;&lt;P&gt;I'm looking for ways to automate group creation using a fairly limited-privilege service principal. Either using the REST API from outside Databricks, or maybe a job running as a service principal inside Databricks that I could then trigger from outside. If I do it inside Databricks, I figure I could use GRANT and/or the REST API with WorkspaceClient() and the default credentials available to the job.&lt;/P&gt;&lt;P&gt;This would be using a service principal, probably one that we'd create at either the account or workspace level in Databricks. I would give it the minimum privileges possible to do what it needs to do: create a schema and assign a group to the schema.&lt;/P&gt;&lt;P&gt;But I was testing GRANT manually in the SQL Editor as an Entra user with workspace admin privileges.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 21:37:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-make-an-entra-group-available-for-grant-commands-inside-a/m-p/154998#M5167</guid>
      <dc:creator>mzs</dc:creator>
      <dc:date>2026-04-20T21:37:46Z</dc:date>
    </item>
  </channel>
</rss>

