<?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: Creating Groups with API and Python in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/122218#M3488</link>
    <description>&lt;P&gt;Thanks for this, But I have account admin access and would my workspace token also inherit that or workspace and account admin are segregated meaning, I can't use my account admin privileges at the workspace level, account admin privileges can only affect at the account side?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2025 08:22:41 GMT</pubDate>
    <dc:creator>pranav5</dc:creator>
    <dc:date>2025-06-19T08:22:41Z</dc:date>
    <item>
      <title>Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/92788#M1985</link>
      <description>&lt;P&gt;I am working on a notebook to help me create Azure Databricks Groups.&amp;nbsp; When I create a group in a workspace using the UI, it automatically creates the group at the account level and links them.&amp;nbsp; When I create a group using the API, and I create the workspace group, it creates it as a local group to the workspace.&amp;nbsp; Using a different API, I was able to create the group at the account level.&amp;nbsp; I have not found the API so I can do the exact same thing that happens in the UI.&amp;nbsp; Any suggestions?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 18:20:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/92788#M1985</guid>
      <dc:creator>Derek_Czarny</dc:creator>
      <dc:date>2024-10-04T18:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/92799#M1986</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/124740"&gt;@Derek_Czarny&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Unfortunately, there is no single endpoint that replicates what you can do in the UI. But you can achieve the same with following approach:&lt;/P&gt;&lt;P&gt;- create group at account level using below endpoint:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/account/accountgroups/create" target="_blank"&gt;https://docs.databricks.com/api/account/accountgroups/create&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- associate this group with workspace using below endpoint&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/account/workspaceassignment/update" target="_blank"&gt;https://docs.databricks.com/api/account/workspaceassignment/update&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 20:29:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/92799#M1986</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-10-04T20:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94131#M2070</link>
      <description>&lt;P&gt;I am finally able to circle back to this.&amp;nbsp; I can create the account group just fine.&amp;nbsp; When I go to create the workspace group, I keep getting an error message:&lt;/P&gt;&lt;PRE&gt;Response: {"error_code":"ENDPOINT_NOT_FOUND","message":"No API found for 'POST /accounts/[REDACTED]/workspaces/[REDACTED]/permissionassignments/principals/[REDACTED]'"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 14:40:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94131#M2070</guid>
      <dc:creator>Derek_Czarny</dc:creator>
      <dc:date>2024-10-15T14:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94176#M2073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/124740"&gt;@Derek_Czarny&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I guess you're using wrong http method. You should use PUT method instead POST.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 17:45:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94176#M2073</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-10-15T17:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94180#M2076</link>
      <description>&lt;P&gt;That was it, thank you.&amp;nbsp; I was looking at the wrong details.&amp;nbsp; I really appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 18:20:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94180#M2076</guid>
      <dc:creator>Derek_Czarny</dc:creator>
      <dc:date>2024-10-15T18:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94190#M2078</link>
      <description>&lt;P&gt;Cool, I'm happy that it worked for you&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 19:11:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/94190#M2078</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-10-15T19:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/122142#M3485</link>
      <description>&lt;P&gt;I have a couple of questions regarding the Token to achieve this, If I create a workspace PAT token, is it limited to only the workspace or all the workspaces I have access to. And Do my account admin privileges translated to the PAT token I create in the workspace?&lt;/P&gt;&lt;P&gt;Also how to create an account level access token?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 15:16:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/122142#M3485</guid>
      <dc:creator>pranav5</dc:creator>
      <dc:date>2025-06-18T15:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/122150#M3487</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/162999"&gt;@pranav5&lt;/a&gt;&amp;nbsp;- Workspace tokens are scoped to the workspace it was created for.&amp;nbsp; A workspace token for "dev" cannot be used in a different workspace and a new token is required for each one.&amp;nbsp; Depending on how you have user identities setup, account level tokens can either be generated in the Account portal or if integrated in something like Entra Id (via SCIM), you generate tokens from the authentication provider.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 16:17:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/122150#M3487</guid>
      <dc:creator>jameshughes</dc:creator>
      <dc:date>2025-06-18T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Groups with API and Python</title>
      <link>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/122218#M3488</link>
      <description>&lt;P&gt;Thanks for this, But I have account admin access and would my workspace token also inherit that or workspace and account admin are segregated meaning, I can't use my account admin privileges at the workspace level, account admin privileges can only affect at the account side?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 08:22:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/creating-groups-with-api-and-python/m-p/122218#M3488</guid>
      <dc:creator>pranav5</dc:creator>
      <dc:date>2025-06-19T08:22:41Z</dc:date>
    </item>
  </channel>
</rss>

