联合服务器代理上的联合身份验证被动服务通信错误

Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyAuthenticationWSFederationPassiveServiceCommunicationErrorMonitor (UnitMonitor)

Knowledge Base article:

摘要

尝试从联合身份验证服务获取令牌时发生通信错误。 如果在 15 分钟内没有再次出现相同问题,则此监视器的运行状况状态将更改回绿色状态。 必须手动解决此监视器生成的警报。

原因

如果在服务启动期间服务依赖项不可用,则可能会发生此事件。 例如,如果 AD FS 2.0 Windows 服务启动时 Internet Information Services (IIS) 服务处于脱机状态,则可能会发生此事件。

有关此事件的具体原因的详细信息,请参阅此事件中指定的其他详细信息。

解决方法

确保联合身份验证服务正在运行。 根据需要启动(或重新启动)它。 有关验证 AD FS 2.0 是否已安装并正在运行的详细信息,请参阅 AD FS 2.0 疑难解答指南 (AD FS 2.0 troubleshooting guide) 中的“解决 AD FS 2.0 问题之前应检查的内容”(Things to Check Before Troubleshooting AD FS 2.0) 一节。

使用事件中的其他详细信息确定其他服务是否不可用或未正确配置。

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices20.FederationServerProxyAuthentication
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
联合服务器代理上的联合身份验证被动服务通信错误
尝试从联合身份验证服务获取令牌时发生通信错误。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyAuthenticationWSFederationPassiveServiceCommunicationErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyAuthentication" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyAuthenticationWSFederationPassiveServiceCommunicationErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>$Target/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxy"]/ADFSEventLog$</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">363</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)|(^AD FS 2.0$)</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>900</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>