Overview
This external connection Allows connectivity to Microsoft 365 mailboxes via the Graph API which is part of the Office suite of applications.
Authentication Types
There are ultimately two pathways for enabling the connection of EzeScan Cloud to a mailbox: inbuilt or custom.
|
Type |
Description |
|---|---|
|
Inbuilt |
The inbuilt OAuth registration is the quickest way to start importing emails from an Exchange Online mailbox. In order to configure this mode, you will need to get a domain administrator to provide consent for our application registration to read and write data in your tenancy. |
|
Custom |
A custom OAuth registration provides more granular configuration options around security as your administrator is able to manage all of the settings of the Application Registration in Azure. In order to configure this mode, you will need a domain administrator to create a Custom Application Registration in the azure portal as well as provide you with the associated details to connect to that registration. They will also need to provide consent for your application registration to read and write data in your tenancy.
|
Inbuilt Settings
|
Setting |
Description |
|
Allow Shared Mailbox |
Tick this to also request the relevant Shared Mailbox Permissions
With this enabled the scopes above are requested in addition to:
|
|
OAuth Session |
Click the authorize button, if using an authentication method that requires interactive login then a Microsoft 365 login window will be displayed.
If it’s the first time connecting one of our products to your Microsoft 365 tenancy then an administrator will need to approve the connection, and you will see the following screen:
You will then see the following screen:
Please contact your administrator and have them navigate to the Azure Portal > Enterprise Applications > Admin consent requests and then approve the request for “EzeScan Office365 Connector”.
Once the connection has been approved by your tenant administrator navigate back to the connection and click the Authorize button again. If for some reason you have an OAuth Session with the status of “Initial” then click the Delete Session button.
If the connection is successful, then your OAuth Session status window will look like the following:
The email displayed in the User section must either be be the mailbox you wish to import from or have access to the target shared mailbox you wish to import form. Note: When configuring a connection to an on-premises environment, this error may be displayed. If encountered, submit a Support ticket and provide a screenshot containing the full URI. The URI will need to be registered by the EzeScan Support team, who will confirm completion through the support ticket.
|
Custom Authorization Settings
|
Setting |
Description |
|
Grant Type |
This integration supports the following grant types: Authorization Code In Authorization Code mode the application redirects to Microsoft for the user to login to their Office 365 account. This grant type should be selected when the user account has access to the mailbox you wish to import emails from. Client Credentials In Client Credentials mode the application is authenticated using a client Id and corresponding secret. Generally used for server-to-server or background communication. The end user is never asked to directly Authenticate with Office 365. This grant type should be selected when:
|
|
Tenant Id |
The Tenant Id for the connection |
|
Client Id |
The Client Id for the connection |
|
Client Secret |
Client secret to connect to Microsoft Graph API. |
See instructions for Setting up Custom Application Registration in Azure here