SharePoint

Introduction

Connect your SharePoint source to Aiimi Insight Engine to make the most of your data. Once you have selected a Source System type more detail will expand to customise this.

General

  1. Select the type of authentication to use when connecting to SharePoint from Authentication Mode.

  2. Choose the credentials to use, this will contain both the Username and Password used to connect to SharePoint.

  3. If your SharePoint Online does not have a Username and Password you must use a secret. From Select Credential (Secret Only) select the matching secret credential for your SharePoint.

    • You will need to create a credential "SecretOnly" for it to appear in this list.

  4. Enter the SharePoint online Client ID to use.

  5. Enter the root URL of the site collection in Site Collection URL that needs crawling.

    • Formatted https://[site]-admin.sharepoint.com

  6. If your site collections do not match the Site Collect Lists, make sure you update these.

    • Do not include O365

Inclusions and Exclusions

  1. Choose the sites within the root collection to crawl.

    • Enter in specific Sites or leave blank to crawl all sites.

  2. If sites need excluding from the Crawl add them to Sites to Exclude.

  3. Libraries can be excluded from the Crawl by adding them to the Excluded Libraries list.

    • The default excluded libraries can be removed or edited as needed.

  4. Anything added to Included Libraries will crawled.

    • This list overrides any exclusions if there is an overlap.

  5. Add extra Permission Groups to those from the security sync. Allows SharePoint groups in content permissions.

  6. Exclude Permission groups to ignore them from every file.

    • The default Excluded Permission Groups can be removed or edited as needed.

Crawl Details

  1. To reduce timeouts you can change the Page Load Throttling.

    • By changing this you can increase the wait time between Chromium Page loads.

    • Enter the time in MS (2000 ms = 2 seconds).

  2. To get the owner of a file enter the Owner Content Type Mapping field.

    • Formatted like SharePoints internal naming conventions. Content_x0020_Owner

  3. Limit the content per request to reduce timeouts.

    • By lowering the Content Limit Per Request more requests will run but each run will be quicker.

  4. Set a timeout value for all requests made to Sharepoint.

    • Enter a CSOM value into the SharePoint Client Context Timeout.

    • By default this is set to -1.5.

  5. If Chromium has been manually deployed enter the full path including chrome.exe into Path to Chromium.

    • If this field is left black it will be downloaded once.

  6. Within Path to SharePoint Online enter the path to your preferred cookie authentication utility.

    • This will handle authentication when processing ASPX pages.

    • You must explicitly enter the full path including the .exe.

    • If this field is left blank Default utils install locations will be used.

Advanced Options

  1. Process without Delta Tokens - Check this to NOT use the library delta tokens.

    • This will do a reprocess of the full library at every crawl and can be enabled to sync an index. All documents will be retrieved from the library, regardless of changes. However, only necessary changes will be made to your index.

      • If this is not checked, only the changes since the last change token will be retrieved from the library. Likewise only the necessary changes will be made to your index.

    • To use SharePoint change tokens to enable delta crawls uncheck this option.

  2. Permission-less Crawl - Check this to NOT retrieve document permissions from SharePoint.

    • All documents will be set to the defined permission groups.

  3. Do Permissions Check - Check to test all the document permissions.

  4. Get Permissions In Bulk - Check to gather all document permissions for everything in a library at once.

    • The higher the document count the more memory intensive it will be.

    • Not retrieving the permissions in bulk will mean a permission request for every file indexed. This can get you rate limited by SharePoint if many requests are sent in quick succession.

  5. Build Site Caches - Check to build a cache of all users with access to a site.

    • If unchecked validation will be processed with each document.

  6. Include OneDrives - Check this to process OneDrives and sites.

  7. Do Metadata/Entity Update - Check to reprocess all entity or metadata mappings at crawl.

    • This should only be enabled when a field of column has been deleted.

    • Note files updated will need to go through enrichment again after the crawl.

  8. Generate Edit in Browser Link - Check to generate an Open In browser app as default (SP Online only).

  9. Generate Open in App Link (MS Office docs only) - Check to generate an Open In link as SharePoint does.

    • For example, Open in word on the Users Machine (SP Online).

    • This will override the open in browser option.

Last updated