Hi @atharvaghodekar ,
AI agents support 3 authentication methods:
- automatic authentication passthrough
- on-behalf-of-use authentication (OBO)
- manual authentication
In case of manual authentication you need to explicitly provide credentials using environment variables.
With OBO, agent runs with the permissions of the end user making the request.
And automatic authentication passthrough let agent run with the permissions of the user who deployed it. (But not all resources supports this authentication methods).
For more details check following docs page. There's an example of how to authenticate to Vector Search Retriever Tool using OBO authentication:
Authentication for AI agents - Azure Databricks | Microsoft Learn