How do I connect a copilot agent to an Azure AI index securely

Shabash, Boris 30 Reputation points
2025-05-04T22:37:49.6733333+00:00

I have an Azure AI Search service, with a networking configuration where only "Selected IP addresses" can connect to it. i.e. it is blocked from public access

I also have copilot agent which I want to integrate to use the vector index from the search service, but it can't connect because of the networking setting

How do I have a copilot agent connect to a secure search service like this?

Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
231 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 21,226 Reputation points Moderator
    2025-05-05T13:10:06.1266667+00:00

    Hello Shabash, Boris,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to know how you can connect a copilot agent to an Azure AI index securely.

    1. In your Copilot agent settings, add the Azure AI Search connector. Provide the necessary details such as the Azure AI Search instance name, index name, vector field, text field, title field, and the API key for authentication - https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-azure-ai-search
    2. To resolve the networking issues, check the following and the associated links for more details. You can do this by setting up inbound rules that list the IP addresses, ranges, or subnets from which requests are admitted and if your Copilot agent is hosted on a specific IP address or within a specific subnet, make sure to add these to the allowed list in your Azure AI Search service's networking settings. - https://learn.microsoft.com/en-us/azure/search/service-configure-firewall
    3. Consider using private endpoints to securely connect your Copilot agent to the Azure AI Search service. - https://learn.microsoft.com/en-us/azure/ai-services/cognitive-services-virtual-networks
    4. Make Copilot agent to properly authenticated and authorized to access the Azure AI Search service. - https://learn.microsoft.com/en-us/azure/ai-services/cognitive-services-virtual-networks

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


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.