Authorizing the Coveo Connector to Access the Exchange Online Mailboxes of Your Azure AD Users
Note: In Azure AD, users with an on-premises Exchange plan and users with an Exchange Online plan cannot be distinguished, meaning that it is currently not possible via a Microsoft API to ONLY list Exchange Online users/mailboxes. However, using the procedure outlines in this topic, the content of all Exchange Online mailboxes of your organization will be searchable and accessible by their owner. Moreover, during the indexing process, all local mailboxes, which are owned by on-premises Exchange users, are ignored.
The OAuth 2.0 protocol is a protocol used for granting access to external applications without exposing the user's real credentials. For the connector to be able to connect to your Exchange Online users, it must acquire a client ID, a key, a Windows Azure AD Graph API endpoint, and an OAuth 2.0 token endpoint.
To authorize the connector to access the Exchange Online mailboxes of your Azure AD users
-
Log in to the Windows Azure management portal with an administrator account.
-
(When you do not have a Microsoft Azure account) Sign up to the Windows Azure management portal via the Office 365 admin center (see Sign up for an Azure Subscription with Your Office 365 Account).
-
-
In the Windows Azure management portal, in the navigation bar on the left, click Azure Active Directory.
-
In the [Directory tenant name] pane, in the navigation bar on the left, under Manage, click App registrations.
-
In the [Directory tenant name] - App registrations pane, in the action bar, click Endpoints.
-
In the Endpoints pane:
-
Take note of the following information that you will also need when configuring the source:
-
Microsoft Azure AD Graph API Endpoint
Note: The endpoint value is needed when you later configure the Microsoft Exchange source (see Configuring and Indexing Microsoft Exchange Sources for an Online Deployment).
-
Note: The endpoint value is needed when you later configure the Microsoft Exchange source (see Configuring and Indexing Microsoft Exchange Sources for an Online Deployment).
-
-
Click the X icon.
-
-
Back in the [Directory tenant name] - App registrations pane, in the action bar, click New application registration.
-
In the Create pane that appears on the right, enter the information related to your application:
-
In the first box, enter a descriptive Name for the application.
-
Under Application type, click the drop-down list menu, and then select Web app / API.
-
In the Sign-on URL box, enter http://localhost.
Note: This parameter is not used by the application, but cannot be left empty.
-
At the bottom of the pane, click Create.
-
-
Back in the [Directory tenant name] - App registrations pane, click the application you just created.
-
In the Settings pane that appears, click Properties.
-
In the Properties pane:
-
Take note of the Application ID.
Note: The Application ID value is needed when you later configure the Microsoft Exchange source (see Configuring and Indexing Microsoft Exchange Sources for an Online Deployment).
-
Next to Multi-tenanted, ensure No is selected.
-
Click Save.
-
-
In the Settings pane, click Required permissions.
-
In the Required permissions pane, click Windows Azure Active Directory (Microsoft.Azure.ActiveDirectory).
-
In the Enable Access pane that appears:
-
Click the Application permissions check box.
-
Click the Read directory data checkbox, and clear the other checkboxes.
-
Click Save.
-
-
Back in the Required permissions pane, click Grant permissions, and then in the confirmation prompt click Yes.
-
In the Settings pane, click Keys.
-
In the Keys pane:
-
In the first box on the left, enter a Key description.
-
Click the Duration drop-down list menu, and then select Never expires.
-
Click Save.
-
Upon successful configuration, your key Value appears. Copy and store this value that you will need when configuring your Exchange source in a secure location.
Important: The key value is only displayed once and is not retrievable afterwards.
Note: The key value is needed when you later configure the Microsoft Exchange source (see Configuring and Indexing Microsoft Exchange Sources for an Online Deployment).
-
Click the X icon.
-
What's Next?
Configure your Microsoft Exchange source (see Configuring and Indexing Microsoft Exchange Sources for an Online Deployment).