I am unable to register and install the services for Azure AD Connect Health (AD FS Agent).
The following error is received during the install. It seems to be related to the new version 2.6.232.0.
I have successfully installted version 2.6.224.0 on other machines but I do not have access to the installation file for that version anymore.
2016-06-10 10:52:36.461 ProductName: Azure AD Connect Health AD FS Agent, FileVersion: 2.6.232.0, Current UTC Time: 2016-06-10 10:52:36Z
2016-06-10 10:52:36.477 AHealthServiceUri (ARM): https://management.azure.com/providers/Microsoft.ADHybridHealthService
/
2016-06-10 10:52:36.477 AdHybridHealthServiceUri: https://s1.adhybridhealth.azure.com/
2016-06-10 10:52:37.899 AHealthServiceApiVersion: 2014-01-01
2016-06-10 10:52:50.152 Detecting AdFederationService roles...
2016-06-10 10:52:50.215 Detected the following role(s) for adfs.domain.com:
2016-06-10 10:52:50.215 AD FS 2012 R2 Federation Service Proxy
2016-06-10 10:52:52.356 Aquiring Monitoring Service certificate using tenant.cert
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Identity.Health.Common.ETWTraceListener.Write(Object entry)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at Microsoft.Online.Reporting.MonitoringAgent.AgentTrace.LogEvent(Int32 eventId, EventLogEntryType eventType, String
keyword, String messageFormat, Object[] arguments)
at Microsoft.Online.Reporting.MonitoringAgent.AgentTrace.LogError(Int32 eventId, String keyword, String messageFormat
, Object[] arguments)
at Microsoft.Online.Reporting.MonitoringAgent.Startup.Program.Main(String[] args)
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Identity.Health.Common.ETWTraceListener.Write(Object entry)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at Microsoft.Online.Reporting.MonitoringAgent.AgentTrace.LogEvent(Int32 eventId, EventLogEntryType eventType, String
keyword, String messageFormat, Object[] arguments)
at Microsoft.Online.Reporting.MonitoringAgent.AgentTrace.LogError(Int32 eventId, String keyword, String messageFormat
, Object[] arguments)
at Microsoft.Online.Reporting.MonitoringAgent.Startup.Program.Main(String[] args)
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Identity.Health.Common.ETWTraceListener.Write(Object entry)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at Microsoft.Online.Reporting.MonitoringAgent.AgentTrace.LogEvent(Int32 eventId, EventLogEntryType eventType, String
keyword, String messageFormat, Object[] arguments)
at Microsoft.Online.Reporting.MonitoringAgent.AgentTrace.LogError(Int32 eventId, String keyword, String messageFormat
, Object[] arguments)
at Microsoft.Online.Reporting.MonitoringAgent.Startup.Program.Main(String[] args)
Configuration Failed
To retry configuration, type:
Register-AzureADConnectHealthADFSAgent
Monitoring will not start until configuration is successful.
To review installation steps and requirements, please visit:
http://go.microsoft.com/fwlink/?LinkID=518643
Detailed log file created in temporary directory:
C:\Users\AppData\Local\Temp\AdHealthAdfsAgentConfiguration.2016-06-10_12-52-36.log
Register-AzureADConnectHealthADFSAgent : Failed configuring Monitoring Service using command: C:\Program Files\Azure Ad
Connect Health Adfs Agent\Monitor\Microsoft.Identity.Health.Adfs.MonitoringAgent.Startup.exe sourcePath="C:\Program Fi
les\Azure Ad Connect Health Adfs Agent\tenant.cert" version="2.6.232.0"
At line:1 char:1
+ Register-AzureADConnectHealthADFSAgent
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Register-AzureADConnectHealthADFSAgent], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Identity.Health.Adfs.PowerShell.Configuration
Module.RegisterADHealthAdfsAgent