Solutions

Integration of SMTP using Modern auth Office 365

Sneha Joshi Oct-12th, 2022 15:01 0 0

To begin with, please log in to the below link:

URL :- https://admin.microsoft.com/Adminportal


Step I - App creation

Create an app using the below link:

Link:- https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade

From the left-hand panel, select Azure Active Directory:

Go to the left-hand panel and select app registrations:


Now click on the ‘new registrations’ option at the top:

Add the required details and click on the registration tab at the bottom:

Once the app is created, you will get the following details: (Kindly save it for future use)

Step II – App Authentication

Go to authentication under the left hand panel and select to add a platform:

When you click on add a platform, use the web browser option as shown below:

Add the redirection URL (https://yourdomainname.com/outlook.php) as shown below:

Note: Please make sure this redirection URL should have SSL installed.

Go to authentication under the left-hand panel and select the two checkboxes to issue tokens:

Step III – Creation of Client Secrete ID

Go to certificates and secrets from the left-hand panel:

For adding a new client secret ID, add a description and select the duration:

You will get a client secret value as shown below: (Kindly save it for future use)

Step IV – Request Permissions

Now go to API permissions under the left-hand panel and select the option to add permission:

From the option to request API permissions, select Microsoft Graph:

Go to the ‘delegated permission’ option to select the permissions:

Now select the below permissions from the list of delegated permissions:

Now select the below permissions from the list of application permissions:


You will see the list of permissions under configured permissions.

Now select the ‘grant permission consent for (your app name)’ option:

On granting all permissions, you will see the list as shown below:

Step V – Add details to your helpdesk

After getting all the permissions granted, go to your helpdesk portal and add the details.

Go to your helpdesk portal and admin settings>>email>>SMTP

Select to add a new SMTP from the hamburger icon on the top right corner.

Add the email ID that you wish to configure under SMTP.

Add the rest of the details as shown below:

From the SMTP listing where all the email IDs are displayed, confirm the email ID that you have configured under the SMTP.

There is a drop-down option at the right corner from where you can select to authenticate the SMTP.

Please refer to the screenshot below:


Once you click on the authenticate option, you will be redirected to Microsoft office 365 where you need to put the email ID that you have configured for the SMTP.

Please refer to the screenshot below:


Once the authentication process is complete, you will find the SMTP configured as below:


Please note: During authentication please make sure you add the credentials of the same Microsoft Office 365 account that you have configured for incoming/outgoing email.

Vote

Was this article helpful?
0 out of 3 found this helpful