Problem:
Domain user logging in to a ProfieUnity can't login because of an error: "Impersonation failed due to LogonUser" 'username'
Symptoms:
Error from the ProfileUnity console log at "C:\Program Files (x86)\Liquidware Labs\ProfileUnity\logs"
2017-11-28 11:12:21 [61] WARN - ProfileUnity.WindowsManagement.Exceptions.ImpersonateException: Impersonation failed due to LogonUser 'username'.
at ProfileUnity.WindowsManagement.Security.Impersonation.Token..ctor(ILogManager logManager, String username, String password, String domain)
at ProfileUnity.WindowsManagement.Security.Impersonation.Impersonator.Impersonate()
at ProfileUnity.Web.Modules.Main.Api.Server.ServerModule.GetAbout()
2017-11-28 11:12:22 [35] ERROR - System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 54.231.81.226:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at ProfileUnity.Host.Update.RemoteUpdateManager.CheckStatus()
at ProfileUnity.Web.Modules.Main.Api.Server.UpdateModule.GetUpdate()
2017-11-28 11:12:22 [35] ERROR - WebMessage Error: Could not connect to remote server to determine if an update is available.
2017-11-28 11:12:45 [84] ERROR - Marshal error code: 0
Possible Resolution(s):
Grant admin rights to the ProfileUnity server:
Add the user to local administrator group on the server where ProfileUnty is installed.
Product: ProfileUnity
Product Version: 6.5 and newer