ã“ã®ãƒ¢ãƒ‹ã‚¿ãƒ¼ã¯ã€OAuth èªè¨¼ã®ã‚¨ãƒ©ãƒ¼ã¨ãƒˆãƒ¼ã‚¯ãƒ³è¦æ±‚ã®å¤±æ•—ã‚’ã‚ャプãƒãƒ£ã—ã¾ã™
ã“ã®ãƒ¢ãƒ‹ã‚¿ãƒ¼ã¯ã€OAuth è¦æ±‚ã§ç¹°ã‚Šè¿”ã•ã‚Œã‚‹ã‚¨ãƒ©ãƒ¼ã‚’確èªã—ã¾ã™ã€‚
OAuth è¦æ±‚ã®ã‚¨ãƒ©ãƒ¼ãŒ 15 分以内ã«å†ç™ºã—ãªã„å ´åˆã¯ã€ã“ã®ãƒ¢ãƒ‹ã‚¿ãƒ¼ã®ãƒ˜ãƒ«ã‚¹çŠ¶æ…‹ã¯ç·‘色ã®çŠ¶æ…‹ã«æˆ»ã‚Šã€é–¢é€£ä»˜ã‘られã¦ã„るアラートã¯è‡ªå‹•çš„ã«é–‰ã˜ã‚‰ã‚Œã¾ã™ã€‚
OAuth è¦æ±‚ã®ã‚¨ãƒ©ãƒ¼ã«ã¯æ¬¡ã®ã‚ˆã†ãªã‚‚ã®ãŒè€ƒãˆã‚‰ã‚Œã¾ã™ã€‚
1.èªè¨¼è¦æ±‚ã«ã€æ£ã—ããªã„クライアントã€ãƒªãƒ€ã‚¤ãƒ¬ã‚¯ãƒˆ URLã€ã¾ãŸã¯ãƒªã‚½ãƒ¼ã‚¹ パラメーターãŒå«ã¾ã‚Œã¦ã„る。
2.トークンè¦æ±‚ã«ã€æ£ã—ããªã„ã¾ãŸã¯å¤ã„èªè¨¼ã‚³ãƒ¼ãƒ‰ã€ã¾ãŸã¯æ›´æ–°ãƒˆãƒ¼ã‚¯ãƒ³ パラメーターãŒå«ã¾ã‚Œã¦ã„る。
3.è¦æ±‚ã®å‡¦ç†ä¸ã«ã€æœªå‡¦ç†ã®ä¾‹å¤–ãŒç™ºç”Ÿã—ãŸã€‚
上記ã®åŽŸå› (1) ã®å ´åˆã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆ アプリケーションã®æ‰€æœ‰è€…ã«å•ã„åˆã›ã€AD FS Windows PowerShell コマンドレットを使用ã—ã¦ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãŠã‚ˆã³è¨¼æ˜Žæ›¸åˆ©ç”¨è€…ã®ä¿¡é ¼ã‚ªãƒ–ジェクトã®æ§‹æˆã‚’確èªã—ã¦ãã ã•ã„。
上記ã®åŽŸå› (2) ã®å ´åˆã€ãƒˆãƒ©ãƒ–ルシューティングã®è©³ç´°ã«ã¤ã„ã¦ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆ アプリケーションã®æ‰€æœ‰è€…ã«å•ã„åˆã›ã¦ãã ã•ã„。è¦æ±‚ã«å¤ã„èªè¨¼ã‚³ãƒ¼ãƒ‰ã¾ãŸã¯æ›´æ–°ãƒˆãƒ¼ã‚¯ãƒ³ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆ アプリケーションã«ã‚³ãƒ¼ãƒ‰ã®æ¬ 陥ãŒã‚ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚
åŽŸå› (3) ã®å ´åˆã¯ã€è©³ç´°ã«ã¤ã„ã¦ã€ã‚¤ãƒ™ãƒ³ãƒˆ ãƒã‚°ã®ä¾‹å¤–メッセージを確èªã—ã¦ãã ã•ã„。
Target | Microsoft.ActiveDirectoryFederationServices.2016.Authentication | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
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.AuthenticationOAuthRequestFailedErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices.2016.Authentication" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices.2016.AuthenticationOAuthRequestFailedErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="RepeatedEventRaised" MonitorTypeStateID="RepeatedEventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<RepeatedComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>AD FS/Admin</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1020</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1021</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>(^AD FS$)</Pattern>
</RegExExpression>
</Expression>
</And>
</RepeatedExpression>
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>60</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>10</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
<TimerWaitInSeconds>900</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>