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: ; } } この記事では、ServiceNow でメールアカウントの OAuth 認証を設定する方法について説明します (例:Office 365 と IMAP)。 Office 365 のスコープと値の詳細については、OAuth2 を使用した Microsoft Office365 での SMTP および IMAP メールアカウントの構成を参照してください。 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: ; } } email OAuth プラグインを含むサポートされているすべてのリリース 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: ; } } インスタンスで email OAuth プラグイン (com.glide.email.oauth) を有効にします。タイプが「Connect to a third party OAuth Provider」の新しい OAUTH プロファイルを作成します。OAUTH エンドポイントの値に基づいてすべてのフィールドに値を入力します。メールプロバイダーの要求に応じてスコープを指定します。Office 365 を使用している場合は、アクセストークンとリフレッシュトークンの両方を取得するために、次のスコープを個別のエントリとして指定します。 https://outlook.office.com/IMAP.AccessAsUser.Allopenidoffline_access POST MAN から構成をテストして、パラメーターが正しいことと、トークンを取得していることを確認します。POST MAN テストが成功した場合は、OAuth プロファイルを新しく作成したメールアカウントに添付します。[Authorize Email Account Access] を選択して、メールアカウントのトークンを取得します。有効なリフレッシュトークンが利用可能である限り、スケジュール済みジョブ Refresh email access token は 3 分ごとに実行され、新しいアクセストークンを確認して取得します。スケジュール済みジョブを表示するには、次の URL に移動します:https://<instance_name>.servicenow.com/sysauto_script.do?sys_id=35faf162eb233100469a20425206fedc 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: ; } } Configure SMTP and IMAP email accounts with Microsoft Office365 using OAuth2.