此監視器指出 Federation Service 無法從 SAML 成品存放區移除成品。如果 15 分鐘內沒有再次發生相同問題,此監視器的健全狀況狀態會變回綠色狀態。此監視器產生的警示必須手動解決。
此事件可表示成品存放服務本身具有問題,或其為過期的成品。此事件的部分可能原因包括以下:
成品資料庫連接字串錯誤,且無法如其目前的設定用來連線至成品資料庫伺服器。
成品服務組態為不受支援的資料庫組態:例如,若您嘗試啟用成品服務,且正在使用同盟伺服器陣列部署中的 Windows 內部資料庫 (WID)。在陣列部署中,您僅能使用遠端 SQL Server 資料庫。同樣地,在獨立同盟伺服器部署中,成品儲存空間僅支援 WID。
成品無法過期。這表示根據其設定的成品資料庫清除間隔 (5 分鐘),成品服務無法從成品資料庫移除成品。
如需有關此事件原因的詳細特定資訊,請參閱事件中所提供的其他資料。
請檢閱此事件中提供的其他資料以判斷確切原因,並決定適當的解決步驟。此事件的部分可能解決方式包括以下:
確定成品存放伺服器已正確設定。您可以執行 Get-ADFSProperties Cmdlet 來檢閱 ArtifactDbConnection 內容。如有需要,您可以透過 Set-ADFSProperties Cmdlet 使用 ArtifactDbConnection 參數對其進行修改。
確認您正使用受支援的成品資料庫平台,以為您的 AD FS 部署提供成品解析服務:適用於獨立伺服器部署的 WID,或適用於陣列部署的遠端 SQL Server。
如果成品資料庫連接字串和所選的資料庫平台正確,請確認網路及資料庫與成品存放伺服器之間的連線性。
Target | Microsoft.ActiveDirectoryFederationServices.2016.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.ActiveDirectoryFederationServices.2016.ArtifactServiceArtifactStorageRemoveOrExpirationErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices.2016.ArtifactService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices.2016.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.ActiveDirectoryFederationServices.2016.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>