To connect KAI with Microsoft Sharepoint, we use Microsoft Graph API
Need : your Microsoft Azure Tenant Administrator
https://learn.microsoft.com/en-us/graph/auth-register-app-v2arrow-up-right
https://learn.microsoft.com/en-us/graph/auth-register-app-v2#option-2-add-a-client-secretarrow-up-right
https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=httparrow-up-right
here scopes needed :
Files.Read.All [application permission]
Group.Read.All [application permission]
https://learn.microsoft.com/fr-fr/sharepoint/dev/sp-add-ins-modernize/understanding-rsc-for-msgraph-and-sharepoint-onlinearrow-up-right
example : if your sharepoint url look like this : https://contoso.sharepoint.com/sites/Tech
Your sharepoint host is : contoso.sharepoint.com
Example : if your sharepoint url look like this : https://contoso.sharepoint.com/sites/Tech
Your sharepoint site name is : Tech
Assuming you would like to index the folder "Process" into "HR" folder for the site "Tech"
your sub folder value will be : HR/Process
Take care about capital letters if you have it
Assuming you want to index documents from another documents library than the default one, your library name will be the name of the library itself
Final output :
tenant id : the tenant id of your Microsoft Azure tenant where is linked to your Microsoft Sharepoint
client id : application client id of the app registration
client secret : secret key generated during the phase 2 of your app registration
sharepoint host : the sharepoint host of your Microsoft Sharepoint
sharepoint site name : the sharepoint site retrieved on phase 6
(optional) subfolder : the subfolder retrieved on phase 7
(optional) libraryname : the name of the library retrieved on phase 8
Last updated 1 month ago