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 Answer
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
EXPERT
Matt-B
answered 20 days ago
  • 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 ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions