SMTP email server connections can be authenticated using OAuth or basic authentication.
To configure the email server using SMTP, choose any one of the following authentication types:
If you are using OAuth with Microsoft Azure as your mail provider, find the Azure tenant ID, Client ID, and Client Secret using the steps listed below:
In the Redirect URI field, select Web from the drop-down and paste the following OAuth link (https://identitymanager.manageengine.com/api/public/v1/oauth/redirect) or type in the local host redirect API in the following syntax:
protocol://localhost:port_number/context_if_any/RestAPI/WC/OAuthSetting
Sample: http://localhost:8080/RESTAPI/WC/OAuthSetting
If you have added just the local host as your redirect URI, then the product must be accessed via the local host to configure the mail server.
If you are using OAuth with Google as your mail provider, find the Google Workspace Client ID and Client Secret using the steps listed below:
In the Authorized redirect URIs field, paste this OAuth link (https://identitymanager.manageengine.com/api/public/v1/oauth/redirect) or type the local host redirect API in the following syntax:
protocol://localhost:port_number/context_if_any/RestAPI/WC/OAuthSetting
Sample: http://localhost:8080/RESTAPI/WC/OAuthSetting
If you are using basic authentication with Gmail as the email server and you have 2-Step Verification enabled for your Google Account, you will need to generate an App Password to receive email alerts from ADAudit Plus.
An App Password is a 16-digit passcode that is required for a device or an application to access your Google Account. Obtain the 16-digit code by following the steps below:
In the Email ID for Notifications field, specify the email address to which the notification emails are to be sent.
Note: When entering multiple addresses, use commas to separate them.
If Basic Authentication is chosen, type in the Username and Password required to access the mail server. You can choose to leave the fields empty if the mail server does not mandate authentication.
Note: If you are using basic authentication with Gmail as your mail server, enter the Gmail credentials of the email provided in the From Address field: