Configuring Microsoft Online Settings
Connect Discovery Search with Microsoft Azure Active Directory, enabling the search of SharePoint Online and Exchange Online.
This article assumes that you have already registered Shinydocs software with Azure AD as part of your Cognitive Toolkit setup. Refer to Setting Up Azure Authentication in the Cognitive Suite documentation.
Please ensure Token Authorization has already been configured in Azure AD as described in Preparing for Integration of Microsoft Online Applications with Discovery Search.
Configuring Azure AD
Open Discovery Search Admin
Select Application settings at the bottom of the navigation sidebar
Select Microsoft® Online settings
Fill in the following settings
Azure AD client ID: This can be found on the overview page of the App registration in the Azure portal.
Azure AD tenant ID: This can be found on the overview page of the App registration in the Azure portal.
Azure AD secret
Azure AD Redirect URL: This is the URL that Azure AD will redirect to once the user is authenticated properly. This should be in the form of http[s]://[DiscoverySearchServerName:Port]/azuread/success. Note: /azuread/success is mandatory after you have specified the Discovery Search server name and port.
Save changes
Configuring SharePoint Online
For more information on using the Cognitive Toolkit to crawl SharePoint refer to Crawling SharePoint Online and Best Practices: Crawling Microsoft SharePoint.
In the SharePoint Online section, enter the URL of your SharePoint Online instance
Update Permission chunk size with the number of index items that are permission checked upon retrieval from the index
Save changes
Restart the Discovery Search application in IIS
Reduce the Permission chunk size if you are experiencing slow performance while connecting to SharePoint.
If the system does not experience any rate limits or performance issues then you can slightly increase the chunk size to get more results per load.
Note that we recommend the default value (50).
Validating the Integration of SharePoint with Discovery Search
Open Discovery Search
Click the dropdown menu in the top right corner
Select the Reconnect option under Microsoft Online
A Microsoft Online Login popup displays. Once you have logged in, a success popup displays.
Close the popup
Execute a search in Discovery Search for items that are in SharePoint online
If you are already logged into SharePoint, the login prompt in Step 4 is skipped.
Configuring Exchange Online
To improve search performance and enforce user permission-based access to content, we recommend adding an Exchange index. Ensure a crawl with Shinydocs™ Cognitive Toolkit 2.10 or later is run against the Exchange instance and an index is created before configuring Exchange Online with Discovery Search.
In the Exchange Online section, enter the URL of your Exchange Online instance
Update Permission chunk size with the number of index items that are permission checked upon retrieval from the index
(optional but recommended) Under Email filtered indices, click + Add Index
Enter the name of the index derived from Exchange Online
Save changes
Restart the Discovery Search application in IIS
Reduce the Permission chunk size if you are experiencing slow performance while connecting to Exchange.
If the system does not experience any rate limits or performance issues then you can slightly increase the chunk size to get more results per load.
Note that we recommend the default value (50).
Validating the Integration of Exchange with Discovery Search
An index of the Exchange data must exist before Discovery Search can be used to find emails. Ensure a crawl with Shinydocs™ Cognitive Toolkit against the Exchange instance is completed before testing.
Open Discovery Search
Click the dropdown menu in the top right corner
Click the Reconnect option under Exchange Online
A Microsoft Online Login popup displays. Once you have logged in, a success popup displays.
Close the popup
Execute a search in Discovery Search for emails that are in Exchange online and that you own
Configuring OneDrive
In the OneDrive section, update Permission chunk size with the number of index items that are permission checked upon retrieval from the index
Under OneDrive filtered indices, click + Add Index
Enter the name of the index derived from OneDrive
Save changes
Restart the Discovery Search application in IIS
If an index (or indices) is not specified for OneDrive here no search results will be returned, even if it is configured as a Source for the Role that the user belongs to.
Reduce the Permission chunk size if you are experiencing slow performance while connecting to OneDrive.
If the system does not experience any rate limits or performance issues then you can slightly increase the chunk size to get more results per load.
Note that we recommend the default value (50).
Validating the Integration of OneDrive with Discovery Search
Open Discovery Search
Click the dropdown menu in the top right corner
Click the Reconnect option under OneDrive
A Microsoft Online Login popup displays. Once you have logged in, a success popup displays.
Close the popup
Execute a search in Discovery Search for in OneDrive that you own