Discovery_CiscoUnity error: The request failed with HTTP status 401: Unauthorized

  • 7012204
  • 25-Apr-2013
  • 25-Apr-2013


NetIQ AppManager 7.x
NetIQ AppManager 8.x
Cisco Unity 8.6


Unable to discover Cisco Unity Connections.
Error generated by Discovery_CiscoUnity Knowledge Script:
The request failed with HTTP status 401: Unauthorized.
The HTTP request is unauthorized with client authentication scheme 'Basic'.  The authentication header received from the server was 'Basic realm="Cisco VTG Realm".
Login failed to Connection server: XXX
The discovered server (XXX) is not a Unity Connection server.


Please verify that the account being used by AppManager is indeed the first application admin account created when Unity Connection is first installed.
Also, there is a setting 'mailbox access delegate account' role, which has a sub role - 'access to all messages via messaging api' which needs to be enabled in the Cisco Unity Connection Messaging Interface (CUMI) setting on the System Settings > Advanced > API Settings page in the Cisco Unity Connection Administration.


When you install Unity Connection, you create a first set of application admin credentials (this user cannot be deleted or renamed).
After you’ve installed Unity Connection, you can create other application admin accounts.

The web-api used by AppManager will only work when authenticating with that first application admin account. So, if the admin account you are using is not that first admin account, and the credentials check out otherwise (through the web page), this may be the issue.