Blog Post
Building Permission-Aware Hosted Agents for SharePoint in Foundry Agent Service
Permission-aware retrieval is essential when deploying AI agents over enterprise knowledge. Preserving SharePoint permissions throughout retrieval and response generation can help prevent unauthorized information exposure. I’d be interested in how permission changes and document-level access revocation are handled in real time.
Great question. This pattern retrieves SharePoint content live at query time through the Copilot Retrieval API, using the signed-in user’s identity. It does not copy documents into a separate index, so document and permission changes are evaluated by SharePoint during subsequent retrieval requests.
In practice, after access is revoked, the affected user should no longer receive that document in new grounded responses once the change has propagated through Microsoft 365.