PRODUCTION SCENARIO
A Generative AI Engineer deploys an agent that works in the notebook, but every request then fails with a permission error when it queries the Vector Search index. The engineer who deployed it holds SELECT on that index.
What should the engineer check first?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: Whether the agent was logged with the index declared in its resources
Automatic authentication passthrough is configured at logging time by listing Databricks resources such as the serving endpoint and Vector Search index in the resources parameter, so a deployed agent that cannot authenticate was usually logged without them. Sizing, sync mode, and package pins do not grant credentials.