Hi Edward,
Check that the API Key Authentication for the resource is not disabled:
Disable API key authentication
Connect to Azure AI Search using key authentication
If this is helpful please accept answer.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Calling client.chat.completions.create reports an error openai.PermissionDeniedError: Error code: 403 - {'error': {'code': 'AuthenticationTypeDisabled', 'message': 'Key-based authentication is disabled for this resource. '}}
Hi Edward,
Check that the API Key Authentication for the resource is not disabled:
Disable API key authentication
Connect to Azure AI Search using key authentication
If this is helpful please accept answer.