SharePoint connector
V1.0
SharePoint is a collaborative website building service that you can use to customize web content and create pages, sites, document libraries, and lists. If you are a SharePoint user, you can use Amazon Kendra to index your SharePoint data source.
Note
SharePoint connector V1.0 / SharePointConfiguration API ended in 2023. We recommend migrating to or using SharePoint connector V2.0 / TemplateConfiguration API.
For troubleshooting your Amazon Kendra SharePoint data source connector, see Troubleshooting data sources.
Supported features
-
Field mappings
-
User access control
-
Inclusion/exclusion filters
-
Change log
-
Virtual private cloud (VPC)
Prerequisites
Before you can use Amazon Kendra to index your SharePoint data source, make these changes in your SharePoint and AWS accounts.
You are required to provide authentication credentials, which you securely store in an AWS Secrets Manager secret.
Note
We recommend that you regularly refresh or rotate your credentials and secret. Provide only the necessary access level for your own security. We do not recommend that you re-use credentials and secrets across data sources, and connector versions 1.0 and 2.0 (where applicable).
In SharePoint, make sure you have:
-
Noted the URL of the SharePoint sites you want to index.
-
For SharePoint Online:
-
Noted your basic authentication credentials containing a user name and password with site admin permissions.
-
Optional: Generated OAuth 2.0 credentials containing a user name, password, client ID, and client secret.
-
Deactivated Security Defaults in your Azure portal using an administrative user. For more information on managing security default settings in the Azure portal, see Microsoft documentation on how to enable/disable security defaults
.
-
-
For SharePoint Server:
-
Noted your SharePoint Server domain name (the NetBIOS name in your Active Directory). You use this, along with your SharePoint basic authentication user name and password, to connect SharePoint Server to Amazon Kendra.
Note
If you use SharePoint Server and need to convert your Access Control List (ACL) to email format for filtering on user context, provide the LDAP server URL and LDAP search base. Or you can use the directory domain override. The LDAP server URL is the full domain name and the port number (for example, ldap://example.com:389). The LDAP search base are the domain controllers 'example' and 'com'. With the directory domain override, you can use the email domain instead of using LDAP server URL and LDAP search base. For example, the email domain for username@example.com is 'example.com'. You can use this override if you aren't concerned about validating your domain and simply want to use your email domain.
-
-
Added the following permissions to your SharePoint account:
For SharePoint lists
-
Open Items—View the source of documents with server-side file handlers.
-
View Application Pages—View forms, views, and application pages. Enumerate lists.
-
View Items—View items in lists and documents in document libraries.
-
View Versions—View past versions of a list item or document.
For SharePoint websites
-
Browse Directories—Enumerate files and folders in a website using SharePoint Designer and Web DAV interface.
-
Browse User Information—View information about users of the website.
-
Enumerate Permissions—Enumerate permissions on the website, list, folder, document, or list item.
-
Open—Open a website, list, or folder to access items inside the container.
-
Use Client Integration Features—Use SOAP, WebDAV, the client object model, or SharePoint Designer interfaces to access the website.
-
Use Remote Interfaces—Use features that launch client applications.
-
View Pages—View pages on a website.
-
-
Checked each document is unique in SharePoint and across other data sources you plan to use for the same index. Each data source that you want to use for an index must not contain the same document across the data sources. Document IDs are global to an index and must be unique per index.
In your AWS account, make sure you have:
-
Created an Amazon Kendra index and, if using the API, noted the index ID.
-
Created an IAM role for your data source and, if using the API, noted the ARN of the IAM role.
Note
If you change your authentication type and credentials, you must update your IAM role to access the correct AWS Secrets Manager secret ID.
-
Stored your SharePoint authentication credentials in an AWS Secrets Manager secret and, if using the API, noted the ARN of the secret.
Note
We recommend that you regularly refresh or rotate your credentials and secret. Provide only the necessary access level for your own security. We do not recommend that you re-use credentials and secrets across data sources, and connector versions 1.0 and 2.0 (where applicable).
If you don’t have an existing IAM role or secret, you can use the console to create a new IAM role and Secrets Manager secret when you connect your SharePoint data source to Amazon Kendra. If you are using the API, you must provide the ARN of an existing IAM role and Secrets Manager secret, and an index ID.
Connection
instructions
To connect Amazon Kendra to your SharePoint data source you must provide details of your SharePoint credentials so that Amazon Kendra can access your data. If you have not yet configured SharePoint for Amazon Kendra see Prerequisites.
To connect Amazon Kendra to SharePoint
-
Sign in to the AWS Management Console and open the Amazon Kendra console
. -
From the left navigation pane, choose Indexes and then choose the index you want to use from the list of indexes.
Note
You can choose to configure or edit your User access control settings under Index settings.
-
On the Getting started page, choose Add data source.
-
On the Add data source page, choose SharePoint connector v1.0, and then choose Add data source.
-
On the Specify data source details page, enter the following information:
-
In Name and description, for Data source name—Enter a name for your data source. You can include hyphens but not spaces.
-
(Optional) Description—Enter an optional description for your data source.
-
In Default language—Choose a language to filter your documents for the index. Unless you specify otherwise, the language defaults to English. Language specified in the document metadata overrides the selected language.
-
In Tags, for Add new tag—Include optional tags to search and filter your resources or track your AWS costs.
-
Choose Next.
-
-
On the Define access and security page, enter the following information:
-
For Hosting method—Choose between SharePoint Online and SharePoint Server.
-
For SharePoint Online—Enter the Site URLs specific to your SharePoint repository.
-
For SharePoint Server—Choose your SharePoint version, enter Site URLs specific to your SharePoint repository, and enter the Amazon S3 path to your SSL certificate location.
-
-
(SharePoint Server only) For Web proxy—Enter the Host name and Port number of your internal SharePoint instance. The port number should be a numeric value between 0 and 65535.
-
For Authentication—Choose between the following options based on your use case:
-
For SharePoint Online—Choose between Basic authentication and OAuth 2.0 authentication.
-
For SharePoint Server—Choose between None, LDAP, and Manual.
-
-
For AWS Secrets Manager secret—Choose an existing secret or create a new Secrets Manager secret to store your SharePoint authentication credentials. If you choose to create a new secret an AWS Secrets Manager secret window opens. You must enter a Secret name. The prefix ‘AmazonKendra-SharePoint-’ is automatically added to your secret name.
-
Enter following other information in the Create an AWS Secrets Manager secret window:
-
Choose from the following SharePoint Cloud authentication options, based on your use case:
-
Basic authentication—Enter your SharePoint account user name as User name and SharePoint account password as Password.
-
OAuth 2.0 authentication—Enter your SharePoint account user name as User name, SharePoint account password as Password, your auto-generated unique SharePoint ID as Client ID, and the shared secret string used by both SharePoint and Amazon Kendra as Client secret.
-
-
Choose from the following SharePoint Server authentication options, based on your use case:
-
None—Enter your SharePoint account user name as User name, your SharePoint account password as Password, and your Server Domain Name.
-
LDAP—Enter your SharePoint account user name as User name, SharePoint account password as Password, your LDAP Server Endpoint (including protocol and port number, for example
ldap://example.com:389
), and your LDAP Search Base (for example,dc=example, dc=com
). -
Manual—Enter your SharePoint account user name as User name, your SharePoint account password as Password, and your Email Domain Override (email domain of directory user or group).
-
-
Choose Save.
-
-
Virtual Private Cloud (VPC)— You must also add Subnets and VPC security groups.
Note
You must use a VPC if you use SharePoint Server. Amazon VPC is optional for other SharePoint versions.
-
IAM role—Choose an existing IAM role or create a new IAM role to access your repository credentials and index content.
Note
IAM roles used for indexes cannot be used for data sources. If you are unsure if an existing role is used for an index or FAQ, choose Create a new role to avoid errors.
-
Choose Next.
-
-
On the Configure sync settings page, enter the following information:
-
Use Change log—Select to update your index instead of syncing all your files.
-
Crawl attachments—Select to crawl attachments.
-
Use local group mappings—Select to make sure that documents are properly filtered.
-
Additional configuration—Add regular expression patterns to include or exclude certain files. You can add up to 100 patterns.
-
In Sync run schedule for Frequency—How often Amazon Kendra will sync with your data source.
-
Choose Next.
-
-
On the Set field mappings page, enter the following information:
-
Amazon Kendra default field mappings—Select from the Amazon Kendra generated default data source fields you want to map to your index.
-
For Custom field mappings—Add custom data source fields to create an index field name to map to and the field data type.
-
Choose Next.
-
-
On the Review and create page, check that the information you have entered is correct and then select Add data source. You can also choose to edit your information from this page. Your data source will appear on the Data sources page after the data source has been added successfully.
Learn more
To learn more about integrating Amazon Kendra with your SharePoint data source, see: