パスワードリセット後にメールアカウントの OAuth トークン期限切れエラーを解決する方法Summary<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } OAuth 対応メールアカウントでパスワードリセットを行うと、メールの送信が停止し、接続テストが「OAuth トークンが存在しないか期限が切れています」というエラーで失敗する。 症状は次のとおりです。 インスタンスへのメール送信が突然停止した。OAuth メールアカウントのパスワードを変更した後、メールの送信が停止する。接続テストでトークンが無効になったというエラーが返される。 この問題を解決するには、既存の OAuth トークンを削除し、メールアカウントを再認可します。 Facts<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } ローカルアドミンアカウントを使用して、キャッシュされた SSO 認証情報が認証中に使用されないようにします。SSO アカウントで ServiceNow にサインインすると、メールアカウントの認証情報の代わりに SSO 認証情報が使用され、メールの送信が妨げられます。SSO アカウントを使用してログインする必要がある場合は、メールアカウントのユーザーとしてログインします。メールアカウントには、ユーザー [sys_user] レコードが必要です。アドミンセンターの復旧 (ACR) がアクティブな場合は、ACR を一時的に無効にして、ローカルアドミンアカウントへの全権限を復元できます。再アクティブ化後、ACR は既に登録されているアカウントを使用します。 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } サポートされているすべてのリリース Instructions<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 既存の OAuth トークンを削除します。 [ All > System OAuth > Manage Tokens に移動します。https://<instance_name>.service-now.com/now/nav/ui/classic/params/target/oauth_credential_list.do 歯車アイコンを選択して列を構成し、 Type 列を追加します。メールアカウントに関連付けられているリフレッシュトークンとアクセストークンを検索します。 注:トークンは、メールアカウントにリンクされているアプリケーションレジストリと同じ名前です。これは、[メールアカウント] > [OAuth プロファイル] にあります。 Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } メールアカウントの作成 メールで OAuth 2.0 を有効にする OAuth 2.0 を使用した Microsoft Office 365 の SMTP および IMAP メールアカウントの構成