<?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 Error connecting Databricks Notebook using managed identity from Azure Data Factory in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/82012#M36477</link>
    <description>&lt;P&gt;I am trying to connect Databricks Notebook using managed identity authentication type from Azure Data Factory. Below are the settings done. Error message is appended at the bottom of this message. With the same settings but with different authentication type like "Basic", "Service Prinicipal" is working fine. Please let me know anything i am missing out here.&lt;/P&gt;&lt;P&gt;URL =&amp;gt; &lt;A href="https://adb-xxxxxxxxxxxxxxxxxx.xx.azuredatabricks.net/api/2.0/jobs/runs/submit" target="_blank"&gt;https://adb-xxxxxxxxxxxxxxxxxx.xx.azuredatabricks.net/api/2.0/jobs/runs/submit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Method =&amp;gt; POST&lt;/P&gt;&lt;P&gt;Body =&amp;gt;&amp;nbsp;{"existing_cluster_id":"xxxx-xxxxxx-xxxxxxxx","notebook_task":{"notebook_path":"/Workspace/Users/&amp;lt;user email id&amp;gt;/workflows/primary_notebook","base_parameters":{"param_1":"First Web Activity"}}}&lt;/P&gt;&lt;P&gt;Authentication =&amp;gt; System-assigned Managed Identity&lt;/P&gt;&lt;P&gt;Resources =&amp;gt; &lt;A href="https://adb-xxxxxxxxxxxxxxxx.xx.azuredatabricks.net/" target="_blank"&gt;https://adb-xxxxxxxxxxxxxxxx.xx.azuredatabricks.net/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Error is as below&lt;/P&gt;&lt;P&gt;Get access token from MSI failed for Datafactory data-factory1-us-east-2, region eu2. Please verify resource url is valid and retry. Details: Failed to get MI access token. The error message is: Acquire MI token from AAD failed. ErrorCode: invalid_resource, Message: AADSTS500011: The resource principal named &lt;A href="https://adb-xxxxxxxxxxxxxxx.xx.azuredatabricks.net/" target="_blank"&gt;https://adb-xxxxxxxxxxxxxxx.xx.azuredatabricks.net/&lt;/A&gt; was not found in the tenant named xxxxxxxxxxxxxx. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2024 09:50:33 GMT</pubDate>
    <dc:creator>Prashanth24</dc:creator>
    <dc:date>2024-08-06T09:50:33Z</dc:date>
    <item>
      <title>Error connecting Databricks Notebook using managed identity from Azure Data Factory</title>
      <link>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/82012#M36477</link>
      <description>&lt;P&gt;I am trying to connect Databricks Notebook using managed identity authentication type from Azure Data Factory. Below are the settings done. Error message is appended at the bottom of this message. With the same settings but with different authentication type like "Basic", "Service Prinicipal" is working fine. Please let me know anything i am missing out here.&lt;/P&gt;&lt;P&gt;URL =&amp;gt; &lt;A href="https://adb-xxxxxxxxxxxxxxxxxx.xx.azuredatabricks.net/api/2.0/jobs/runs/submit" target="_blank"&gt;https://adb-xxxxxxxxxxxxxxxxxx.xx.azuredatabricks.net/api/2.0/jobs/runs/submit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Method =&amp;gt; POST&lt;/P&gt;&lt;P&gt;Body =&amp;gt;&amp;nbsp;{"existing_cluster_id":"xxxx-xxxxxx-xxxxxxxx","notebook_task":{"notebook_path":"/Workspace/Users/&amp;lt;user email id&amp;gt;/workflows/primary_notebook","base_parameters":{"param_1":"First Web Activity"}}}&lt;/P&gt;&lt;P&gt;Authentication =&amp;gt; System-assigned Managed Identity&lt;/P&gt;&lt;P&gt;Resources =&amp;gt; &lt;A href="https://adb-xxxxxxxxxxxxxxxx.xx.azuredatabricks.net/" target="_blank"&gt;https://adb-xxxxxxxxxxxxxxxx.xx.azuredatabricks.net/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Error is as below&lt;/P&gt;&lt;P&gt;Get access token from MSI failed for Datafactory data-factory1-us-east-2, region eu2. Please verify resource url is valid and retry. Details: Failed to get MI access token. The error message is: Acquire MI token from AAD failed. ErrorCode: invalid_resource, Message: AADSTS500011: The resource principal named &lt;A href="https://adb-xxxxxxxxxxxxxxx.xx.azuredatabricks.net/" target="_blank"&gt;https://adb-xxxxxxxxxxxxxxx.xx.azuredatabricks.net/&lt;/A&gt; was not found in the tenant named xxxxxxxxxxxxxx. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 09:50:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/82012#M36477</guid>
      <dc:creator>Prashanth24</dc:creator>
      <dc:date>2024-08-06T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Databricks Notebook using managed identity from Azure Data Factory</title>
      <link>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/82333#M36611</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/114352"&gt;@Prashanth24&lt;/a&gt;, To resolve this, ensure the resource URL is correctly set, grant the Data Factory Managed Identity &lt;CODE&gt;Contributor&lt;/CODE&gt; role in the Databricks workspace, verify the Databricks workspace is registered in the correct Azure AD tenant, confirm the Managed Identity is properly set up and has necessary permissions, and double-check the Linked Service configuration in Azure Data Factory, making sure the authentication type is "Managed Service Identity" and the workspace resource ID is correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the problem persists, please let me know, and we can explore further troubleshooting steps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 07:43:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/82333#M36611</guid>
      <dc:creator>Retired_mod</dc:creator>
      <dc:date>2024-08-08T07:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Databricks Notebook using managed identity from Azure Data Factory</title>
      <link>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/91705#M38242</link>
      <description>&lt;P&gt;Hi Kaniz,&lt;/P&gt;&lt;P&gt;I have assigned the managed service identity of adf, the contributor role. I am trying to create a linked service for databricks, but the connection is failing saying "The operation has timed out."&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 09:16:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/91705#M38242</guid>
      <dc:creator>mujeeb</dc:creator>
      <dc:date>2024-09-25T09:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Databricks Notebook using managed identity from Azure Data Factory</title>
      <link>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/109590#M43348</link>
      <description>&lt;P&gt;Did you manage to solve it?&lt;BR /&gt;I am getting the same error calling DBX REST API from ADF with System-assigned Managed Identity. The Databricks workspace is added a linked service and there no problem to run notebooks.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 10:08:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-connecting-databricks-notebook-using-managed-identity-from/m-p/109590#M43348</guid>
      <dc:creator>Hesareal</dc:creator>
      <dc:date>2025-02-10T10:08:15Z</dc:date>
    </item>
  </channel>
</rss>

