<?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: Issue with UCX Assessment Installation via Automation Script - Schema Not Found Error in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/issue-with-ucx-assessment-installation-via-automation-script/m-p/138487#M10989</link>
    <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The error occurs because the automation script explicitly sets WORKSPACE_GROUPS="&amp;lt;ALL&amp;gt;" and DATABASES="&amp;lt;ALL&amp;gt;", which the UCX installer interprets literally as a schema called "ALL"—instead of using the special meaning that the manual prompt does when you just press Enter or accept the default. When you install manually and accept the default&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;, the CLI substitutes this internally to mean "all schemas" and "all workspace groups," but the script input is treated as a specific schema name, which does not exist—hence the "SCHEMA_NOT_FOUND" error.​&lt;/P&gt;
&lt;H2 id="" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Correct Way to Use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in Automation&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Do not set DATABASES="&amp;lt;ALL&amp;gt;" directly in your automation script.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Leave the environment variable unset, or omit the parameter entirely in your automation, so that the CLI falls back to its default behavior and interprets&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;correctly.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If your script must provide a value, try passing an empty string ("") or not setting the DATABASES and WORKSPACE_GROUPS environment variables at all.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="recommended-fix" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Recommended Fix&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Remove WORKSPACE_GROUPS and DATABASES variable assignments from your script when you want all databases/groups to be processed.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Alternatively, update your script to match exactly how the manual process works—let the installer prompt for these fields, or investigate if simply supplying an empty value ("") works.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="additional-notes" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Additional Notes&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;This behavior is a known issue in Databricks Labs UCX installations and is noted in troubleshooting forums.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Always test automation scripts with parameter variations to determine whether a default prompt or empty string substitutes for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;correctly.​&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If you continue to encounter issues, consult the UCX troubleshooting guide or Databricks community discussions for more advanced script configuration examples&lt;/P&gt;</description>
    <pubDate>Tue, 11 Nov 2025 01:29:41 GMT</pubDate>
    <dc:creator>mark_ott</dc:creator>
    <dc:date>2025-11-11T01:29:41Z</dc:date>
    <item>
      <title>Issue with UCX Assessment Installation via Automation Script - Schema Not Found Error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-ucx-assessment-installation-via-automation-script/m-p/119990#M10067</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm encountering an issue while installing UCX Assessment via an automation script in Databricks. When running the script, I get the following error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;13:&lt;SPAN class=""&gt;38:&lt;SPAN class=""&gt;06 &lt;SPAN class=""&gt;WARNING [databricks.labs.ucx.hive_metastore.&lt;SPAN class=""&gt;tables] {listing_tables_0} failed-&lt;SPAN class=""&gt;table-crawl: listing &lt;SPAN class=""&gt;tables &lt;SPAN class=""&gt;from &lt;SPAN class=""&gt;database -&amp;gt; &lt;SPAN class=""&gt;ALL : [SCHEMA_NOT_FOUND] The &lt;SPAN class=""&gt;schema `&lt;SPAN class=""&gt;ALL` cannot be &lt;SPAN class=""&gt;found. Verify the spelling &lt;SPAN class=""&gt;and correctness &lt;SPAN class=""&gt;of the &lt;SPAN class=""&gt;schema &lt;SPAN class=""&gt;and catalog.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;However, when I run the same installation manually with the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;databricks labs install ucx&lt;SPAN class=""&gt;@v0.&lt;SPAN class=""&gt;57.&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;I’m prompted to specify the following parameters:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Comma-separated list of workspace group names to migrate (default: &amp;lt;ALL&amp;gt;)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Comma-separated list of databases to migrate (default: &amp;lt;ALL&amp;gt;)&lt;/P&gt;&lt;P&gt;When I use the default &amp;lt;ALL&amp;gt; values during the manual installation, the process works without any errors, and the UCX dashboard populates correctly.&lt;/P&gt;&lt;P&gt;In my automation script, I am explicitly setting the following configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;WORKSPACE_GROUPS=&lt;SPAN class=""&gt;"&amp;lt;ALL&amp;gt;" &lt;SPAN class=""&gt;DATABASES=&lt;SPAN class=""&gt;"&amp;lt;ALL&amp;gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;Despite this, I still get the error: [SCHEMA_NOT_FOUND] The schema 'ALL' cannot be found.&lt;/P&gt;&lt;P&gt;Could anyone provide insight into why this is happening or how I can resolve this issue in the automation script? Is there any other parameter I need to adjust to make sure the installation runs correctly in the script?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;#UCX #Assessment #databricks&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 May 2025 16:54:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-ucx-assessment-installation-via-automation-script/m-p/119990#M10067</guid>
      <dc:creator>Sudheer2</dc:creator>
      <dc:date>2025-05-22T16:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UCX Assessment Installation via Automation Script - Schema Not Found Error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-ucx-assessment-installation-via-automation-script/m-p/138487#M10989</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The error occurs because the automation script explicitly sets WORKSPACE_GROUPS="&amp;lt;ALL&amp;gt;" and DATABASES="&amp;lt;ALL&amp;gt;", which the UCX installer interprets literally as a schema called "ALL"—instead of using the special meaning that the manual prompt does when you just press Enter or accept the default. When you install manually and accept the default&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;, the CLI substitutes this internally to mean "all schemas" and "all workspace groups," but the script input is treated as a specific schema name, which does not exist—hence the "SCHEMA_NOT_FOUND" error.​&lt;/P&gt;
&lt;H2 id="" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Correct Way to Use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in Automation&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Do not set DATABASES="&amp;lt;ALL&amp;gt;" directly in your automation script.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Leave the environment variable unset, or omit the parameter entirely in your automation, so that the CLI falls back to its default behavior and interprets&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;correctly.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If your script must provide a value, try passing an empty string ("") or not setting the DATABASES and WORKSPACE_GROUPS environment variables at all.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="recommended-fix" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Recommended Fix&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Remove WORKSPACE_GROUPS and DATABASES variable assignments from your script when you want all databases/groups to be processed.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Alternatively, update your script to match exactly how the manual process works—let the installer prompt for these fields, or investigate if simply supplying an empty value ("") works.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="additional-notes" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Additional Notes&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;This behavior is a known issue in Databricks Labs UCX installations and is noted in troubleshooting forums.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Always test automation scripts with parameter variations to determine whether a default prompt or empty string substitutes for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;ALL&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;correctly.​&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If you continue to encounter issues, consult the UCX troubleshooting guide or Databricks community discussions for more advanced script configuration examples&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 01:29:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-ucx-assessment-installation-via-automation-script/m-p/138487#M10989</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-11-11T01:29:41Z</dc:date>
    </item>
  </channel>
</rss>

