Forum Discussion

henry_coding101's avatar
henry_coding101
Copper Contributor
Sep 26, 2024

Peering Virtual Network Access to OpenAI resources?

In tenant A, I have an existing OpenAI resource that is set to only be accessible from a virtual network, in which a VM rests in place.


The VM can connect to the OpenAI resource successfully.

 

Now to access other OpenAI resources from another tenant B, I have added a peering connection to connect the virtual network of the OpenAI resources from tenant B with the virtual network in tenant A. (the typical 10.0.0.0-10.1.0.0 example)

 

But when trying to call the API endpoint in the VM using REST or JavaScript SDK, 403 error occurs: "Access denied due to Virtual Network/Firewall rules"

 

The peering network is confirmed to be successfully through the network interface of the VM.

 

 

Is linking to Azure OpenAI resources like this possible, or do we have to use a private endpoint?

 

No RepliesBe the first to reply

Resources