After creating a new resource for Azure OpenAI service , We ran into this error not able to access OpenAI via api_key and endpoint (private) due to the error message indicates that access is denied due to Virtual Network/Firewall rules.
How can we ensure that our Databricks cluster has the necessary network permissions to access the Azure OpenAI service?
We would be gladly appreciated for detailed instruction how to make sure
- Databricks cluster is configured to allow outbound traffic to the Azure OpenAI endpoint.
- The necessary firewall rules are set up to permit this traffic.
- The Azure OpenAI service is configured to accept requests from your Databricks cluster's IP address or virtual network.
Exact error : PermissionDeniedError: Error code: 403 - {'error': {'code': '403', 'message': 'Access denied due to Virtual Network/Firewall rules.'}}