Introduction

This page explains the configuration of Oauth2 methods in any azure tenant to allow a jtel ACD E-Mail Inbox to receive mails from a Office365 Mail User. 

Create an application

Redirect URL

The redirect URL should point to your instance.

https://<Jtel Portal Host>/CarrierPortal/pages/acd/inbox/AcdInboxes.edit.xhtml

Client Secret

Create a client secret and store it in a secure place. 

The secret can only be copied once, so make sure you save it before exiting the view for the last time.

API permissions

Add the following permissions to the App and authorize this as admin.

 API / Permissions nameTypeDescriptionAdmin consent requiredStatus

IMAP.AccessAsUser.All

Delegated

Read and write access to mailboxes via IMAP.

No

 Granted for jtel GmbH

Mail.Read

Delegated

Read user mail

No

 Granted for jtel GmbH

Mail.ReadWrite

Delegated

Read and write access to user mail

No

 Granted for jtel GmbH

Mail.Send

Delegated

Send mail as a user

No

 Granted for jtel GmbH

MailboxFolder.ReadWrite

Delegated

Read and write a user's mailbox folders

No

 Granted for jtel GmbH

SMTP.Send

Delegated

Send emails from mailboxes using SMTP AUTH.

No

 Granted for jtel GmbH

User.Read

Delegated

Sign in and read user profile

No

 Granted for jtel GmbH

Configure mail box in portal.

First, collect and write down clientID and tenantID from the overview.

Then configure the data in the portal as follows in any existing inbox. If you need to create a new inbox, do that and save it first. After editing it again, the options to set the token will appear.

Existing Inbox

If you are editing an existing inbox, make sure to remove existing passwords to ensure that Oauth2 is used. If there are any passwords left in the configuration, the system will use Base Authentication


FeldValue exampleExplanation
ID1Set automatically by the system
NameE-Mail AddressThe name of the ACD Inbox
Email Addresssupport@jtel.deThe E-Mail address of this inbox
External Email Addresssupport@jtel.deThe E-Mail address of this inbox which will be visible to external parties.
Binding ProtocolIMAP / IMAPSThe protocol used.
Server Nameoutlook.office365.comMicrosoft mail server
IMAP Port993Port for IMAP mail.
User namesupport@jtel.deAuthentication credentials for the Office 365 user.
Entra ID token
Options Set token and Clear Token to update the Azure credentials
IMAP SSLOffSSL not required.
SMTP Hostsmtp.office365.comOffice 365 SMTP server
SMTP Port587
SMTP SSLOffSSL not required.
SMTP User Namesupport@jtel.deAuthentication credentials for the Office 365 user.
SMTP Password
Set password or clear password

The rest of the settings can be viewed here Inboxes and edit e-mails

Press Save

You will be prompted to login to grant access to the mail box. After this, you can activate the Inbox and send a test email. Explanation of a test-case can be found Testing IMAP Inbox Extended Mail Client




  • No labels