<?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 Best Approach to Retrieve Policy IDs Across Multiple Workspaces in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/best-approach-to-retrieve-policy-ids-across-multiple-workspaces/m-p/123949#M3578</link>
    <description>&lt;P class=""&gt;Hi,&amp;nbsp;&lt;BR /&gt;I’m aware of the API endpoint&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;api/2.0/policies/clusters/list&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to fetch a list of policy IDs and names. However, we have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;50 different workspaces&lt;/STRONG&gt;, and I need to retrieve the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;specific policy ID and name&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for each one.&lt;/P&gt;&lt;P class=""&gt;Could you advise on the most efficient way to accomplish this? For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Is there a way to query all workspaces at once?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Would scripting (e.g., Python loop with workspace IDs) be the best approach?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Thanks in advance for your guidance!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2025 21:27:47 GMT</pubDate>
    <dc:creator>Chinu</dc:creator>
    <dc:date>2025-07-03T21:27:47Z</dc:date>
    <item>
      <title>Best Approach to Retrieve Policy IDs Across Multiple Workspaces</title>
      <link>https://community.databricks.com/t5/administration-architecture/best-approach-to-retrieve-policy-ids-across-multiple-workspaces/m-p/123949#M3578</link>
      <description>&lt;P class=""&gt;Hi,&amp;nbsp;&lt;BR /&gt;I’m aware of the API endpoint&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;api/2.0/policies/clusters/list&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to fetch a list of policy IDs and names. However, we have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;50 different workspaces&lt;/STRONG&gt;, and I need to retrieve the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;specific policy ID and name&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for each one.&lt;/P&gt;&lt;P class=""&gt;Could you advise on the most efficient way to accomplish this? For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Is there a way to query all workspaces at once?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Would scripting (e.g., Python loop with workspace IDs) be the best approach?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Thanks in advance for your guidance!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 21:27:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/best-approach-to-retrieve-policy-ids-across-multiple-workspaces/m-p/123949#M3578</guid>
      <dc:creator>Chinu</dc:creator>
      <dc:date>2025-07-03T21:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to Retrieve Policy IDs Across Multiple Workspaces</title>
      <link>https://community.databricks.com/t5/administration-architecture/best-approach-to-retrieve-policy-ids-across-multiple-workspaces/m-p/123952#M3579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/26743"&gt;@Chinu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Databricks does not provide a global API to query all workspaces in a single call. I guess your only option for now is to use scripting approach.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 22:10:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/best-approach-to-retrieve-policy-ids-across-multiple-workspaces/m-p/123952#M3579</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-07-03T22:10:54Z</dc:date>
    </item>
  </channel>
</rss>

