Trouble with Amazon Q data sources

0

Hello to you guys ! I'm facing a little problem with the configuration of Q, so I created a Q app in order to fetch datas from sharepoint like "where is this file" and Q will tell you "it is in this folder blablabla" Here is the app settings Here is the datasource details

So i have deployed this, and wanted to try the web experience preview, but when i do, it says that there is no sources which I don't understand why since the source is active. Now I know it's says the last sync is failed, here is the error message : which is weird since we don't use username.

So if you guys could help me out :D thanks a bunch have a good day

1개 답변
0

Hi THere

How did you setup the authentication to SharePoint? Are you trying to use Basic Authentication, OAuth, SharePoint App authentication?

If using Basic Auth, you need to specify a Username and Password either in the connector wizard, or if you are using your own secret from Secrets Manager, it needs to have the appropriate Secret Keys (userName and password - both case sensititive)

https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/sharepoint-cloud-console.html

Enter image description here

Enter image description here

profile pictureAWS
전문가
Matt-B
답변함 한 달 전
  • OAuth2.0 still requires username and password.

    OAuth 2.0 authentication – Username and password used to connect to SharePoint Online, and the Client ID and Client secret generated when you register SharePoint with Azure AD.

  • Hi Matt, thanks for your answer. We actually use Oath2 for authentication which is why i don't understand the error about the username. In the secret manager we got all the infos needed (listed here : https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/sharepoint-cloud-console.html > Oath2) but it is still not working

  • In the secret manager we got all the infos needed (listed here : https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/sharepoint-cloud-console.html > Oath2) but it is still not working. for more infos we got an enterprise app that is sharepoint online on azure entra from which we registered an app in which we get secrets : clientid and secretid. And the username and password from a designated user on sharepoint.

  • Hi, sorry can you clarify, do you have the following info in your AWS Secrets Manager secret? Please not the case as they may be case sensitive.

    userName password clientId clientSecret

  • I think it is ok ?

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠