Unable to access Azure OpenAI from AI project

Luca Pio Miano 0 Reputation points
2025-05-05T18:08:27.45+00:00

Hello,

I've been trying to access my azure OpenAI resources from an Azure AI project in the Agents section but i always get this error when i try to load the resources.

Unable to access your agents Public access is disabled in the AI Service. Please open and configure a private endpoint connection. Learn more

I've also tried to setup the Azure AIHub where the project is deployed by enabling the managed virtual network option and creating a private endpoint for the OpenAI resource but i still get the error.

Apparently the OpenAI resource is correctly connected, i can clearly see the models deployed into it and if i try to open the chat and ask something to one of the models from the Playground section inside the AI Project everything works fine, the only problem is for the Agents section.

Any ideas?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,409 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luca Pio Miano 0 Reputation points
    2025-05-06T08:30:31.8066667+00:00

    Hi @Prashanth Veeragoni ,

    Thank you for your answer.

    I carely realized all of the steps you suggested:

    I've recreated an Azure AIHub resource with Managed VNet enabled and created a private endpoint pointing to the OpenAI resource inside Managed VNet.

    I've also created a private endpoint for Azure OpenAI resource inside my VNet as well as disabling public access.

    I've also tested the DNS resolution from inside a VM inside the same VNet but I'm still having the same issue trying to connect from AI Project Agents section.

    I still cannot see how to put the AI Project resource inside the same VNet of the OpenAI private endpoint, the one that I've created, not the Managed one. There is no such option

    Any ideas?

    Luca


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.