Sending email using client credential flow
Use the client credential flow to send emails from Microsoft Exchange Online.
Email account administrators, who are users that have the email_account_admin role, can configure ServiceNow AI Platform to send emails from an Microsoft Exchange Online tenant. The email account administrators can use SMTP by authenticating with a client ID and client secret or with certificates.
- Activate OAuth support
You can activate the Email:OAUTH support for IMAP, Microsoft Graph (Receiving), and SMTP plugin (com.glide.email.oauth) for Notifications if you have the admin role. - Configure client credential flow for SMTP OAuth2 using a client id and secret
Configure outbound email accounts in a ServiceNow instance using a client id and secret. - Register an OAuth provider
Use the information generated during the Microsoft Azure account configuration to register an application as an OAuth provider. - Configure client credential flow for SMTP OAuth2 using certificate-based authentication
Configure an OAuth application profile to authenticate using certificates for outbound email. - Create an email account with SMTP OAuth2.0
Create an email account from Microsoft Exchange Online with SMTP OAuth2.0.
Parent Topic:Advanced email setup