Błąd synchronizacji bazy danych konfiguracji usług AD FS

Microsoft.ActiveDirectoryFederationServices.2016.WIDSyncConfigurationDatabaseSynchronizationSyncErrorMonitor (UnitMonitor)

Knowledge Base article:

Podsumowanie

Nie nastąpiła synchronizacja danych między podstawowym i pomocniczym serwerem federacyjnym.

Ten monitor zmieni stan na Żółty, jeśli zdarzenie o identyfikatorze 344 wystąpi więcej niż trzy razy w ciągu 30 minut.

Jeśli synchronizacja danych z podstawowego serwera federacyjnego do pomocniczego serwera federacyjnego zostanie ukończona pomyślnie, monitor zmieni stan na Zielony, a pierwotny alert krytyczny zostanie automatycznie rozwiązany.

Przyczyny

Zwykle to zdarzenie jest wynikiem błędów podczas synchronizacji. Oto możliwe szczególne przyczyny tego zdarzenia:

Zapoznaj się z dodatkowymi danymi w zdarzeniu, aby ustalić rzeczywistą przyczynę. Ponadto, jeśli to zdarzenie wystąpi dla dowolnego rodzaju niepowodzenia synchronizacji, sprawdź odpowiadający mu błąd (identyfikator zdarzenia 346) na serwerze partnera synchronizacji.

Rozwiązania

Upewnij się, że podstawowy serwer federacyjny jest dostępny i że tożsamość konta usługi z tego komputera jest zgodna z tożsamością konta usługi z podstawowego serwera federacyjnego.

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices.2016.WIDSync
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.RepeatedEventLogSingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Błąd synchronizacji bazy danych konfiguracji
Nie nastąpiła synchronizacja danych między podstawowym i pomocniczym serwerem federacyjnym.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices.2016.WIDSyncConfigurationDatabaseSynchronizationSyncErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices.2016.WIDSync" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogSingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices.2016.WIDSyncConfigurationDatabaseSynchronizationSyncErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="RepeatedEventRaised" MonitorTypeStateID="RepeatedEventRaised" HealthState="Warning"/>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>$Target/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">348</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<RepeatedComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>$Target/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices.2016.FederationServer"]/ADFSEventLog$</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">344</Value>
</ValueExpression>
</SimpleExpression>
</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>1800</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>3</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
</Configuration>
</UnitMonitor>