Solutions

Integration of Email queue using Modern auth Office 365

Sneha Joshi Oct-12th, 2022 14:31 1 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/office365.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>>email queue

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

Add the email ID that you wish to configure as the email queue.

Add the rest of the details as below:

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

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

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 email queue.

Please refer to the screenshot below:


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

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?
1 out of 3 found this helpful