Can't log into Release Manager using Automation Engine user

Document ID : KB000090600
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Can't log into Release Manager using Automation Engine user
Resolution:
Detailed Description and Symptoms

Can't log into Release Manager using Automation Engine user

Error message:

No existing connection was found for ConnectInfo [user=admin, token=<password>] call openConnection() first

when trying to select an Agent from the ReleaseManager GUI



Solution

For a Release Manager user to connect to an Agent in the Automation Engine, the Automation Engine user needs to have a flag set to be able to access the Automation Engine from the Release Manager.
To do this we ran the createUser.ps1 script (from the release package\utilities folder)

.\createUser.ps1 -URL _http://myurl.com -User 250/myuser/mydomain -email myuser@example.org -displayname MyUser

whereas <client>/<user>/<department> is the user you want to login with.
This will enable the Automation Engine user to log into Release Manager and connect the Agent to a Hostgroup.