페더레이션 메타데이터 구문 분석 오류

Microsoft.ActiveDirectoryFederationServices20.TrustManagementTrustMonitoringMetadataFormatErrorMonitor (UnitMonitor)

Knowledge Base article:

요약

이 모니터는 트러스트 모니터링 서비스가 페더레이션 메타데이터 문서를 읽지 못했음을 나타냅니다.

AD FS 2.0 모니터링 시간 간격의 기본 설정은 1일입니다. 이벤트 ID 166이 5일 동안 4회 이상 발생하면 이 모니터에서 노란색 상태가 생성됩니다. 1.5일 이내에 같은 문제가 다시 발생하지 않으면 이 모니터의 상태가 녹색 상태로 다시 바뀌고 이 모니터에서 생성된 알림이 자동으로 해결됩니다.

원인

파트너 메타데이터가 WS-Federation 1.2 사양을 따르지 않습니다.

해결 방법

이벤트에 제공된 추가 정보를 사용하여 파서 위치와 사양 준수 문제 컨텍스트를 확인합니다. WS-Federation 1.2에 대한 자세한 내용은 WS-Federation 1.2 specification(WS-Federation 1.2 사양)을 참조하십시오.

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices20.TrustManagement
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.RepeatedEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
페더레이션 메타데이터 구문 분석 오류
트러스트 모니터링 서비스가 '{0}'에서 페더레이션 메타데이터 문서를 읽지 못했습니다. 이벤트에 대한 자세한 내용은 알림 컨텍스트 탭을 확인하십시오.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices20.TrustManagementTrustMonitoringMetadataFormatErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices20.TrustManagement" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices20.TrustManagementTrustMonitoringMetadataFormatErrorMonitor_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.ActiveDirectoryFederationServices20.FederationServer"]/ADFSEventLog$</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">166</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>
</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>