Least-privilege SharePoint access for AI indexers: Microsoft Graph Sites.Selected in practice

An AI assistant that answers from SharePoint needs two identities: an indexer that reads documents on a schedule with nobody signed in, and an answering service that acts for the person asking. Vendors often request the tenant-wide application permission Sites.Read.All, which makes their setup easier but is not a technical requirement of the indexer. This technical note summarises, from Microsoft documentation and from the indexer we run, how the indexer can be limited to named sites with Microsoft Graph Sites.Selected and the read role, why the answering service should never hold the indexer's credential (certificate in Azure Key Vault, temporary grant app removed after use), and how an administrator can check that a site outside the list is really denied. Full article with all citations: https://ksj.lv/en/sharepoint-ai-indexer-permissions-sites-selected/

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-10-29
DOI
https://doi.org/10.5281/zenodo.23757727
Primary Topic
Access Control and Trust
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Least-privilege SharePoint access for AI indexers: Microsoft Graph Sites.Selected in practice

Kaspars Jurjāns
1 links
Zenodo (CERN European Organization for Nuclear Research)
Access Control and Trust
article

Least-privilege SharePoint access for AI indexers: Microsoft Graph Sites.Selected in practice

Kaspars Jurjāns
article en

Abstract

An AI assistant that answers from SharePoint needs two identities: an indexer that reads documents on a schedule with nobody signed in, and an answering service that acts for the person asking. Vendors often request the tenant-wide application permission Sites.Read.All, which makes their setup easier but is not a technical requirement of the indexer. This technical note summarises, from Microsoft documentation and from the indexer we run, how the indexer can be limited to named sites with Microsoft Graph Sites.Selected and the read role, why the answering service should never hold the indexer's credential (certificate in Azure Key Vault, temporary grant app removed after use), and how an administrator can check that a site outside the list is really denied. Full article with all citations: https://ksj.lv/en/sharepoint-ai-indexer-permissions-sites-selected/

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 6%
Access Control and Trust
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon