設定遺失 SAML 判斷提示取用者服務錯誤

Microsoft.ActiveDirectoryFederationServices20.TokenIssuanceConfigurationMissingAssertionConsumerServicesErrorRule (Rule)

Knowledge Base article:

摘要

信賴憑證者未設定 SAML 判斷提示取用者服務。

原因

信賴憑證者未設定 SAML 判斷提示取用者服務。

解決方式

使用 AD FS 2.0 嵌入式管理單元,設定這個信賴憑證者的一個或多個判斷提示取用者服務。若要設定 SAML 判斷提示取用者服務,請在這個信賴憑證者信任屬性中的 [端點] 索引標籤上新增或更新必要的 SAML 判斷提示取用者端點。

如果您匯入了中繼資料,請檢查您的中繼資料提供者設定。如果您已手動設定信賴憑證者,請檢查同盟伺服器電腦本機上的信賴憑證者信任。如果已匯入中繼資料來設定信賴憑證者信任,請確認中繼資料夥伴伺服器上的設定是正確且為最新版本。

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices20.TokenIssuance
CategoryConfigurationHealth
EnabledTrue
Event_ID258
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
設定遺失 SAML 判斷提示取用者服務錯誤
信賴憑證者 '{0}' 未設定 SAML 判斷提示取用者服務。
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.TokenIssuanceConfigurationMissingAssertionConsumerServicesErrorRule" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices20.TokenIssuance" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>ConfigurationHealth</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">258</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.TokenIssuanceConfigurationMissingAssertionConsumerServicesErrorRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>