同盟伺服器 Proxy 上出現同盟被動服務通訊錯誤

Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyAuthenticationWSFederationPassiveServiceCommunicationErrorMonitor (UnitMonitor)

Knowledge Base article:

摘要

嘗試從 Federation Service 取得權杖時發生通訊錯誤。如果在 15 分鐘內未再度發生相同問題,監視器健康狀態將切換回「綠色」狀態。這個監視器所產生的警示必須手動解除。

原因

如果服務依存性無法使用,則服務啟動期間就可能會發生這個事件。例如,當 AD FS 2.0 Windows Service 啟動時而網際網路資訊服務 (IIS) 服務是離線狀態下,就可能會發生這個事件。

如需造成這個事件原因的詳細具體資訊,請參閱事件中所指定的其他詳細資料。

解決方式

確定 Federation Service 正在執行中。視需要啟動 (或重新啟動) 它。如需確認 AD FS 2.0 已安裝且正在執行中的詳細資訊,請參閱< AD FS 2.0 疑難排除指南>的一節「疑難排解 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
同盟伺服器 Proxy 上出現同盟被動服務通訊錯誤
嘗試從 Federation Service 取得權杖時發生通訊錯誤。
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>