<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to authenticate Vector Search Retriever Tool in Databricks AI Agent App? in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/how-to-authenticate-vector-search-retriever-tool-in-databricks/m-p/132793#M1163</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/119110"&gt;@atharvaghodekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;AI agents support 3&amp;nbsp;authentication methods:&lt;/P&gt;&lt;P&gt;- automatic authentication passthrough&lt;/P&gt;&lt;P&gt;-&amp;nbsp; on-behalf-of-use authentication (OBO)&lt;/P&gt;&lt;P&gt;- manual authentication&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In case of&amp;nbsp;manual authentication you need to explicitly provide credentials using environment variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With OBO, agent runs with the permissions of the end user making the request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And automatic authentication passthrough let agent run with the permissions of the user who deployed it. (But not all resources supports this authentication methods).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For more details check following docs page. There's an example of how to authenticate to&amp;nbsp;Vector Search Retriever Tool using OBO authentication:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/generative-ai/agent-framework/agent-authentication#on-behalf-of-user-authentication" target="_blank"&gt;Authentication for AI agents - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 07:33:50 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2025-09-23T07:33:50Z</dc:date>
    <item>
      <title>How to authenticate Vector Search Retriever Tool in Databricks AI Agent App?</title>
      <link>https://community.databricks.com/t5/generative-ai/how-to-authenticate-vector-search-retriever-tool-in-databricks/m-p/132785#M1162</link>
      <description>&lt;P&gt;I’m getting the following error while building a Databricks AI Agent app:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;databricks.vector_search.exceptions.InvalidInputException: Please specify either personal access token or service principal client ID and secret.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;My code looks like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;vector_search_tools = [ VectorSearchRetrieverTool( index_name=&lt;SPAN class=""&gt;"vs_endpoint"&lt;/SPAN&gt; ) ]&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I tried passing a Databricks PAT token, but I still see the same error. Do I need to provide a client ID and secret as well? From my understanding, the service principal for app is Databricks-managed and created automatically—so how can I get the credentials?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 06:00:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/how-to-authenticate-vector-search-retriever-tool-in-databricks/m-p/132785#M1162</guid>
      <dc:creator>atharvaghodekar</dc:creator>
      <dc:date>2025-09-23T06:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to authenticate Vector Search Retriever Tool in Databricks AI Agent App?</title>
      <link>https://community.databricks.com/t5/generative-ai/how-to-authenticate-vector-search-retriever-tool-in-databricks/m-p/132793#M1163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/119110"&gt;@atharvaghodekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;AI agents support 3&amp;nbsp;authentication methods:&lt;/P&gt;&lt;P&gt;- automatic authentication passthrough&lt;/P&gt;&lt;P&gt;-&amp;nbsp; on-behalf-of-use authentication (OBO)&lt;/P&gt;&lt;P&gt;- manual authentication&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In case of&amp;nbsp;manual authentication you need to explicitly provide credentials using environment variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With OBO, agent runs with the permissions of the end user making the request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And automatic authentication passthrough let agent run with the permissions of the user who deployed it. (But not all resources supports this authentication methods).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For more details check following docs page. There's an example of how to authenticate to&amp;nbsp;Vector Search Retriever Tool using OBO authentication:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/generative-ai/agent-framework/agent-authentication#on-behalf-of-user-authentication" target="_blank"&gt;Authentication for AI agents - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 07:33:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/how-to-authenticate-vector-search-retriever-tool-in-databricks/m-p/132793#M1163</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-09-23T07:33:50Z</dc:date>
    </item>
  </channel>
</rss>

