Thanks Paolo, really appreciate the clear breakdown.
You are right, using a Tool works from an authentication perspective. However, in my scenario I rely heavily on the native NL to query behavior of Knowledge Sources. If I move everything to a Tool, I lose that automatic query generation capability, which is core to my use case.
So I would like to better understand workaround 2 and 3.
Regarding Azure AI Search (Workaround 2)
My data is not unstructured text.
It is structured product specifications stored in tables.
Example user query:
Give me 10 products from category X where price is under 5 euro.
In my current setup, the idea is that the agent generates a query against structured data to retrieve exact matches.
If I index the table into Azure AI Search:
-
Would this still support structured filtering like price < 5 and category = X reliably?
-
Or would I effectively lose deterministic query behavior and move into semantic retrieval instead of structured querying?
In other words, can Azure AI Search fully replace NL to SQL style structured querying in this scenario, or is it mainly suited for text search + filters on indexed fields?
Regarding Custom Connector (Workaround 3)
If I build a custom connector that authenticates with a service account can this actually be used as a Knowledge Source? Or will it again only be usable as a Tool?
If it can only be exposed as a Tool, then we are back to losing Knowledge NL to query behavior.
Also, is there any supported way to redirect or bypass the FederatedKnowledgeSearchOperation consent flow and delegate authentication to a tool layer instead?
Thanks again for the guidance.