Browse By

Cisco Unity Connection says "Not Authorized" when you access via GUI

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:

Configuration in Cisco Unity Connection CLI

  • 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 GUI

  • 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!

Published by Team UC Collabing

Leave a Reply

Your email address will not be published. Required fields are marked *


Electrical Engineer CCNA Collaboration CCNA Voice CCNA R&S. I'm Electrical Engineer and I work like Support Engineer for a Telephony Service Provider Company. Before that I had position like Pre-Sale Engineer about small and medium multivendor telephony solutions. I have 5 years of experience working in Telephony Multivendor Projects. I am also 3 years of experience working in Support and implementation about Cisco Collaboration platforms: UCS server, UCM, Cisco Unity, Presence Server, Jabber, Gateway. Support Community is most useful in finding design, implementation and support tricks and shortcuts that greatly help me in my daily activities. If you need to contact me, please you can writte me.


CCNA Routing and Switching
Am a technology enthusiast. I work in network support providing support with implementation, maintaining and precisely troubleshooting the infra.
Realm of collaboration makes me want to learn and face new challenges more and more.