An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
The authentication scope must be corrected. A WebSocket endpoint on the Azure OpenAI resource domain uses the Azure Cognitive Services token audience, not the Azure AI Foundry audience. Request the Cognitive Services default scope and ensure the identity has Cognitive Services OpenAI User access on the Azure OpenAI resource. For the GA Realtime API, use the /openai/v1/realtime path and pass the custom deployment name in the model query parameter. Do not combine that path with the preview api-version and deployment query format. Also verify the deployment is a supported realtime model and deployment type in a supported region. A one-time server-side test with the resource key can isolate RBAC from endpoint or deployment problems. If the corrected handshake still returns HTTP 500 before a session is created, record the UTC time, response headers, request or correlation ID, deployment name, and region, then open Azure Support because service-side logs are required.