2020-08-26 20:36:54.864 SecurityProtocol set to Tls, Tls11, Tls12 2020-08-26 20:36:54.879 Current Monitoring Level in Registry is not set 2020-08-26 20:36:54.879 Updated Monitoring Level in Registry to Full 2020-08-26 20:36:54.879 ProductName: Microsoft Azure AD Connect Health agent for sync, FileVersion: 3.1.68.0, Current UTC Time: 2020-08-26 20:36:54Z 2020-08-26 20:36:54.879 enableRegistration: True 2020-08-26 20:36:54.895 AHealthServiceUri (ARM): htps://management.azure.com/providers/Microsoft.ADHybridHealthService/ 2020-08-26 20:36:54.895 AdHybridHealthServiceUri: htps://s1.adhybridhealth.azure.com/ 2020-08-26 20:36:54.895 AHealthServiceUri (ARM): htps://management.azure.com/providers/Microsoft.ADHybridHealthService/ 2020-08-26 20:36:54.895 AdHybridHealthServiceUri: htps://s1.adhybridhealth.azure.com/ 2020-08-26 20:36:54.911 User Context outbound connections to htps://management.azure.com/providers/Microsoft.ADHybridHealthService/ will use proxy address htp://proxyserver:8080/ (if equal, no proxy is used) 2020-08-26 20:36:54.911 Service Context: Outbound connections to htps://management.azure.com/providers/Microsoft.ADHybridHealthService/ will use proxy address htp://proxyserver:8080/ (if equal, no proxy is used) 2020-08-26 20:36:54.911 UploadLogFileFromDisk: arguments LogFileLocation=C:\Users\ThatGuy\AppData\Local\Temp\AdHealthAadSyncAgentConfiguration.2020-08-26_16-36-54.log;ProductName=Microsoft Azure AD Connect Health agent for sync;ProductVersion=3.1.68.0;MachineName=Server;ServiceUri=htps://s1.adhybridhealth.azure.com/;Result=started;type=registration,activityId=53662607-5e81-4cea-824a-210ef5a09e68 2020-08-26 20:36:54.911 UploadLogFileFromDisk: TenantId: unknown 2020-08-26 20:36:54.911 UploadLogFileFromDisk: MachineId: RegNumber 2020-08-26 20:36:54.911 UploadLogFileFromDisk: reading file contents of C:\Users\ThatGuy\AppData\Local\Temp\AdHealthAadSyncAgentConfiguration.2020-08-26_16-36-54.log 2020-08-26 20:36:54.926 UploadLogFileFromDisk: log length: 2037 2020-08-26 20:36:54.926 UploadFile: start, url: htps://s1.adhybridhealth.azure.com/providers/Microsoft.ADHybridHealthService/diagnostics/logs/installer/product/Microsoft-Azure-AD-Connect-Health-agent-for-sync/version/3.1.68.0/machine/Server?result=started&type=registration&machineId=RegNumber 2020-08-26 20:36:56.13 UploadFile: WebException caught on post:System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception stack trace --- at System.Net.htpWebRequest.GetResponse() at Microsoft.Identity.Health.Common.FileUploader.UploadFile(Action`1 logLine, String url, String postBody, String fileName, String activityId) 2020-08-26 20:36:56.13 UploadLogFileFromDisk: response: 2020-08-26 20:36:56.13 AHealthServiceApiVersion: 2014-01-01 2020-08-26 20:36:56.13 --> htps://management.core.windows.net/ 2020-08-26T20:36:56.1300219Z: ################## - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.4.11002', file version '3.19.50420.1321' and informational version 'fc72a8969f29515a621b8499d35364562c59d4b4' is running...2020-08-26T20:36:56.1300219Z: ################## - LoggerBase.cs: === Token Acquisition started: CacheType: null Authentication Target: User , Authority Host: login.windows.net2020-08-26T20:37:25.4653832Z: ################## - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 8/26/2020 9:37:24 PM +00:002020-08-26 20:37:25.465 Detecting AadSyncService roles... TraceEntry.Start Timestamp = 08/26/2020 20:37:25 TenantId = 00000000-0000-0000-0000-000000000000 AgentId = ServiceId = 00000000-0000-0000-0000-000000000000 ServiceMemberId = 00000000-0000-0000-0000-000000000000 ActivityId = 53662607-5e81-4cea-824a-210ef5a09e68 CorrelationId = 53662607-5e81-4cea-824a-210ef5a09e68 TraceType = Warning CallerName = IsTransient CallerSourceInfo = X:\bt\1015952\repo\src\dev\common\Utils\AdHealthRetryPolicy.cs#25 Message = Operation failed. The underlying connection was closed: An unexpected error occurred on a send.. Retrying... Exception = TraceEventType = Registration AgentType = NotAnAgent ServiceType = Version = 3.1.68.0 TraceEntry.End TraceEntry.Start Timestamp = 08/26/2020 20:37:26 TenantId = 00000000-0000-0000-0000-000000000000 AgentId = ServiceId = 00000000-0000-0000-0000-000000000000 ServiceMemberId = 00000000-0000-0000-0000-000000000000 ActivityId = 53662607-5e81-4cea-824a-210ef5a09e68 CorrelationId = 53662607-5e81-4cea-824a-210ef5a09e68 TraceType = Warning CallerName = IsTransient CallerSourceInfo = X:\bt\1015952\repo\src\dev\common\Utils\AdHealthRetryPolicy.cs#25 Message = Operation failed. The underlying connection was closed: An unexpected error occurred on a send.. Retrying... Exception = TraceEventType = Registration AgentType = NotAnAgent ServiceType = Version = 3.1.68.0 TraceEntry.End TraceEntry.Start Timestamp = 08/26/2020 20:37:36 TenantId = 00000000-0000-0000-0000-000000000000 AgentId = ServiceId = 00000000-0000-0000-0000-000000000000 ServiceMemberId = 00000000-0000-0000-0000-000000000000 ActivityId = 53662607-5e81-4cea-824a-210ef5a09e68 CorrelationId = 53662607-5e81-4cea-824a-210ef5a09e68 TraceType = Warning CallerName = IsTransient CallerSourceInfo = X:\bt\1015952\repo\src\dev\common\Utils\AdHealthRetryPolicy.cs#25 Message = Operation failed. The underlying connection was closed: An unexpected error occurred on a send.. Retrying... Exception = TraceEventType = Registration AgentType = NotAnAgent ServiceType = Version = 3.1.68.0 TraceEntry.End TraceEntry.Start Timestamp = 08/26/2020 20:37:46 TenantId = 00000000-0000-0000-0000-000000000000 AgentId = ServiceId = 00000000-0000-0000-0000-000000000000 ServiceMemberId = 00000000-0000-0000-0000-000000000000 ActivityId = 53662607-5e81-4cea-824a-210ef5a09e68 CorrelationId = 53662607-5e81-4cea-824a-210ef5a09e68 TraceType = Warning CallerName = IsTransient CallerSourceInfo = X:\bt\1015952\repo\src\dev\common\Utils\AdHealthRetryPolicy.cs#25 Message = Operation failed. The underlying connection was closed: An unexpected error occurred on a send.. Retrying... Exception = TraceEventType = Registration AgentType = NotAnAgent ServiceType = Version = 3.1.68.0 TraceEntry.End 2020-08-26 20:37:46.971 WebException caught: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception stack trace --- at System.Net.htpWebRequest.GetResponse() at Microsoft.Identity.Health.Common.RestRequest.<>c__DisplayClass7_0`1.b__0() at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func) at Microsoft.Identity.Health.Common.RestRequest.RequestJsonData[T](String uri, String accessToken, X509Certificate2 clientCertificate, Guid correlationId, RetryPolicy retryPolicy, Guid tenantId) at Microsoft.Identity.AadConnect.Health.AadSync.PowerShell.ConfigurationModule.AadSyncServiceExaminer.ComputeServiceSignature() at Microsoft.Identity.Health.Common.Clients.PowerShell.ConfigurationModule.RegisterADHealthAgent.ProcessRecord() 2020-08-26 20:37:46.971 The underlying connection was closed: An unexpected error occurred on a send. 2020-08-26 20:37:46.987 UploadLogFileFromDisk: arguments LogFileLocation=C:\Users\ThatGuy\AppData\Local\Temp\AdHealthAadSyncAgentConfiguration.2020-08-26_16-36-54.log;ProductName=Microsoft Azure AD Connect Health agent for sync;ProductVersion=3.1.68.0;MachineName=Server;ServiceUri=htps://s1.adhybridhealth.azure.com/;Result=failed;type=registration,activityId=53662607-5e81-4cea-824a-210ef5a09e68 2020-08-26 20:37:46.987 UploadLogFileFromDisk: TenantId: unknown 2020-08-26 20:37:46.987 UploadLogFileFromDisk: MachineId: RegNumber 2020-08-26 20:37:46.987 UploadLogFileFromDisk: reading file contents of C:\Users\ThatGuy\AppData\Local\Temp\AdHealthAadSyncAgentConfiguration.2020-08-26_16-36-54.log 2020-08-26 20:37:46.987 UploadLogFileFromDisk: log length: 10951 2020-08-26 20:37:46.987 UploadFile: start, url: htps://s1.adhybridhealth.azure.com/providers/Microsoft.ADHybridHealthService/diagnostics/logs/installer/product/Microsoft-Azure-AD-Connect-Health-agent-for-sync/version/3.1.68.0/machine/Server?result=failed&type=registration&machineId=RegNumber 2020-08-26 20:37:47.833 UploadFile: WebException caught on post:System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception stack trace --- at System.Net.htpWebRequest.GetResponse() at Microsoft.Identity.Health.Common.FileUploader.UploadFile(Action`1 logLine, String url, String postBody, String fileName, String activityId) 2020-08-26 20:37:47.833 UploadLogFileFromDisk: response: