信任監視擷取錯誤

Microsoft.ActiveDirectoryFederationServices.2016.TrustManagementTrustManagementMetadataRequestErrorMonitor (UnitMonitor)

Knowledge Base article:

摘要

此監視器指出 Federation Service 無法從其信任之一擷取同盟中繼資料文件。 AD FS 信任監視時間間隔的預設設定為 1 天。如果事件識別碼 168 在 5 天內至少發生 4 次,此監視器會產生黃色狀態。如果 1.5 天內沒有再次發生相同問題,此監視器的健全狀況狀態會變回綠色狀態,且此監視器產生的警示會自動解決。

原因

如需有關此事件原因的詳細資訊,請參閱事件中所指定的其他詳細資料。

解決方式

請確定同盟中繼資料 URL 可以使用。請確認您的 Proxy 伺服器設定。如需如何確認您 Proxy 伺服器設定的詳細資訊,請參閱 AD FS 疑難排解指南中的<進行 AD FS 疑難排解之前要檢查的事項>一節。

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices.2016.TrustManagement
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.RepeatedEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
信任監視擷取錯誤
Federation Service 無法從「{0}」擷取同盟中繼資料文件。檢查 [警示內容] 索引標籤以取得有關此信任的事件詳細資料。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices.2016.TrustManagementTrustManagementMetadataRequestErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices.2016.TrustManagement" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices.2016.TrustManagementTrustManagementMetadataRequestErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Context/DataItem/Params/Param[1]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="RepeatedEventRaised" MonitorTypeStateID="RepeatedEventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<RepeatedComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>$Target/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices.2016.FederationServer"]/ADFSEventLog$</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">168</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)</Pattern>
</RegExExpression>
</Expression>
</And>
</RepeatedExpression>
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>432000</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>4</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
<TimerWaitInSeconds>129600</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>