Adding a service principal to workspace fails

bas
New Contributor III

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:

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
> {
>   "applicationId": "********-****-****-****-************",
>   "displayName": "******************"
> }
< HTTP/2.0 500 Internal Server Error
< {
<   "detail": "INTERNAL_ERROR: 4 (of class java.lang.Integer)",
<   "schemas": [
<     "urn:ietf:params:scim:api:messages:2.0:Error"
<   ],
<   "status": "500"
< } 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)"

#azure #Identity and access