An Error Occurred
Please try again later... [OK]
/services-logs/prelude/identity-service-app/file-logs/identity-service-app.log
"GET /csp/gateway/am/api/userinfo HTTP/1.1" 500 169 8080 161 ms
Date_Time INFO identity-service [host='identity-service-app-123456789' thread='reactor-http-epoll-2' user='username (11111-2222-3333-4444-5555555555)' org='11111-2222-3333-4444-5555555555' trace='
11111-2222-3333-4444-5555555555' parent='123456789' span='123456789'] com.vmware.identity.rest.RestClient.lambda$logRequest$1:86 - GET https://FQDN/SAAS/jersey/manager/api/scim/Users?filter=(userName%)
Date_Time ERROR identity-service [host='identity-service-app-123456789' thread='reactor-http-epoll-2' user='username (11111-2222-3333-4444-5555555555)' org='11111-2222-3333-4444-5555555555' trace='11111-2222-3333-4444-5555555555' parent='123456789123456789' span='123456789123456789'] c.v.i.c.RestResponseEntityExceptionHandler.logError:225 - Handling generic exception: There is more than 1 user found.
java.lang.IllegalStateException: There is more than 1 user found.
at com.vmware.identity.common.util.IdmUserUtil.getUserResource(IdmUserUtil.java:33) ~[classes!/:na]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Failed to authenticate with vRA. Status: 500 - {"timestamp":<unix-timestamp>),"path":"/iaas/api/cloud-accounts","status":500,"error":"Internal Server Error","message":"ClientResponse has erroneous status code: 500 Internal Server Error. WebClientServiceResponseException.ErrorDetails(timestamp=<human-timestamp>, path=/rbac-service/api/auth-context, type=com.vmware.automation.spring.webflux.platform.client.service.exception.WebClientServiceResponseException, errorCode=0, messageKey=null, messageArguments=null, message=ClientResponse has erroneous status code: 500 Internal Server Error.
For now, this is working as designed: since Automation uses this Search Attribute to distinguish between accounts, these users are getting mixed up.
Please see this docs page for some discussion:
Active Directory sync and authentication with multiple domains
If the particular users which exist on multiple domains are not needed on all of these domains:
If it is necessary to continue using domains which contain conflicting usernames, the vIDM settings can be changed to distinguish users via the domain name: