Question 1
An externally accessible Copilot Studio agent uses an Azure AI Search index containing public manuals and confidential contracts. Authorized staff must still retrieve the contracts, but anonymous or unauthorized users must only obtain public material. The agent must not use a shared service identity to bypass each caller's entitlement. Which implementation decision best meets both needs?
Explanation
Correct Answer
The native Copilot Studio Azure AI Search knowledge connection is not delegated and has no built-in per-caller security trimming. To safely mix public and restricted content, use a trusted authenticated retrieval layer that verifies caller permissions and filters indexed documents BEFORE giving snippets to the agent; fail closed for missing identities. Validate anonymous and authorized paths.
Incorrect Answers
A shared retrieval credential can query protected content independently of the caller. Relevance ranking does not enforce the contract-level authorization required by the scenario.
An untrusted prompt value can be forged. The retrieval service must derive and enforce permissions from a validated caller identity rather than trusting user-supplied department text.
Filtering citations after retrieval does not prevent protected content from entering model context or influencing output. The result set itself must be security trimmed before it reaches the agent.