フェデレーション メタデータ要求のリッスン中にエラーが発生しました

Microsoft.ActiveDirectoryFederationServices20.TrustManagementMetadataListenerErrorMonitor (UnitMonitor)

Knowledge Base article:

概要

このモニターは、公開されたフェデレーション メタデータの読み取り要求をフェデレーション サービスがリッスンしようとしたときに、予期しないエラーが発生したことを示しています。

15 分以内に同じ問題が発生しなかった場合、このモニターは緑の状態に戻ります。 このモニターによって生成されたアラートは手動で解決する必要があります。

原因

AD FS 2.0 Windows サービスが、フェデレーション メタデータ エンドポイント URL へのアクセス許可を持っていないか、その URL アクセス許可をオーバーライドする、より制約の多いアクセス制御リスト (ACL) アクセス許可によってブロックされている可能性があります。

解決方法

HTTP の netsh コマンドを使用して、フェデレーション メタデータ エンドポイント URL に対する URL ACL アクセス許可を確認するか、フェデレーション サーバーが使用するエンドポイントに必要なアクセス許可を他の URL がオーバーライドしていないことを確認します。 詳細については、「 ハイパーテキスト転送プロトコル (HTTP) の Netsh (英語の可能性あり)」の netsh http show urlacl 構文の例を参照してください。

次の例に、ユーザー定義サービス ユーザー アカウント ("adfssrv") が AD FS 2.0 サービス ID に対して構成および使用されているフェデレーション メタデータ エンドポイント アクセス許可を確認する場合の netsh http show urlacl コマンドの一般的な出力を示します。

C:\>netsh http show urlacl url=https://+:443/FederationMetadata/2007-06/

予約済み URL : https://+:443/FederationMetadata/2007-06/

ユーザー: NT SERVICE\adfssrv

リッスン: Yes

委任: Yes

SDDL: D:(A;;GA;;;S-1-5-80-2246541699-21809830-3603976364-117610243-975697593)

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices20.TrustManagement
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
フェデレーション メタデータ要求のリッスン中にエラーが発生しました
予期しないエラーが発生したため、フェデレーション メタデータ ドキュメントの読み取り要求をフェデレーション サービスが '{0}' でリッスンできませんでした。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices20.TrustManagementMetadataListenerErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices20.TrustManagement" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices20.TrustManagementMetadataListenerErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[1]$</AlertParameter1>
</AlertParameters>
</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.FederationServer"]/ADFSEventLog$</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">155</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>