anubhavkapoor76
ServiceNow Employee
ServiceNow Employee

Overview

 

So there are few organizations who wants to restrict the way how do emails reach in ServiceNow. One way of doing is to relay/delay the email which are sent directly to ServiceNow Inbox. 

 

This process contains steps to configure a separate email account type. Also this process does not affect the way emails are sent out from ServiceNow platform.

 

Pre-requisites

 

Azure account subscription & ServiceNow user with role 'email_account_admin'

 

Instructions

 

  • Activate the plugin 'Email - Support for Email Processing by Microsoft Graph API' (Plugin id: com.glide.email.graph)

anubhavkapoor76_0-1730067017675.png

 

anubhavkapoor76_0-1730129995037.png

 

 

  • Select "New Registration"

 

anubhavkapoor76_0-1730133269681.png

 

  • Enter details as:
    • Name of the application
    • Supported account types 
    • Redirect URI

anubhavkapoor76_0-1730181025762.png

Post registration, the app looks like as below (note down the application ID which will be used later)

 

anubhavkapoor76_1-1730181271618.png

 

  • In the Azure portal, enable the Mail.ReadWrite permission. After permissions are added, its displayed as below

 

anubhavkapoor76_3-1730182020000.png

 

 

  • In Azure portal, add a client secret as below

 

anubhavkapoor76_4-1730182253018.png

 

  • Then copy the OAuth 2.0 token endpoint (V2)  from Azure portal as below

 

anubhavkapoor76_7-1730182457233.png

 

 

The last step would be to configure the email account in ServiceNow which will use the OAuth profile we configured above to retrieve the emails in queue from the Exchange mailbox. 

 

anubhavkapoor76_0-1730296327410.png

 

As a part of this article I do not have Inbox to send email to hence that part would be skipped!

 

 

References:

 

a) ServiceNow Docs: Reading email using Microsoft Graph

 

Please rate this article helpful and provide your feedback to improve it.

 

Cheers!

Anu

2 Comments