In an environment with Authentication Mode set to local, the agent is successfully started - However it terminates with the below error while trying to authenticate it within the AWI.
U00000009 '<Agent Name>': Access denied
U02000041 Shutdown Agent '<Agent Name>'.
U02000383 Web Socket connection closed with status code '1006 (Disconnected)'.
U02000002 Agent '<Agent Name>' version ' ' ended abnormally.
Release: 21.x 24.x
Functional Area: Agent Authentication
This is due to an incorrect company key
Review the Company Key being used by the agent.
Ensure that the Company Key is valid and correctly configured.
Verify that the key corresponds to the correct environment (e.g., Production, Test).
Double-check for any typos, missing characters, or incorrect formatting.
Using an incorrect or expired Company Key can result in authentication failures and prevent the agent from starting successfully.