Issue: Agent registration fails when computer name and user name match - Conductor Platform - Foundation 24.1 - Foundation 24.1 - Ready - Hyland RPA - external - Hyland-RPA/Conductor-Platform/Foundation-24.1/Hyland-RPA-Conductor-Platform/Troubleshooting/Issue-Agent-registration-fails-when-computer-name-and-user-name-match - 2025-04-03

Hyland RPA Conductor Platform

Platform
Hyland RPA
Product
Conductor Platform
Release
Foundation 24.1
License
If username and computer name match, such as computer/computer, agent registration fails with the following error:
2024-04-22 14:04:44.669 -04:00 [ERR] Failed to save and/or set agent private key.
2024-04-22 14:04:44.669 -04:00 [DBG] Some or all identity references could not be translated.
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at AM.Conductor.Service.SessionManagement.SessionMonitor.GetCurrentUserSid(String username)
at AM.Conductor.Service.SessionManagement.SessionMonitor.GetCurrentUsersLocalAppData()
at AM.Conductor.Provider.Site.Service.SiteConstantsService.get_AgentKeyPath()
at AM.Conductor.Plugin.SelfRegistration.Service.Agent.AgentConfigurationService.SavePrivateKey(String privateKey)
at AM.Conductor.Provider.Site.Service.AgentRegistrationService.GenerateKeyPair()
at AM.Conductor.Provider.Site.Service.AgentRegistrationService.CompleteAgentRegistration(IAgent agent)
2024-04-22 14:04:44.669 -04:00 [ERR] Register Agent failed. Agent status is: RegistrationFailed
2024-04-22 14:04:44.669 -04:00 [DBG] [ACTION EXIT] Register Agent Result: Failed

Do the following:

  1. In RPA Web Manager, apply a unique user name or computer name.
  2. Try to register the agent again.