The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
That error code isn't in the official docs — it's a hard failure at the federation layer, not the usual "silent no-results" case. Since it fails on every query regardless of content, most likely causes, in order:
- Auth mode vs. Tenant graph grounding mismatch — the semantic-index search path needs "Authenticate with Microsoft." If you're on manual auth with that setting on (or mismatched), federation fails outright. Check Settings → Generative AI vs. Settings → Security → Authentication.
- Missing Graph scopes (manual auth only) — confirm
Sites.Read.AllandFiles.Read.Allare granted and consented on the app registration. - Restricted SharePoint Search enabled tenant-wide — blocks federation regardless of agent config. Check with your SharePoint admin.
- Stale source link — if the site was renamed/moved, remove the source and re-add using a fresh URL.
- Possible backend issue — there's a currently open, Microsoft-acknowledged issue with SharePoint knowledge source federation/auth failures (raised via ICM, no public advisory number published). If none of the above fixes it, worth opening a ticket with the exact timestamp and conversation ID.
https://community.powerplatform.com/forums/thread/details/?threadid=4cacf705-5c37-f111-88b5-000d3a54c279
Can you confirm: Authenticate with Microsoft or manual? Tenant graph grounding on/off? And roughly when this started?