The below details how to configure an EzeScan Job or Route to use MicroSoft Office 365.

EzeScan 4.3.197 (Version 4 platform) or 5.0.28 (Version 5 platform) or above is required.

Firstly an App Registration is to be performed in the Azure Portal. This is to allow EzeScan to be able to connect to the mailbox to download email items.

Note: A registration by default will allow access to all mailboxes. Upon completion of the registration follow this link to restrict access to the mailbox (or mailboxes) that EzeScan require.

Perform App Registration

FAQ142-2.png

 

The administrator would choose the account type (this needs to be noted for EzeScan configuration later). We would recommend using Single Tenant.

FAQ142-3.png

The redirect URI needs to be configured. We recommend http://localhost (this needs to be noted for EzeScan configuration later)

FAQ142-10.png

The client secret needs to be created this needs to be noted for EzeScan configuration later.
Please note: When creating the secret, we require the secret value, not the secret ID. This needs to be copied upon creation as it can’t be retrieved again. If in error, delete and create a new secret.
 

FAQ142-5.png

 

The API permissions to be configured.

FAQ142-6.png

Select Microsoft Graph

FAQ142-7.png

 

Select Application permissions and choose:

  • Mail.ReadWrite
  • User.Read.All

FAQ142-8.png

Configured permissions

FAQ142-9.png

Once all this is completed the EzeScan configuration can be performed.

The following information needs to be noted to be passed on to whoever is responsible for configuring in EzeScan:

  • Tenant ID (If Single-Tenant ID)
  • Client ID
  • Client Secret (It is a good idea to internally document when this secrect will expire so you can update EzeScan in the future with the next one generated).
  • Redirect URI (should be http://localhost)

If possible. The Azure administrator can approve the registration. Otherwise it will be performed later in the EzeScan connection.

EzeScan Configuration

The next step is to configure EzeScan to connect to the mailbox.

This step will also require an Azure Administrator to grant consent to the new app registration (if not yet approved).

Note: If an Azure administrator is not configuring EzeScan, the person configuring EzeScan will provide a URL link for the Azure administrator to approve.

- Load EzeScan as an administrator

- Select Admin -> Jobs -> Import Tab or Admin -> Routing Import Tab

Functionality is added as Import Folder “Import Sources” as shown at right and is applicable to both an EzeScan Client and EzeScan Server configurations

Note: Previously you may have a IMAP Import Profile, and may be migrating to Office 365. Unitck the IMAP profile (for now) and click and plus icon to add a new connection

FAQ142-1.png

Click the plus icon to add a new connection and select Microsoft Office 365 outlook from the pull down list.

Change the OAuth Registration to Custom

Change the OAuth Registration Type to Single Tenant 

Set the Authorisation Type to Client Credentials

O365Settings.png

 

- Complete the Tenant ID, Client ID, Secret and Redirect URI (from the registration process).

- Then click on the ... for the admin consent. A web page will display asking for approval.

FAQ142-12.png

FAQ142-13.png

Once the wizard above has been completed this screen may return an error

This page isn’t working

localhost didn’t send any data.

ERR_EMPTY_RESPONSE

Close the tab and the connection has been completed.

The operator can then configure the rest of the Import Documents Settings below.

 

FAQ142-14.png

Note: If migrating from IMAP to Office 365, you can flick between the profiles to note the previous settings and then apply to the newly created Office 365 connection.

When complete you can leave the IMAP settings unticked or remove that profile completely.

 

For more information about this connection method please see the below Microsoft links which provide more information:

https://docs.microsoft.com/en-us/graph/auth-register-app-v2

https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-configure-app-access-web-apis

https://docs.microsoft.com/en-us/graph/auth-limit-mailbox-access (we recommend this link for restricting the app registration to the mailboxes only required for EzeScan use)

Direct link to FAQ