-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project?Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of serviceand privacy statement.We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Kendra] sharepoint datasource (AZURE_AD Authentication) fails in data_source_sync_job #4267
Comments
Thanks for reaching out. Thecreate_data_sourcecommand makes a call to the underlyingCreateDataSource API,so this is an issue with the Kendra service API rather than the SDK. I can confirm that for |
Thanks@tim-finnigan |
Thanks for following up — I'm still waiting for more information from the Kendra team but will share any updates in this issue. |
It looks like the issue is that you need to specify v2 in your template: can you try configuring the v2 connector configuration? See documentation below: |
I did not use the Template configuration object.
and SharePointConfiguration with type as below.
If these are no longer supported and it is expected to use the TemplateConfiguration, the boto3 docs should clearly state that, with a working example. |
Thanks for following up, I'm trying to get more information from the Kendra service team regarding the documentation and recommended guidance here. |
@tim-finnigan,I was able to figure out a way to workaround the Kendra bugs and get a working version of sharepoint with TemplateConfiguration. |
Thanks for following up again. Boto3-specific examples could also be added here:https://boto3.amazonaws /v1/documentation/api/latest/guide/examples.html,or here in the Kendra Developer Guide:https://docs.aws.amazon /kendra/latest/dg/gs- Python.html.What is the documentation change that you were planning to submit? |
Describe the bug
[Kendra]
Want to understand if the AZURE_AD authentication option is supported by below versions of boto3.
boto3==1.35.16
botocore==1.35.16
The document states it supports only HTTP_BASIC | OAUTH2 perhttps://boto3.amazonaws /v1/documentation/api/latest/reference/services/kendra/client/create_data_source.html
But, when I use the code, it states AZURE_AD also as a valid option.
If it is supported, why is the sync failing?
Below attached code snippets to reproduce the failure.
Expected Behavior
If AZURE_AD authentication is supported, the sync should succeed.
Manually creating datasource and syncing from Kendra UI for the AZURE AD type authentication is working as expected.
Current Behavior
[Kendra]
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.35.16
Environment details (OS name and version, etc.)
Mac OS
The text was updated successfully, but these errors were encountered: