Has anyone used Azure AI Foundry to create an agent with own data

Soren Frederiksen 0 Reputation points
2025-06-14T17:17:30.87+00:00

I am trying to setup the simplest possible agent and give it just a single research paper as a Data Source.

After 3 hours of understanding the permissions, I finally got the Azure AI Search connected.

Each time I now try this in the playground, I get this

Azure AI Foundry | gpt-4.1

The requested information is not available in the retrieved data. Please try another query or topic.

Is there a simple, good tutorial that shows how to get the agents working in Azure Foundry with datasources or tools

I can't get the templates working

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,331 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manas Mohanty 5,110 Reputation points Microsoft External Staff Moderator
    2025-06-16T21:11:55.8566667+00:00

    Hi Soren Frederiksen

    Analysis

    The requested information is not available in the retrieved data. Please try another query or topic.

    Above error indicates

    1. Possible indexing issue while creating index or prompts were not helpful.

    You can select all fields and make it retrievable and filterable (not for dictionary /complex types) while creating index on your data

    https://learn.microsoft.com/en-us/azure/search/search-get-started-portal#clean-up-resources

    1. Proper prompting is needed to get desired data,

    You can do a keyword search in AI search first if the results are coming in AI search side. Please modify your prompts like Use the attached document and answer.

    How to

    We just need to add our AI search services or files or any other services in knowledge section of AI agents

    A screenshot showing the available tool categories in the Azure AI Foundry portal.

    A screenshot showing the available knowledge tools in the Azure AI Foundry portal.

    https://learn.microsoft.com/en-us/azure/ai-services/agents/how-to/tools/azure-ai-search?pivot=overview-azure-ai-search&tabs=azurecli

    Please add Search index contributor for AI foundry project on AI search service if you are facing any 403/401 authorization error.

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.