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:
- In RPA Web Manager, apply a unique user name or computer name.
- Try to register the agent again.