Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Azure AD Connect Health configuration failed on AD FS 2.0 Proxy server

$
0
0

I am trying to configure Azure AD Connect Health on AD FS 2.0 Proxy server, once I click on Configure and enter my Azure AD credentials, PowerShell windows opens and immediately after "Detecting AdFederationService roles..." I get "Configuration Failed".

In the installation log file I can see following:

Detecting AdFederationService roles...
AD FS 2 registry key exists.
SecurityTokenServer = -1
ProxyServer = 1
AD FS 2 registry key exists.
SecurityTokenServer = -1
ProxyServer = 1
System.NullReferenceException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at System.Linq.Enumerable.<CastIterator>d__b1`1.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   at Microsoft.Identity.Health.Adfs.PowerShell.ConfigurationModule.AdfsServiceExaminer.GetAdfsFarmNameFromProxy()
   at Microsoft.Identity.Health.Adfs.PowerShell.ConfigurationModule.AdfsServiceExaminer.ComputeServiceSignature()
   at Microsoft.Identity.Health.Common.Clients.PowerShell.ConfigurationModule.RegisterADHealthAgent.ProcessRecord()

On AD FS server I was able to configure the agent, here is the installation log file:

Detecting AdFederationService roles...
AD FS 2 registry key exists.
SecurityTokenServer = 1
ProxyServer = -1
Detected audit inclusion setting: Success and Failure
AD FS 2 registry key exists.
SecurityTokenServer = 1
ProxyServer = -1
Detected the following role(s) for <federation service name>:
AD FS 2.0 Federation Server
Fetching and storing agent credentials...
Starting agent services...
Agent registration completed successfully.

I would appreciate if anyone has an idea why configuration is failing on the proxy server.

Thanks!

Bojan


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>