There's a table on the platform side (CUCM) that maps the end user to a UC user. It sounds like the user may have been deleted from CUCM, but UC still has record of it, so now UC has the orphaned user with no mapping anymore on CUCM, so its likely failing to match up with the CUCM mapping, thus failing.
From CUCM, or the CUCMBE box CLI to confirm that the entry is in fact gone:
run sql select userid, pkid from enduser where userid = 'hytchang'
Likely to be 0 results, which is fine. We'll now have to then manually remove the user from UC. It's a two step process.
From UC or CUCMBE box box CLI first you will need to find the ObjectId for the user that you want to remove:
run cuc dbquery unitydirdb SELECT ObjectId from vw_User WHERE Alias = 'hytchang'
And then you will want to delete that user as such:
run cuc dbquery unitydirdb EXECUTE PROCEDURE csp_UserDelete (pObjectId = 'full objectid that was returned from above query')
Did you ever get a response on if forcing the delete removes the users cleanly. i am having the same or very similar issue. LDAP deleted the users from CUCM and when i attempt to delete the users from CUC to reclaim the licenses i am getting the same issue you expressed.Above
Failed to delete Unified Communications Manager user association. To force delete operation, click Here.
SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...