Azure OpenAI Troubleshooting

Posted by John Liu on Monday, June 5, 2023

Access denied due to Virtual Network/Firewall rules

When making calls to your OpenAI deployed model, you may receive following error: “Access denied due to Virtual Network/Firewall rules.”

As the error message suggested, check the “Firewalls and virtual networks” setting for you Azure OpenAI in Azure Portal under “Resource Management” –> “Networking”.

If the firewalls are configured for “Selected Networks and Private Endpoints”, make sure the IP address of you current computer is allowed to access the network. If not, tick the checkbox “Add your client IP address…” and save the setting.