<?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: Adding a service principal to workspace fails in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58541#M782</link>
    <description>&lt;P&gt;Apologize for the confusion so you are also having issues when doing it through UI?&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jan 2024 17:13:28 GMT</pubDate>
    <dc:creator>Walter_C</dc:creator>
    <dc:date>2024-01-27T17:13:28Z</dc:date>
    <item>
      <title>Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58495#M778</link>
      <description>&lt;P&gt;Trying to add an Azure Service Principal to a workspace fails, whether via the web UI or the databricks cli. With the databricks, the console gives this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks service-principals -p ************* create --application-id ********-****-****-****-************ --display-name ****************** --debug

18:28:51  INFO start pid=17186 version=0.212.2 args="databricks, service-principals, -p, *************, create, --application-id, ********-****-****-****-************, --display-name, ******************, --debug"
18:28:52 DEBUG non-retriable error: INTERNAL_ERROR: 4 (of class java.lang.Integer) pid=17186 sdk=true
18:28:52 DEBUG POST /api/2.0/preview/scim/v2/ServicePrincipals
&amp;gt; {
&amp;gt;   "applicationId": "********-****-****-****-************",
&amp;gt;   "displayName": "******************"
&amp;gt; }
&amp;lt; HTTP/2.0 500 Internal Server Error
&amp;lt; {
&amp;lt;   "detail": "INTERNAL_ERROR: 4 (of class java.lang.Integer)",
&amp;lt;   "schemas": [
&amp;lt;     "urn:ietf:params:scim:api:messages:2.0:Error"
&amp;lt;   ],
&amp;lt;   "status": "500"
&amp;lt; } pid=17186 sdk=true
Error: INTERNAL_ERROR: 4 (of class java.lang.Integer)
18:28:52 ERROR failed execution pid=17186 exit_code=1 error="INTERNAL_ERROR: 4 (of class java.lang.Integer)"&lt;/LI-CODE&gt;&lt;P&gt;#azure #Identity and access&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 17:43:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58495#M778</guid>
      <dc:creator>bas</dc:creator>
      <dc:date>2024-01-26T17:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58525#M779</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The issue you're experiencing seems to be related to the Databricks provider's authentication configuration in Terraform. Here are some steps that you can follow to potentially resolve the issue:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;1. You need to ensure that the Databricks provider is correctly configured with the necessary parameters, especially the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;host&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;parameter which points to the Databricks workspace URL. Here's how you can configure it:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;terraform&lt;BR /&gt;provider "databricks" {&lt;BR /&gt; &amp;nbsp;&lt;WBR /&gt;host = "https://${azurerm_databricks_workspace.databricks.workspace_url}"&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;By setting the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;host&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;parameter to the URL of the Databricks workspace you've created, the provider knows where to direct API calls. Ensure that the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;azurerm_databricks_workspace.databricks.workspace_url&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;correctly points to the URL of your Databricks workspace.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;2. Additionally, make sure that the environment variables&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;ARM_CLIENT_SECRET&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;ARM_CLIENT_ID&lt;/CODE&gt;&lt;SPAN&gt;, and&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;ARM_TENANT_ID&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;are correctly set in your Git workflow environment. These should correspond to your Service Principal's client secret, client ID, and tenant ID, respectively.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 14:22:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58525#M779</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-01-27T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58539#M781</link>
      <description>&lt;P&gt;I'm not sure I understand the "relationship with terraform" as I tried creating the Service Principal using the Web UI and the Databricks cli. Furthermore, creating Service Principals was working fine two days ago for the very same workspace.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 16:36:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58539#M781</guid>
      <dc:creator>bas</dc:creator>
      <dc:date>2024-01-27T16:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58541#M782</link>
      <description>&lt;P&gt;Apologize for the confusion so you are also having issues when doing it through UI?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 17:13:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58541#M782</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-01-27T17:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58542#M783</link>
      <description>&lt;P&gt;Yes, I'm having the same issue through the UI. With exact error message&lt;/P&gt;&lt;PRE&gt;INTERNAL_ERROR: 4 (of class java.lang.Integer)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 17:33:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58542#M783</guid>
      <dc:creator>bas</dc:creator>
      <dc:date>2024-01-27T17:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58692#M786</link>
      <description>&lt;P&gt;We are experiencing the same here.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 11:47:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58692#M786</guid>
      <dc:creator>Gerben</dc:creator>
      <dc:date>2024-01-30T11:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58717#M787</link>
      <description>&lt;P&gt;Same here with Azure Databricks&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 15:35:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58717#M787</guid>
      <dc:creator>Rania07</dc:creator>
      <dc:date>2024-01-30T15:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58718#M788</link>
      <description>&lt;P&gt;I got a response from Azure Support:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Kindly note that this issue has already been addressed by Databricks Engineering team, and the fix will be deployed &lt;STRONG&gt;&lt;U&gt;by End of the day Pacific time today.&lt;/U&gt;&lt;/STRONG&gt;&lt;U&gt;"&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 15:40:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58718#M788</guid>
      <dc:creator>Gerben</dc:creator>
      <dc:date>2024-01-30T15:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58731#M789</link>
      <description>&lt;P&gt;Same issue in AWS Databricks.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 17:03:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58731#M789</guid>
      <dc:creator>brickmaker</dc:creator>
      <dc:date>2024-01-30T17:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a service principal to workspace fails</title>
      <link>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58758#M792</link>
      <description>&lt;P&gt;I confirm that the issue has been resolved for me. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 23:10:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/adding-a-service-principal-to-workspace-fails/m-p/58758#M792</guid>
      <dc:creator>bas</dc:creator>
      <dc:date>2024-01-30T23:10:57Z</dc:date>
    </item>
  </channel>
</rss>

