此监视器指示联合身份验证服务未能从 SAML 项目存储中删除项目。如果在 15 分钟之内没有再次发生同样的问题,此监视器的运行状况状态将变回绿色状态。此监视器所生成的警报必须手动解除。
此事件可能表明项目存储服务本身存在问题或项目已过期。此事件的可能原因如下:
项目数据库连接字符串不正确,不能用于如当前配置所述连接到项目数据库服务器。
项目服务配置是不受支持的数据库配置:例如,如果您尝试启用项目服务并使用联合服务器场部署中的 Windows 内部数据库 (WID)。在场部署中,您只能使用远程 SQL Server 数据库。同样,在独立的联合服务器部署中,项目存储仅支持 WID。
项目没有过期。这意味着,根据配置的项目数据库清除间隔(5 分钟),项目服务未能从项目数据库中删除项目。
有关此事件原因的更多具体信息,请参阅此事件中所提供的其他信息。
查看此事件中提供的其他数据,以确定确切原因,并决定适当的解决方法步骤。此事件可能的解决方法如下:
确保项目存储服务器已正确配置。您可以通过执行 Get-ADFSProperties cmdlet 查看 ArtifactDbConnection 属性。如有必要,您可以通过将 ArtifactDbConnection 参数与 Set-ADFSProperties cmdlet 结合使用来对其进行修改。
确认正在使用正确的受支持项目数据库平台来为 AD FS 部署提供项目解析服务:独立的服务器部署对应 WID,场部署对应远程 SQL Server。
如果项目数据库连接字符串和所选数据库平台选择均正确,请验证项目存储服务器的网络和数据库连接。
Target | Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactService | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageRemoveOrExpirationErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageRemoveOrExpirationErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="RepeatedEventRaised" MonitorTypeStateID="RepeatedEventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<RepeatedComputerName>$Target/Host/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>$Target/Host/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices2012R2.FederationServer"]/ADFSEventLog$</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">250</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">289</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</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>3600</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>5</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
<TimerWaitInSeconds>900</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>