SAML 项目解析请求错误

Microsoft.ActiveDirectoryFederationServices20.ArtifactServiceSamlArtifactResolutionRequestErrorRule (Rule)

Knowledge Base article:

摘要

由于无法解析 SAML 项目,联合身份验证服务无法为声明提供方信任颁发令牌。

原因

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

解决方法

验证代理服务器设置。 有关如何验证代理服务器设置的详细信息,请参阅 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.ArtifactService
CategoryAvailabilityHealth
EnabledTrue
Event_ID283
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
SAML 项目解析请求错误
由于无法解析 SAML 项目,联合身份验证服务无法颁发令牌。 因此,对声明提供方信任“{0}”所做的项目解析请求失败。 检查“警报上下文”选项卡,获取事件详细信息。
Event Log$Target/Host/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices20.FederationServer"]/ADFSEventLog$

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.ActiveDirectoryFederationServices20.ArtifactServiceSamlArtifactResolutionRequestErrorRule" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices20.ArtifactService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>$Target/Host/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">283</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>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.ActiveDirectoryFederationServices20.ArtifactServiceSamlArtifactResolutionRequestErrorRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[2]$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>