Hi there ******@cargas.com
Thanks for using QandA platform
With the SharePoint URL if it ends in .aspx
, it’s pointing to a web page, not the actual document library drive. AI Search expects a URL to the drive, not the site UI.
try this:
Open the document library in SharePoint.
- open Library settings.
Then look at the URL — it should include /sites/[sitename]/_layouts/15/start.aspx#/Shared Documents
, etc.
Replace that with: https://[tenant].sharepoint.com/sites/[sitename]/_api/v2.0/sites/[site-id]/drives
You’ll need the driveId from there and use it in the data source.
Also, confirm the app has access to the exact document library not juz site]
If this helps kindly comment if answer helps. thanks much.