Skip to main content
Skip table of contents

Configuring Discovery Search with Microsoft SharePoint Online

Register the Discovery Search application in SharePoint before connecting them within the Discovery Search Administration website.

The integration of SharePoint with Discovery Search requires an Azure AD connection.


Registering the Discovery Search app in SharePoint Online

  1. As a SharePoint Administrator, go to the following URL: https://<tenant>-admin.sharepoint.com/_layouts/15/appinv.aspx

  2. Fill in the App Id with the value of the Application (client) ID created when the Discovery Search app was registered in the Azure Portal

  3. Click Lookup to lookup the rest of the details

  4. Fill in the App Domain with your top level domain (for example, https://shinydocs.com)

  5. Fill in the Permission Request XML with the following:

    CODE
    <AppPermissionRequests AllowAppOnlyPolicy="true">
        <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="Read" />
     </AppPermissionRequests>

The AppPermissionRequests element grants Read access to the SharePoint site for the app registration setup. This can be pasted as is, as the user’s permissions will be respected with this setting.

The final result should look like this:

Establishing Trust Between SharePoint and Discovery Search

  1. Click Create to create the association between SharePoint and the App registration.

  2. If you are prompted to trust Discovery Search, click Trust It to complete the registration.

Configuring SharePoint Online in Discovery Search

  1. Open Discovery Search Admin

  2. Select Application settings at the bottom of the navigation sidebar

  3. Select Microsoft® Online settings

  4. In the SharePoint Online section, enter the URL of your SharePoint Online instance (for example, https://tenant.sharepoint.com)

  5. Update Permission chunk size with the number of index items that are permission checked upon retrieval from the index

  6. Save changes

  7. Restart the Discovery Search application in IIS

Increasing the Permission chunk size value may improve performance, however it runs the risk of being throttled by SharePoint Online.

Validating the integration of SharePoint with Discovery Search

An index of the SharePoint data must exist before Discovery Search can be used to find documents. Ensure a crawl with Shinydocs™ Cognitive Toolkit against the SharePoint instance has been completed before testing.

  1. Open Discovery Search

  2. Click the dropdown menu in the top-right corner

  3. Select the Reconnect option under Microsoft Online

  4. A Microsoft Online Login popup displays. Once you have logged in, a success popup displays.

  5. Close the popup

  6. 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.