OAuth メールを設定する場合、ジョブ [メールアクセストークンの更新 (Refresh Email Access Token)] を正しく実行するには、アドミンユーザーロールが必要です。Issue <!-- /*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 認証を使用する場合、ジョブ メールアクセストークンの更新 が「admin」ユーザーに関連付けられ、admin ロールが正しく機能するように関連付けられます。 この問題は、次の理由で特定されます。 OAuth SMTP/IMAP/POP3 接続の有効期限が切れると、メールリーダー/送信者の接続が無効になります。例:OAuth アクセストークンが存在しないか、期限が切れています。メールアカウント = xxxxxxインスタンスノードログに次のようなエラーが表示される場合があります。 worker.0 worker.0 txid=20038682db9b Name: Refresh Email Access Tokenworker.0 worker.0 txid=20038682db9b 6816f79cc0a8016401c5a33be04be441 can't read table oauth_credential アドミンアカウントでトークンを手動で更新すると、正しく機能します。「アドミン」ユーザーにはアドミンロールがありません。メールアクセストークンの更新ジョブは、 実行方法に関連付けられています。: システムアドミニストレーター (admin ユーザー) 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: ; } } Cause<!-- /*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 メールプラグインをインストールしている場合、ジョブは次の場所にあります: /sysauto_script_list.do?sysparm_query=name%3DRefresh%20Email%20Access%20Token%5Eactive%3Dtrue&sysparm_first_row=1&sysparm_view= 通常、admin ユーザーは admin ロールを介してoauth_credentialテーブルにアクセスできます。このインスタンスでは、admin ユーザーから admin ロールが削除されています。 Resolution<!-- /*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: ; } } いくつかの推奨される解決策があります。 admin ロールを admin ユーザーに復元します。admin ロールを持つユーザーで実行するように メールアクセストークンの更新 ジョブをカスタマイズします。oauth_credentialテーブルに、特にユーザーにアクセス権を付与する関連 ACL を作成します。これは、「メールアクセストークンの更新」ジョブで使用できます。