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.
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...