I'm Trying to delete a terminated user's Voice mail in CUC, It gives " One or more users could not be deleted because they are referenced by other objects in the database. To clean up the references please save or review the User References Log File."
I checked user profile for dependencies record issue nothing pop up , Also i check the DN in every partition is the Ext is used as alternateExt in any other profile no help.
Need suggestions to clear this issue.
From the Unity Connection CLI, run these queries:
1. For each user that cannot be deleted, issue this query from the CLI replacing the user's alias with "UserAlias": run cuc dbquery unitydirdb select objectid from tbl_callaction where targethandlerobjectid IN (select callhandlerobjectid from vw_subscriber where alias='UserAlias').
2. For each Call Action objectid returned by step 1, issue this query from the CLI replacing the objectid with the objectid of the Call Action returned: run cuc dbquery unitydirdb delete from tbl_callaction where objectid='267db053−fff2−488c−af1d−98b3c70e5ea5'.
3. Delete the user in the Cisco Unity Connection Administration.
Thanks and Regards,