cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
874
Views
0
Helpful
0
Replies

Unity Connection: Import an LDAP user using an administrator template via stored procedure?

aylucas
Level 1
Level 1

Does anyone know if there is a way to import an LDAP user using an administrator template via stored procedure?

TMI:
We have a task to automate the on-boarding process for Unity Connection administrators. After attempting this via the CUPI API, we found that LDAP imports using an admin template was probably not supported (400 Bad Request with "Object not found or is not a template".)

We've moved on to exploring stored procedures and are currently working with the csp_usercreate stored proc but are struggling a bit. We've been testing initially using a `pTemplateObjectId` that points to the `voicemailusertemplate` object. We're populating the pLdapCcmPkid (extracted from the CUPI user import API), pLdapCcmUserId (user `mail` attribute in this case), and have played with the pLdapType setting using 1, 2 and 3 (3 isn't listed as an option in CUDLI but in my lab, users that are successfully imported via LDAP are listed in CUPI as status == 3 so we tried it out). Regardless of what we've tried using the voicemailusertemplate ID, the user doesn't appear to be a successful LDAP imported user in the Unity Connection GUI (they're still listed as import eligible and are missing the "integrate with LDAP" toggle on the user main page.)

We've also tried importing using the `administratortemplate` but this throws an error in CUDLI (attached). The user does appear in the Unity Connection GUI with the admin role afterward, but is still not an LDAP synchronized user.

Not sure where to go next, or to confirm if this can actually be done....

 

Screen Shot 2019-02-19 at 21.59.41.png

0 Replies 0