<?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: UI sends empty managed_identity_id, breaks storage credential creation with system-assigned Acce in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/163806#M2912</link>
    <description>&lt;P&gt;Yes, this is a bug in the Account Console UI. You've already diagnosed it correctly: for a system-assigned managed identity, &lt;CODE&gt;managed_identity_id&lt;/CODE&gt; should be omitted entirely from the request payload. An empty string &lt;CODE&gt;""&lt;/CODE&gt; is not the same as omitting the field, and the backend rejects it.&lt;/P&gt;
&lt;P&gt;Your CLI workaround is the right approach. The Databricks CLI correctly omits &lt;CODE&gt;managed_identity_id&lt;/CODE&gt; when you don't supply one, which is why it works without any changes on the Azure side. The UI is incorrectly serializing the field as an empty string instead of leaving it out.&lt;/P&gt;
&lt;P&gt;For others hitting this: create the storage credential via the CLI like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-sh"&gt;databricks storage-credentials create \
  --name my-storage-credential \
  --az-mi-access-connector-id \
/subscriptions/&amp;lt;sub-id&amp;gt;/resourceGroups/&amp;lt;rg&amp;gt;/providers/Microsoft.Databricks/accessConnectors/&amp;lt;connector-name&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No &lt;CODE&gt;--az-mi-managed-identity-id&lt;/CODE&gt; flag for system-assigned. That omission is intentional.&lt;/P&gt;
&lt;P&gt;You should report this to Databricks support so the UI bug gets tracked and fixed. Include the network trace showing the empty &lt;CODE&gt;managed_identity_id&lt;/CODE&gt; field in the payload -- that's solid evidence.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2026 19:11:58 GMT</pubDate>
    <dc:creator>iyashk-DB</dc:creator>
    <dc:date>2026-07-22T19:11:58Z</dc:date>
    <item>
      <title>UI sends empty managed_identity_id, breaks storage credential creation with system-assigned Access</title>
      <link>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/163748#M2911</link>
      <description>&lt;P class=""&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Cloud: Azure&lt;/LI&gt;&lt;LI&gt;Databricks Account Console (accounts.azuredatabricks.net)&lt;/LI&gt;&lt;LI&gt;Access Connector: system-assigned managed identity (no user-assigned identity involved)&lt;/LI&gt;&lt;LI&gt;Region: East US&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Creating a Unity Catalog storage credential via the &lt;STRONG&gt;Account Console UI&lt;/STRONG&gt;, using an Access Connector with a &lt;STRONG&gt;system-assigned&lt;/STRONG&gt; managed identity, fails with:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;BAD_REQUEST: Azure Managed Identity Credential with Access Connector Id &amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;and Managed Identity ID:  for Account Id: &amp;lt;account-id&amp;gt; could not be found.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;&lt;STRONG&gt;Root cause:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Checked the network tab — the UI sends:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;json&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;"azure_managed_identity"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;SPAN&gt;  &lt;SPAN class=""&gt;"access_connector_id"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"&amp;lt;connector-id&amp;gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;SPAN&gt;  &lt;SPAN class=""&gt;"managed_identity_id"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;""&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;For system-assigned identities, managed_identity_id shouldn't be sent at all (per Databricks docs). The backend seems to treat the empty string as "look up this identity," fails, and returns a misleading error blaming the connector.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Proof it's UI-side, not config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Everything on Azure was verified correct (connector exists, region matches, RBAC correct, waited 1hr+ for propagation, tested with a proper Global Admin account). Running the same request via &lt;STRONG&gt;CLI&lt;/STRONG&gt;, omitting managed_identity_id entirely, worked on the first try — same connector, same subscription, no Azure-side changes.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;bash&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;databricks account storage-credentials create &lt;/SPAN&gt;&amp;lt;&lt;SPAN&gt;metastore-id&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt; --json &lt;/SPAN&gt;'{&lt;/SPAN&gt;&lt;SPAN class=""&gt;  "credential_info": {&lt;/SPAN&gt;&lt;SPAN class=""&gt;    "name": "cred",&lt;/SPAN&gt;&lt;SPAN class=""&gt;    "azure_managed_identity": {"access_connector_id": "&amp;lt;connector-id&amp;gt;"}&lt;/SPAN&gt;&lt;SPAN class=""&gt;  }&lt;/SPAN&gt;&lt;SPAN class=""&gt;}'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;&lt;STRONG&gt;Is this a known bug in the Account Console UI for system-assigned Access Connectors?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 12:11:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/163748#M2911</guid>
      <dc:creator>Nimanita</dc:creator>
      <dc:date>2026-07-22T12:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: UI sends empty managed_identity_id, breaks storage credential creation with system-assigned Acce</title>
      <link>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/163806#M2912</link>
      <description>&lt;P&gt;Yes, this is a bug in the Account Console UI. You've already diagnosed it correctly: for a system-assigned managed identity, &lt;CODE&gt;managed_identity_id&lt;/CODE&gt; should be omitted entirely from the request payload. An empty string &lt;CODE&gt;""&lt;/CODE&gt; is not the same as omitting the field, and the backend rejects it.&lt;/P&gt;
&lt;P&gt;Your CLI workaround is the right approach. The Databricks CLI correctly omits &lt;CODE&gt;managed_identity_id&lt;/CODE&gt; when you don't supply one, which is why it works without any changes on the Azure side. The UI is incorrectly serializing the field as an empty string instead of leaving it out.&lt;/P&gt;
&lt;P&gt;For others hitting this: create the storage credential via the CLI like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-sh"&gt;databricks storage-credentials create \
  --name my-storage-credential \
  --az-mi-access-connector-id \
/subscriptions/&amp;lt;sub-id&amp;gt;/resourceGroups/&amp;lt;rg&amp;gt;/providers/Microsoft.Databricks/accessConnectors/&amp;lt;connector-name&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No &lt;CODE&gt;--az-mi-managed-identity-id&lt;/CODE&gt; flag for system-assigned. That omission is intentional.&lt;/P&gt;
&lt;P&gt;You should report this to Databricks support so the UI bug gets tracked and fixed. Include the network trace showing the empty &lt;CODE&gt;managed_identity_id&lt;/CODE&gt; field in the payload -- that's solid evidence.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 19:11:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/163806#M2912</guid>
      <dc:creator>iyashk-DB</dc:creator>
      <dc:date>2026-07-22T19:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: UI sends empty managed_identity_id, breaks storage credential creation with system-assigned Acce</title>
      <link>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/163982#M2918</link>
      <description>&lt;P&gt;Thanks for pointing me in the right direction! That was indeed the issue.&lt;/P&gt;&lt;P&gt;For anyone else who runs into the same problem, here's what worked for me using the &lt;STRONG&gt;Databricks Account CLI&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;1. Install Databricks CLI&lt;/H3&gt;&lt;PRE&gt;winget install Databricks.DatabricksCLI&lt;/PRE&gt;&lt;H3&gt;2. Login to the workspace&lt;/H3&gt;&lt;PRE&gt;databricks auth login --host https://adb-&amp;lt;workspace-id&amp;gt;.&amp;lt;region&amp;gt;.azuredatabricks.net&lt;/PRE&gt;&lt;H3&gt;3. Login to the Databricks Account&lt;/H3&gt;&lt;PRE&gt;databricks auth login --host https://accounts.azuredatabricks.net --account-id &amp;lt;account-id&amp;gt; --profile AccountAdmin&lt;/PRE&gt;&lt;H3&gt;4. Verify the profiles&lt;/H3&gt;&lt;PRE&gt;databricks auth profiles&lt;/PRE&gt;&lt;H3&gt;5. Get the Metastore ID&lt;/H3&gt;&lt;PRE&gt;databricks account metastores list --profile AccountAdmin&lt;/PRE&gt;&lt;H3&gt;6. Create the Storage Credential&lt;/H3&gt;&lt;PRE&gt;databricks account storage-credentials create &amp;lt;metastore-id&amp;gt; --json @credential.json --profile AccountAdmin&lt;/PRE&gt;&lt;P&gt;credential.json&lt;/P&gt;&lt;PRE&gt;{
  "credential_info": {
    "name": "poc-storage-credential",
    "azure_managed_identity": {
      "access_connector_id": "&amp;lt;access-connector-resource-id&amp;gt;"
    }
  }
}&lt;/PRE&gt;&lt;H3&gt;7. Verify the Storage Credential&lt;/H3&gt;&lt;PRE&gt;databricks account storage-credentials list &amp;lt;metastore-id&amp;gt; --profile AccountAdmin&lt;/PRE&gt;&lt;P&gt;Copy the Storage Credential ID.&lt;/P&gt;&lt;H3&gt;8. Update the Metastore&lt;/H3&gt;&lt;PRE&gt;databricks account metastores update &amp;lt;metastore-id&amp;gt; --json @update-metastore.json --profile AccountAdmin&lt;/PRE&gt;&lt;P&gt;update-metastore.json&lt;/P&gt;&lt;PRE&gt;{
  "metastore_info": {
    "storage_root_credential_id": "&amp;lt;storage-credential-id&amp;gt;"
  }
}&lt;/PRE&gt;&lt;H3&gt;9. Verify the Metastore&lt;/H3&gt;&lt;PRE&gt;databricks account metastores get &amp;lt;metastore-id&amp;gt; --profile AccountAdmin&lt;/PRE&gt;&lt;P&gt;Verify that these fields are present:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;storage_root_credential_id&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;storage_root_credential_name&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;default_data_access_config_id&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After that, I was able to create catalogs, schemas, and managed Delta tables successfully.&lt;/P&gt;&lt;P&gt;Hopefully this helps anyone else who runs into the same issue. Thanks again for identifying the UI bug and suggesting the CLI workaround!&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/112558"&gt;@iyashk-DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2026 05:42:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/163982#M2918</guid>
      <dc:creator>Chaitanya1905</dc:creator>
      <dc:date>2026-07-24T05:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: UI sends empty managed_identity_id, breaks storage credential creation with system-assigned Acce</title>
      <link>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/164580#M2940</link>
      <description>&lt;P&gt;Thanks for sharing the detailed workaround! This is incredibly helpful.&lt;/P&gt;&lt;P&gt;Your step-by-step CLI approach makes it much easier to understand how to configure the storage credential and update the metastore when the UI doesn't expose the required option. The verification steps at the end are especially useful for confirming everything is configured correctly.&lt;/P&gt;&lt;P&gt;I'm sure this will save others a lot of time if they encounter the same issue. Really appreciate you taking the time to document the complete solution!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2026 04:45:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/ui-sends-empty-managed-identity-id-breaks-storage-credential/m-p/164580#M2940</guid>
      <dc:creator>camit001</dc:creator>
      <dc:date>2026-07-31T04:45:35Z</dc:date>
    </item>
  </channel>
</rss>

