Cisco Unity Connection says “Not Authorized” when you access via GUI
There are some instances when you play with user roles in Cisco Unified Communications Manager (CUCM) or Cisco Unity Connection (CUC), you may end up with some issues.
Recently one of my friend removed “System Administrator” role from the default Admin username, in my friend’s case it is “cucadministrator” which was created during the installation and ended up with some issues which says “Not Authorized” after saving the roles assignment. It did not allow him to perform any additions/deletion/modification to any of the configuration in Unity Connection.
To resolve the issues, i asked my friend to follow the below steps which resolved the issue:
- Login to Cisco Unity Connection CLI and run the below commands:
- The below command will help you create a user without mailbox
- run cuc dbquery unitydirdb execute procedure csp_UserCreate(ptemplateObjectId=(select objectid from vw_Usertemplate where displayname=’Administrator Template’),palias=’uccollabing‘)
- The below command will help you to assign “System Administrator” role to the user created above
- run cuc dbquery unitydirdb execute procedure csp_PolicyCreate (pRoleObjectId=(SELECT objectid FROM vw_role WHERE rolename=’System Administrator‘), pUserObjectId=(SELECT objectid FROM vw_globaluser WHERE alias=’uccollabing‘))
- The below command will help you to reset the password of the user
- utils cuc reset password uccollabing
- Exit from the CLI
- Login to Cisco Unity Connection using the userid and password created in the above step and it should help you.
- If you want to use the Admin account which was created during installation (in my friend’s case “cucadministrator”) and that is currently not working as it says “Not Authorized“, just go to that User Account and add the roles back which you have removed from the account.
Hope this helps!
- Cisco Jabber Auto Discovery Service – SRV Records - July 15, 2017
- Running VMWare ESXi 60 days trial license? Reset the license - July 15, 2017
- Cisco Expressway C and E – Banner MOTD - July 14, 2017
- How to collect packet capture from Cisco IP Phone - July 5, 2017
- Cluster ID Change – Cisco Unified Communications Manager - June 7, 2017
- Cisco CME – Drop Conference when initiator Disconnects - June 7, 2017
- Python Script to Extract Call Record from Cisco CDR - June 3, 2017
- Installing Enghouse ARC Enterprise Premium on Windows Server - April 23, 2017
- Find Jabber Chat History Location and Read Chat - March 27, 2017
- Step by Step Cisco IM & Presence Configuration - March 26, 2017