내용으로 건너뛰기

Error Syncing SharePoint Data Source with Amazon Bedrock Knowledgebase

0

Hello, I am trying to add SharePoint as a data source for the Amazon Bedrock Knowledgebase. I have followed all the configuration steps mentioned in the official documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/sharepoint-data-source-connector.html

Error I encountered: After adding SharePoint as a data source in the knowledgebase, when I click "Sync," I receive the following error:

Sync failed for data source - 'knowledge-base-xxxx-start-xxxxx-data-source' ["Failed to connect to the URL of your data source. Please check the URL, access permissions, and data source configuration. See docs with information on all requirements to connect to your selected data source: https://docs.aws.amazon.com/bedrock/latest/userguide/data-source-connectors.html"]

URL Provided: https://xx1234.sharepoint.com/sites/Quiz_Knowledgebase/

I would appreciate any advice on resolving this issue. Thanks in advance!

Cheers, Muna

1개 답변
2
수락된 답변

Hi,

Often the auths part is source of issue. Did you validate all points below in the page that you point:

(For OAuth 2.0 authentication) Copy your Microsoft 365 tenant ID. You can find your tenant ID in the 
Properties of your Azure Active Directory portal or in your OAuth application.

Take note of the username and password of the admin SharePoint account, and copy the 
client ID and client secret value when registering an application.

Note
For an example application, see Register a client application in Microsoft Entra ID (formerly 
known as Azure Active Directory) on the Microsoft Learn website.

Certain read permissions are required to connect to SharePoint when you register an application.

SharePoint: AllSites.Read (Delegated) – Read items in all site collections

You might need to turn off Security Defaults in your Azure portal using an admin user. For more 
information on managing security default settings in the Azure portal, see Microsoft documentation on 
how to enable/disable security defaults.

You might need to turn off multi-factor authentication (MFA) in your SharePoint account, so that Amazon 
Bedrock is not blocked from crawling your SharePoint content.

Best,

Didier

전문가

답변함 2년 전

전문가

검토됨 2년 전

전문가

검토됨 2년 전

전문가

검토됨 2년 전

  • Hello @Didier_Durand Sir, thank you for the suggestions. I've made the following changes as recommended:

    • Turned off Security Defaults in Azure AD to allow access from the SharePoint Admin account.
    • Granted the AllSites.Read permission (delegated) to read items across site collections from the SharePoint admin account.
    • Also disabled Multi-Factor Authentication (MFA) for the SharePoint admin account.

    However, I am still encountering the same error when attempting to sync.

    Error Message:

    "Sync failed for data source - 'knowledge-base-xxxx-start-xxxx-data-source' ["Failed to connect to the URL of your data source. Please check the URL, access permissions, and data source configuration. See docs with information on all requirements to connect to your selected data source: https://docs.aws.amazon.com/bedrock/latest/userguide/data-source-connectors.html"] 
    

    Any further advice on what might be causing this issue would be greatly appreciated.

    Thanks!

  • Hi, I would now that you checked all this to open a Support ticket via the console of your AWS Account to get deeper assistance on service internals.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠