成品資料庫連線開啟錯誤

Microsoft.ActiveDirectoryFederationServices.2016.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor (UnitMonitor)

Knowledge Base article:

摘要

此監視器指出 Federation Service 無法連線至 SAML 成品存放區。如果 15 分鐘內沒有再次發生相同問題,此監視器的健全狀況狀態會變回綠色狀態。此監視器產生的警示必須手動解決。

原因

發生此事件的可能原因如下:

還有,此事件可能包含對於 SQL 特定的疑難排解有用的其他詳細資料:例如,若目前 AD FS 服務身分識別的權限或存取權未建立。

解決方式

確定成品資料庫已正確設定。如有需要,請使用具有 ArtifactDbConnection 參數的 Set-ADFSProperties Cmdlet (包含於 AD FS 的 Windows PowerShell Cmdlets 中) 來修改連接字串。疑難排解成品資料庫的連線性。

若是進行 SQL 特有的權限疑難排解,請參閱 AD FS 疑難排解指南 中<進行 AD FS 疑難排解之前要檢查的事項>一節內,有關確認 AD FS 服務使用者帳戶是否有權限可存取組態存放區的程序。 您可以重複使用當中提供用來確認對成品存放區 (AdfsArtifactStore) 而非組態存放區 (AdfsConfiguration) 的權限之相同程序。

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices.2016.ArtifactService
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
成品資料庫連線開啟錯誤
無法連線到成品資料庫。檢查 [警示內容] 索引標籤以取得事件詳細資料。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices.2016.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices.2016.ArtifactService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices.2016.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>$Target/Host/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices.2016.FederationServer"]/ADFSEventLog$</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">286</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>900</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>