Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CUCM 9 - LDAP Integration Question

Hi All,

We have a IPT cluster that we are trying to integrate to the AD. The local user IDs in CUCM with the EM profile mapped are 4 digit numeric IDs.

I have a report of SAMAccount names from AD and I created a BAT file with the User ID ( as SAMAccountName) and its corresponding EM Device profile as controlled profile.

I would like to know if there is a way to use this BAT file to update the existing 4 digits user IDs so that currently logged in users will stay logged in to EM and their user IDs will get changed to SAMAccountName.

I tried doing this straight away with the BAT file having USER ID (SamAccountName), First name and Last name expecting the last 2 fields to match the numeric accounts in CCM and update the User ID but the error says unable to find User ID.


Truly appreciate any thoughts or ideas around this. Thank you.







VIP Super Bronze

With LDAP integration, you

With LDAP integration, you cant update user-ids. This is obtained from AD.

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Thanks Guys. I was almost

Thanks Guys. I was almost sure that this was not possible.

I will go ahead with the LDAP sync then a bulk logout and a bulk login back with the LDAP IDs using some EM tools.


Thank you. -abraham


I am pretty certain what you

I am pretty certain what you are trying to do is not possible.

If I had the same challenge I would do the following:


  1. Sync the new users from AD with SAMAccountName as the userid attribute
  2. From the Device > Phone page get an Actively Logged In Devices report and paste it into Excel
  3. Use some Excel trickery (VLOOKUP) to add a column containing SAMAccountName date to the spreadsheet created in the previous step.
  4. Use the attributes from the spreadsheet to create a text file containing data in the format below:
url = "http://<<CUCM IP>>/emapp/EMAppServlet?device=<<DEVICENAME>>&userid=<<USERID>>&seq=<<PIN>>"


The Excel CONCATENATE function is your friend for this.

5. Log out all the EM users using BAT

6. Use the text file created in step 4 in conjunction with CURL - see URL below - to log in the users using their new names to the phones.

Obviously try this on a few test users before running it for everyone.



CreatePlease login to create content